< Home

e-trunk port

Function

The e-trunk port command configures the UDP port number used to send and receive E-Trunk packets.

The undo e-trunk port command restores the default value.

By default, UDP port 1025 is used to send and receive E-Trunk packets.

Only the S5720-EI, S5720-HI, S5720I-SI, S5720S-SI, S5720-SI, S5735-S, S5735S-S, S5735-S-I, S5730-HI, S5730S-EI, S5730-SI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-EI, S6720-HI, S6720-LI, S6720S-EI, S6720S-LI, S6720S-SI, S6720-SI, S6730-H, S6730S-H, S6730-S, and S6730S-S support this command.

Format

e-trunk port port-number

undo e-trunk port

Parameters

Parameter Description Value
port-number

Specifies the UDP port number used to send and receive E-Trunk packets.

If the UDP port number in the range of 1025 to 65535 is used by another protocol, the port number cannot be used to send or receive E-Trunk packets.

NOTE:

UDP port numbers 49152 to 65535 are allocated randomly by the socket. Do not configure the UDP port number in this range; otherwise, the E-Trunk cannot work properly.

The value is an integer that ranges from 1025 to 65535.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

E-Trunk is a Huawei proprietary protocol. UDP port 1025 used to send and receive E-Trunk packets may conflict with the UDP port used by another protocol. To ensure that E-Trunk packets are forwarded correctly, run the e-trunk port command to change the UDP port number used to send and receive E-Trunk packets.

Precautions

The port numbers at both ends of an E-Trunk must be consistent. When the E-Trunk works properly, you must change the UDP port number within the timeout of E-Trunk negotiation.

If you change the UDP port number during E-Trunk running, devices at both ends of an E-Trunk may be unable to communicate. If E-Trunk negotiation times out, both devices in the E-Trunk may become master devices.

Example

# Configure the UDP port number used to send and receive E-Trunk packets.

<HUAWEI> system-view
[HUAWEI] e-trunk port 1026
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >