| Parameter | Description | Value |
|---|---|---|
trunk-id |
Specifies the ID of an Eth-Trunk interface. |
The value ranges from 0 to 63. |
interface interface-type interface-number |
Specifies a member interface of an Eth-Trunk. |
- |
verbose |
Displays detailed information about an Eth-Trunk interface. |
- |
Usage Scenario
After configuring an Eth-Trunk interface on a device, you can run the display eth-trunk command to check whether the configuration of the Eth-Trunk interface is correct.
When using the display eth-trunk command, note that:
If no optional parameter is specified, the configurations of all Eth-Trunk interfaces are displayed.
If trunk-id is specified only, the configuration of a specified Eth-Trunk interface is displayed.
If trunk-id and interface interface-type interface-number are specified, the status of a specified member interface of a specified Eth-Trunk interface is displayed.
If trunk-id is specified and verbose is configured, the detailed configuration of a specified Eth-Trunk interface is displayed, including the statistics about interface traffic.
Prerequisites
The interface specified in this command must be an existing one.
Precautions
If there is a great deal of statistics about traffic on Eth-Trunk interfaces, you are recommended to specify trunk-id or interface interface-type interface-number to filter output information.
# Display the configurations of all Eth-Trunk interfaces.
<sysname> display eth-trunk Eth-Trunk1's state information is: WorkingMode: NORMAL Hash arithmetic: According to flow Least Active-linknumber: 1 Max Bandwidth-affected-linknumber: 8 Operate status: up Number Of Up Port In Trunk: 1 -------------------------------------------------------------------- PortName Status Weight GigabitEthernet0/0/3 Up 1 Eth-Trunk3's state information is: WorkingMode: NORMAL Hash arithmetic: According to flow Least Active-linknumber: 1 Max Bandwidth-affected-linknumber: 8 Operate status: up Number Of Up Port In Trunk: 2 -------------------------------------------------------------------- PortName Status Weight GigabitEthernet0/0/1 Up 1 GigabitEthernet0/0/2 Up 1
# Display the configuration of Eth-Trunk 1 in manual load balancing mode.
<sysname> display eth-trunk 1 Eth-Trunk1's state information is: WorkingMode: NORMAL Hash arithmetic: According to flow Least Active-linknumber: 2 Max Bandwidth-affected-linknumber: 8 Operate status: up Number Of Up Port In Trunk: 2 --------------------------------------------------------------------- PortName Status weight GigabitEthernet0/0/1 Up 1 GigabitEthernet0/0/2 Up 2
Item |
Description |
|---|---|
WorkingMode |
Operating mode of an Eth-Trunk interface
|
Hash arithmetic |
Load balancing mode of an Eth-Trunk interface
|
Least Active-linknumber |
Minimum number of active member links If the number of Eth-Trunk member interfaces that are in the Up state is less than the Least Active-linknumber value, the Eth-Trunk interface goes Down. |
Max Bandwidth-affected-linknumber |
Maximum number of links that affect the actual bandwidth of the Layer-2 Eth-Trunk interface |
Operate status |
Status of an Eth-Trunk interface
|
Number Of Up Port In Trunk |
Number of Up member interfaces in an Eth-Trunk interface |
PortName |
Name of the member interface in an Eth-Trunk interface |
Status |
Status of the member interface in an Eth-Trunk interface
|
Weight |
Weight of the member interface in an Eth-Trunk interface |
<sysname> display eth-trunk 10 Eth-Trunk10's state information is: WorkingMode: BACKUP WorkingState: Master -------------------------------------------------------------------------------- PortName Slave/Master GigabitEthernet 0/0/1 M GigabitEthernet 0/0/2 S
Item |
Description |
|---|---|
WorkingMode |
Operating mode of an Eth-Trunk interface
|
WorkingState |
Status of an Eth-Trunk interface
|
PortName |
Name of the member interface in an Eth-Trunk interface |
Slave/Master |
Status of the member interface in an Eth-Trunk interface
|
# Display the configuration of Eth-Trunk 10 in static LACP mode.
<sysname> display eth-trunk 10 Eth-Trunk10's state information is: Local: LAG ID: 10 WorkingMode: STATIC Preempt Delay: 30 Hash arithmetic: According to flow System Priority: 50 System ID: 00e0-fc7f-7242 Least Active-linknumber: 2 Max Active-linknumber: 8 Operate status: up Number Of Up Port In Trunk: 2 ---------------------------------------------------------------------------------- ActorPortName Status PortType PortPri PortNo PortKey PortState Weight GigabitEthernet 0/0/1 Unselect 1GE 32768 6144 2609 11100010 1 GigabitEthernet 0/0/2 Unselect 1GE 10 6145 2609 11100011 2 GigabitEthernet 0/0/3 Selected 1GE 32768 6146 2609 11111100 1 GigabitEthernet0/0/4 Selected 1GE 10 6147 2609 11111100 1 Partner: ---------------------------------------------------------------------------------- ActorPortName SysPri SystemID PortPri PortNo PortKey PortState GigabitEthernet 0/0/1 0 0000-0000-0000 0 0 0 11100011 GigabitEthernet 0/0/2 0 0000-0000-0000 0 0 0 11100011 GigabitEthernet 0/0/3 12 00e0-fca8-0418 32768 6146 2609 11111100 GigabitEthernet0/0/4 12 00e0-fca8-0418 32768 6147 2609 11111100
# Display the detailed configuration of Eth-Trunk 10 in static LACP mode.
<sysname> display eth-trunk 10 verbose
Eth-Trunk10's state information is: Local: LAG ID: 10 WorkingMode: STATIC Preempt Delay Time: 30 Hash arithmetic: According to flow System Priority: 50 System ID: 00e0-fc7f-7242 Least active-linknumber: 2 Max Active-linknumber: 8 Operate status: up Number Of Up Port in Trunk: 2 ---------------------------------------------------------------------------------- ActorPortName Status PortType PortPri PortNo PortKey PortState Weight GigabitEthernet 0/0/1 Unselect 1GE 32768 6144 2609 11100010 1 GigabitEthernet 0/0/2 Unselect 1GE 10 6145 2609 11100011 2 GigabitEthernet 0/0/3 Selected 1GE 32768 6146 2609 11111100 1 GigabitEthernet0/0/4 Selected 1GE 10 6147 2609 11111100 1 Partner: ---------------------------------------------------------------------------------- ActorPortName SysPri SystemID PortPri PortNo PortKey PortState GigabitEthernet 0/0/1 0 0000-0000-0000 0 0 0 11100011 GigabitEthernet 0/0/2 0 0000-0000-0000 0 0 0 11100011 GigabitEthernet 0/0/3 12 00e0-fca8-0418 32768 6146 2609 11111100 GigabitEthernet0/0/4 12 00e0-fca8-0418 32768 6147 2609 11111100 Flow statistic: Interface GigabitEthernet 0/0/1 Last 300 seconds input rate 0 bits/sec, 0 packets/sec Last 300 seconds output rate 0 bits/sec, 0 packets/sec 34 packets input, 4352 bytes, 0 drops 71 packets output, 9088 bytes, 0 drops Interface GigabitEthernet 0/0/2 Last 300 seconds input rate 0 bits/sec, 0 packets/sec Last 300 seconds output rate 0 bits/sec, 0 packets/sec 12 packets input, 1536 bytes, 0 drops 49 packets output, 6272 bytes, 0 drops Interface GigabitEthernet 0/0/3 Last 300 seconds input rate 0 bits/sec, 0 packets/sec Last 300 seconds output rate 0 bits/sec, 0 packets/sec 11 packets input, 1408 bytes, 0 drops 48 packets output, 6144 bytes, 0 drops Interface GigabitEthernet0/0/4 Last 300 seconds input rate 0 bits/sec, 0 packets/sec Last 300 seconds output rate 0 bits/sec, 0 packets/sec 20 packets input, 2014 bytes, 0 drops 54 packets output, 5321 bytes, 0 drops Interface Eth-Trunk10 Last 300 seconds input rate 0 bits/sec, 0 packets/sec Last 300 seconds output rate 0 bits/sec, 0 packets/sec 77 packets input, 9310 bytes, 0 drops 222 packets output, 26825 bytes, 0 drops
Item |
Description |
|---|---|
Local |
Local Eth-Trunk interface |
LAG ID |
ID of an Eth-Trunk interface in static LACP mode |
WorkingMode |
Operation mode of an Eth-Trunk interface
|
Preempt Delay |
Preemption delay of an Eth-Trunk interface in static LACP mode |
Hash arithmetic |
Load balancing mode of an Eth-Trunk interface
|
System Priority |
System priority of the E-Trunk to which an Eth-Trunk interface in static LACP mode is added |
System ID |
System ID of the E-Trunk to which an Eth-Trunk interface in static LACP mode is added |
Least Active-linknumber |
Minimum number of active member links |
Max Active-linknumber |
Maximum number of active member links |
Operate status |
Status of an Eth-Trunk interface
|
Number Of Up Port In Trunk |
Number of Up member interfaces in an Eth-Trunk interface |
ActorPortName |
Name of the member interface in an Eth-Trunk interface in static LACP mode |
Status |
Status of the member interface in an Eth-Trunk interface
If an Eth-Trunk interface works in static LACP mode and Status is Unselected, no interface is selected as the Eth-Trunk interface's member interface and LACP negotiation fails. If Status of all Eth-Trunk member interfaces is Unselected, it indicates that no member interface is selected in the Eth-Trunk interface in static LACP mode. |
PortType |
Type of the member interface in an Eth-Trunk interface in static LACP mode |
PortPri |
LACP priority of the member interface in an Eth-Trunk interface in static LACP mode |
PortNo |
LACP number of the member interface in an Eth-Trunk interface in static LACP mode |
PortKey |
LACP key of the member interface in an Eth-Trunk interface in static LACP mode |
PortState |
Status variable of the member interface in an Eth-Trunk interface in static LACP mode The status variable is an 8-bit binary number, such as 10111100. The descriptions of each bit are as follows:
|
Weight |
Weight of the member interface in an Eth-Trunk interface |
Partner |
Remote Eth-Trunk interface |
SysPri |
System priority of the E-Trunk to which a remote Eth-Trunk interface in static LACP mode is added |
SystemID |
System ID of the E-Trunk to which a remote Eth-Trunk interface in static LACP mode is added |
Flow statistic |
Statistics about interface traffic |
Last 300 seconds input rate Last 300 seconds output rate |
Indicates the rates at which bytes and packets are sent and received by the interface in the last 300 seconds. The rates are re-calculated in bytes/300s and packets/300s each time the display eth-trunk command is run. |
input |
Total number of packets and bytes received by an interface
NOTE:
The statistics of discarded packets are separately collected. The number of discarded packets is not included in the total number of packets. |
output |
Total number of packets and bytes sent by an interface
NOTE:
The statistics of discarded packets sent by an interface are separately collected. The number of discarded packets is not included in the total number of packets. |