e-trunk port

Function

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

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

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

Format

e-trunk port port-number

undo e-trunk port

Parameters

Parameter Description Value
port port-number

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

The UDP port numbers 49152 to 65535 are allocated randomly by socket. Do not configure the UDP port number in this range in case that it cannot be used by the E-Trunk.

The value is an integer ranging from 1025 to 65535.

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.

Views

System view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
etrunk write

Usage Guidelines

Usage Scenario

An E-Trunk is Huawei-specific. The default UDP port number 1025 used to send and receive E-Trunk packets may conflict with the UDP port number used by another protocol. To ensure the forwarding of E-Trunk packets, run the e-trunk port command to change the UDP port number used to send and receive E-Trunk packets.

Configuration Impact

If you change the UDP port number when E-Trunk is running, the two devices in the E-Trunk may not be able to communicate. If E-Trunk negotiation times out, both devices in the E-Trunk may become master devices.

Precautions

The two devices in an E-Trunk must have the same UDP port number. If you change the UDP port number when E-Trunk is running, complete the change before E-Trunk negotiation times out. After the e-trunk port command is run, the interface number of the E-Trunk is changed, causing E-Trunk re-negotiation.

Example

# Configure a 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 >