The display trunkmembership eth-trunk command displays information about Eth-Trunk member interfaces.
Parameter |
Description |
Value |
---|---|---|
trunk-id |
Specifies the ID of an Eth-Trunk. |
The value is an integer. The value varies according to device model:
On the S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6730-H, S6730S-H, S6730-S, S6730S-S, S6720-EI, and S6720S-EI, you can run the assign trunk command to set the value, and run the display trunk configuration command to check the configuration. |
Usage Scenario
After an Eth-Trunk is successfully configured, you can run the display trunkmembership eth-trunk command to view the configuration of the Eth-Trunk and its member interfaces.
To monitor the status of an interface or locate an interface fault, you can use the display trunkmembership eth-trunk command to view detailed information about an Eth-Trunk and its member interfaces. The command output helps you can troubleshoot faults and check the member interface configuration.
Prerequisites
An Eth-Trunk has been correctly configured. If the Eth-Trunk is not created, the system displays an error when you run the display trunkmembership eth-trunk command.
Precautions
Before running the display trunkmembership eth-trunk command to view the configuration of the Eth-Trunk in LACP mode, ensure that the Eth-Trunk has been configured to work in LACP mode using the mode lacp command.
# Display information about member interfaces of Eth-Trunk 2.
<HUAWEI> display trunkmembership eth-trunk 2 Trunk ID: 2 Used status: VALID TYPE: ethernet Working Mode : Normal Number Of Ports in Trunk = 2 Number Of Up Ports in Trunk = 2 Operate status: up Interface GigabitEthernet0/0/1, valid, operate up, weight=1 Interface GigabitEthernet0/0/2, valid, operate up, weight=1
Item |
Description |
---|---|
Trunk ID |
ID of the Eth-Trunk. |
Used status | Whether the Eth-Trunk is available:
|
TYPE |
Type of an Eth-Trunk. To specify the parameter, run the port link-type command. |
Working Mode |
Working mode of an Eth-Trunk.
To specify the parameter, run the mode command. |
Number Of Ports in Trunk |
Number of interfaces that are added to the Eth-Trunk. |
Number Of Up Ports in Trunk |
Number of Up interfaces that are added to the Eth-Trunk. |
Operate status |
Eth-Trunk status:
|
Interface, valid, operate, weight |
Detailed information about a member interface:
|