e-trunk (Eth-Trunk interface view)

Function

The e-trunk command adds an Eth-Trunk interface to a specified E-Trunk.

The undo e-trunk command removes an Eth-Trunk interface from an E-Trunk.

By default, an E-Trunk does not have any Eth-Trunk interfaces.

Format

e-trunk e-trunk-id [ remote-eth-trunk eth-trunk-id ]

undo e-trunk

Parameters

Parameter Description Value
remote-eth-trunk eth-trunk-id

Specifies the ID of the remote Eth-Trunk interface.

If you want to add Eth-Trunk interfaces with different IDs on two devices to the same E-Trunk, you must specify remote Eth-Trunk IDs for the E-Trunk to work properly.

The value is an integer ranging from 0 to 4294967295.

e-trunk e-trunk-id

Specifies an E-Trunk ID and ID range is customized by product.

The value is an integer ranging from 1 to 512.

Views

Eth-Trunk interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
etrunk write

Usage Guidelines

Usage Scenario

After an E-Trunk is created, run the e-trunk command in the Eth-Trunk interface view to add an Eth-Trunk interface to the E-Trunk so that the E-Trunk takes effect.

Precautions

Only Eth-Trunk interfaces in manual load balancing mode and static Link Aggregation Control Protocol (LACP) mode can be added to an E-Trunk.

Example

# Add Eth-Trunk 40 in static LACP mode to E-Trunk 4.
<HUAWEI> system-view
[~HUAWEI] e-trunk 4
[*HUAWEI-e-trunk-4] quit
[*HUAWEI] interface Eth-Trunk 40
[*HUAWEI-Eth-Trunk40] mode lacp-static
[*HUAWEI-Eth-Trunk40] e-trunk 4
# Add Eth-Trunk 30 in manual load balancing mode to E-Trunk 3.
<HUAWEI> system-view
[~HUAWEI] e-trunk 3
[*HUAWEI-e-trunk-3] quit
[*HUAWEI] interface Eth-Trunk 30
[*HUAWEI-Eth-Trunk30] mode manual load-balance
[*HUAWEI-Eth-Trunk30] e-trunk 3
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >