The display trunkmembership eth-trunk command displays information about trunk member interfaces.
| Parameter | Description | Value |
|---|---|---|
| trunk-id | Specifies the ID of an Eth-Trunk interface. |
The value is an integer ranging from 0 to 63. |
Usage Scenario
After an Eth-Trunk interface is successfully configured, you can run the display trunkmembership eth-trunk command to view the configuration of the Eth-Trunk interface and its member interfaces.
In the scenario where you need 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 interface and its member interfaces. You can troubleshoot the interface and its member interfaces according to the queried information.
Prerequisites
An Eth-Trunk interface is correctly configured. The Eth-Trunk interface must be created in advance; otherwise, the system prompts 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 Eth-Trunk interface in static LACP mode, ensure that the mode lacp-static command has been run in the Eth-Trunk interface view to configure the Eth-Trunk interface to work in static LACP mode.
# Display information about the trunk member interfaces.
<sysname> display trunkmembership eth-trunk 0 Trunk ID: 0 used status: VALID TYPE: ethernet Working Mode : Normal Working State: Normal Number Of Ports in Trunk = 2 Number Of UP Ports in Trunk = 1 Operate status: up Interface GigabitEthernet0/0/1(10G), valid, operate up, weight=1 Interface GigabitEthernet0/0/2, valid, operate down, weight=1
Item |
Description |
|---|---|
Trunk ID |
Eth-Trunk interface number |
used status |
Usage status: valid and invalid |
TYPE |
Trunk type |
Working Mode |
Operation mode of the Eth-Trunk interface:
|
Working State |
Operation status of the Eth-Trunk interface |
Number Of Ports in Trunk |
Number of Eth-Trunk member interfaces |
Number Of UP Ports in Trunk |
Number of Eth-Trunk member interfaces in the Up state |
Operate status |
Status of the Eth-Trunk interface:
|
Interface GigabitEthernet0/0/1(10G) |
Rate of the GE interface that is added to the Eth-Trunk interface: 10 Gbit/s (If the rate is lower than 10 Gbit/s, "(10G)" is not displayed.) |