Parameter | Description | Value |
---|---|---|
trunk-id |
Specifies the ID of an Eth-Trunk interface. |
The Eth-Trunk ID is an integer ranging from 0 to 65535. |
interface-type |
Specifies the type of an interface. |
- |
interface-number |
Specifies the number of an interface. |
- |
interface-name |
Specifies the name of an interface. |
- |
verbose |
Displays detailed Eth-Trunk information. |
- |
brief |
Displays brief Eth-Trunk information. |
- |
Usage Scenario
After configuring an Eth-Trunk interface on a device, you can run the display eth-trunk command to check whether the configurations of the Eth-Trunk interface are correct.
Prerequisites
The interface specified in this command must be an existing one. This ensures that valid entries are displayed after you execute the command.
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display eth-trunk 1 Eth-Trunk1's state information is: WorkingMode: BACKUP WorkingState: Master -------------------------------------------------------------------------------- PortName Slave/Master GigabitEthernet0/1/1 M GigabitEthernet0/1/2 S
<HUAWEI> display eth-trunk 10 verbose Eth-Trunk10's state information is: (h): high priority (r): reference port Local: LAG ID: 10 WorkingMode: STATIC Preempt Delay: 30 Hash Arithmetic: According to flow System Priority: 50 System ID: 00e0-fc12-3457(LOCAL) Least Active-linknumber:2 Max Active-linknumber:32 Operate Status: up Number Of Up Ports In Trunk: 2 Timeout Period: Slow PortKeyMode: Auto -------------------------------------------------------------------------------------- ActorPortName Status PortType PortPri PortNo PortKey PortState Weight GigabitEthernet0/1/1(h) Unselect 1GE 10 6145 2609 11100011 2 GigabitEthernet0/1/3(hr) Selected 1GE 32768 6146 2609 11111100 1 Partner: -------------------------------------------------------------------------------------- ActorPortName SysPri SystemID PortPri PortNo PortKey PortState GigabitEthernet0/1/1 0 00e0-fc12-3459 0 0 0 11100011 GigabitEthernet0/1/3 12 00e0-fc12-3461 32768 6147 2609 11111100
<HUAWEI> display eth-trunk 10 verbose Eth-Trunk10's state information is: (h): high priority (r): reference port Local: LAG ID: 10 WorkingMode: STATIC Preempt Delay Time: 10 Hash arithmetic: According to flow System Priority: 120 System ID: 00e0-fc12-3456 Least Active-linknumber: 1 Max Active-linknumber: 8 Operate status: up Number Of Up Ports In Trunk: 2 Timeout Period: Slow PortKeyMode: Auto ------------------------------------------------------------------------------------ ActorPortName Status PortType PortPri PortNo PortKey PortState Weight GigabitEthernet0/1/2(hr) Selected 1GE 10 262 2609 10111100 1 GigabitEthernet0/1/3(h) Selected 1GE 10 263 2609 10111100 1 GigabitEthernet0/1/4(h) Unselect 1GE 32768 264 2609 10100000 1 Partner: ------------------------------------------------------------------------------------ ActorPortName SysPri SystemID PortPri PortNo PortKey PortState GigabitEthernet0/1/2 32768 00e0-fc12-3460 32768 262 2609 10111100 GigabitEthernet0/1/3 32768 00e0-fc12-3460 32768 263 2609 10111100 GigabitEthernet0/1/4 32768 00e0-fc12-3460 32768 264 2609 10110000 Flow statistic Interface GigabitEthernet0/1/2, Last 300 seconds input rate 32 bits/sec, 0 packets/sec Last 300 seconds output rate 32 bits/sec, 0 packets/sec 148 packets input, 18944 bytes, 0 drops 246 packets output, 31488 bytes, 0 drops Interface GigabitEthernet0/1/3, Last 300 seconds input rate 32 bits/sec, 0 packets/sec Last 300 seconds output rate 32 bits/sec, 0 packets/sec 147 packets input, 18816 bytes, 0 drops 246 packets output, 31488 bytes, 0 drops Interface GigabitEthernet0/1/4, Last 300 seconds input rate 56 bits/sec, 0 packets/sec Last 300 seconds output rate 48 bits/sec, 0 packets/sec 144 packets input, 18432 bytes, 0 drops 174 packets output, 22272 bytes, 0 drops Interface Eth-Trunk10 Last 300 seconds input rate 96 bits/sec, 0 packets/sec Last 300 seconds output rate 96 bits/sec, 0 packets/sec 439 packets input, 56192 bytes, 0 drops 666 packets output, 85248 bytes, 0 drops
<HUAWEI> display eth-trunk 20 verbose Eth-Trunk20's state information is: WorkingMode: NORMAL Hash arithmetic: According to flow Least Active-linknumber: 1 Max Bandwidth-affected-linknumber: 16 Operate status: up Number Of Up Ports In Trunk: 1 -------------------------------------------------------------------------------- PortName Status Weight GigabitEthernet0/1/1 Up 1 GigabitEthernet0/1/2 Offline 1 Flow statistic Interface GigabitEthernet0/1/1, Last 300 seconds input rate 0 bits/sec, 0 packets/sec Last 300 seconds output rate 0 bits/sec, 0 packets/sec 0 packets input, 0 bytes, 0 drops 0 packets output, 0 bytes, 0 drops Interface Eth-Trunk20 Last 300 seconds input rate 0 bits/sec, 0 packets/sec Last 300 seconds output rate 0 bits/sec, 0 packets/sec 0 packets input, 0 bytes, 0 drops 0 packets output, 0 bytes, 0 drops
<HUAWEI> display eth-trunk 10 Eth-Trunk10's state information is: (h): high priority (r): reference port Local: LAG ID: 10 WorkingMode: STATIC Preempt Delay Time: 10 Hash arithmetic: According to flow System Priority: 120 System ID: 00e0-fc12-3456 Least Active-linknumber: 1 Max Active-linknumber: 8 Operate status: up Ports: 2 Timeout Period: Slow PortKeyMode: Auto ------------------------------------------------------------------------------------ ActorPortName Status PortType PortPri PortNo PortKey PortState Weight GigabitEthernet0/1/2(hr) Selected 1GE 10 262 2609 10111100 1 GigabitEthernet0/1/3(h) Selected 1GE 10 263 2609 10111100 1 GigabitEthernet0/1/4(h) Unselect 1GE 32768 264 2609 10100000 1 Partner: ------------------------------------------------------------------------------------ ActorPortName SysPri SystemID PortPri PortNo PortKey PortState GigabitEthernet0/1/2 32768 00e0-fc12-3460 32768 262 2609 10111100 GigabitEthernet0/1/3 32768 00e0-fc12-3460 32768 263 2609 10111100 GigabitEthernet0/1/4 32768 00e0-fc12-3460 32768 264 2609 10110000
<HUAWEI> display eth-trunk 20 Eth-Trunk20's state information is: WorkingMode: NORMAL Hash arithmetic: According to flow Least Active-linknumber: 1 Max Bandwidth-affected-linknumber: 16 Operate status: up Number Of Up Ports In Trunk: 1 -------------------------------------------------------------------------------- PortName Status Weight GigabitEthernet0/1/1 Up 1 GigabitEthernet0/1/2 Offline 1
<HUAWEI> display eth-trunk Eth-Trunk10's state information is: (h): high priority (r): reference port Local: LAG ID: 10 WorkingMode: STATIC Preempt Delay Time: 10 Hash arithmetic: According to flow System Priority: 120 System ID: 00e0-fc12-3456 Least Active-linknumber: 1 Max Active-linknumber: 8 Operate status: up Number Of Up Ports In Trunk: 2 Timeout Period: Slow PortKeyMode: Auto ------------------------------------------------------------------------------------ ActorPortName Status PortType PortPri PortNo PortKey PortState Weight GigabitEthernet0/1/2(hr) Selected 1GE 10 262 2609 10111100 1 GigabitEthernet0/1/3(h) Selected 1GE 10 263 2609 10111100 1 GigabitEthernet0/1/4(h) Unselect 1GE 32768 264 2609 10100000 1 Partner: ------------------------------------------------------------------------------------ ActorPortName SysPri SystemID PortPri PortNo PortKey PortState GigabitEthernet0/1/2 32768 00e0-fc12-3460 32768 262 2609 10111100 GigabitEthernet0/1/3 32768 00e0-fc12-3460 32768 263 2609 10111100 GigabitEthernet0/1/4 32768 00e0-fc12-3460 32768 264 2609 10110000 Eth-Trunk20's state information is: WorkingMode: NORMAL Hash arithmetic: According to flow Least Active-linknumber: 1 Max Bandwidth-affected-linknumber: 16 Operate status: up Number Of Up Ports In Trunk: 1 -------------------------------------------------------------------------------- PortName Status Weight GigabitEthernet0/1/1 Up 1 GigabitEthernet0/1/2 Offline 1
<HUAWEI> display eth-trunk brief
Status: Operate status
Role: E-Trunk status
Act: Active link number
Inact: Inactive link number
Cfgd: Configured link number
BW: Bandwidth
Interface Mode Status Role Act/Inact/Cfgd BW(Mbps)
Eth-Trunk1 NORMAL Up M 0/1/2 200
Eth-Trunk2 NORMAL Up S 0/1/3 100
Item | Description |
---|---|
PortName | Eth-Trunk member interface name. |
Slave/Master | Master/backup status of an Eth-Trunk member interface:
|
LAG ID | ID of the Eth-Trunk interface. |
Preempt Delay | Preemption delay of an Eth-Trunk interface in static LACP mode. You can configure and change the preemption delay of an Eth-Trunk interface in static LACP mode using the lacp preempt delay command. |
Hash arithmetic | Load balancing mode:
|
System Priority | LACP priority of the system. After Eth-Trunk interfaces in static LACP mode are added to an E-Trunk, you can configure or modify the system priority using the lacp e-trunk priority command. |
System ID | System ID. After Eth-Trunk interfaces in static LACP mode are added to an E-Trunk, you can configure or modify the system ID using the lacp system-id command. |
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. You can change the Least Active-linknumber value by running the least active-linknumber (Eth-Trunk interface view) command. |
Max Active-linknumber | Maximum number of active member links. You can configure and change the maximum number of active member links using the max active-linknumber command. |
Max bandwidth-affected-linknumber | Maximum number of member interfaces that affect the actual bandwidth of the Layer 2 Eth-Trunk interface. |
Operate status | Status of the Eth-Trunk interface:
|
Number Of Up Ports In Trunk | Number of Up member interfaces in the Eth-Trunk interface. |
Timeout Period | Timeout period during which an Eth-Trunk interface in static LACP mode fails to receive LACPDUs. You can configure or modify the timeout period using the lacp timeout command. |
ActorPortName | Name of a member interface. |
Status | Status of local member interfaces:
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. Consequently, LACP negotiation fails. |
PortType | Type of local member interface. |
PortPri | LACP priority of the member interface in an Eth-Trunk interface in static LACP mode. You can configure and change the LACP priority of the member interface using the lacp priority command. |
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:
By default, an Eth-Trunk member interface uses the long timeout (90 seconds) period to receive LACPDUs. The value can be changed using the lacp timeout command.
|
Weight | Weight of the member interface in an Eth-Trunk interface. |
Flow statistic | Eth-Trunk traffic statistics. |
Interface | Interface name and number. |
Last 300 seconds input rate Last 300 seconds output rate | Rates at which bits and packets are sent and received by the interface in the last 300 seconds. Each time this command is run, the rates at which bits and packets are sent and received by the interface within the last 300s are re-collected. The rates at which bits and packets are sent and received by the interface within the last 300s are displayed. The rates at which bits and packets are sent and received by the interface within the last 300s are calculated respectively. The interval at which traffic statistics are collected can be changed using the set flow-stat interval command. |
Role | Member interface role of the Eth-Trunk interface in static LACP mode:
You can set or change the role of a member interface using the lacp port-role command. |
Local | Configuration of the local Eth-Trunk interface. |
WorkingMode | Operation mode of the Eth-Trunk interface:
You can configure and change the operation mode of an Eth-Trunk interface using the mode command. |
Partner | Information about remote Eth-Trunk member interfaces. |
Input | Total number of packets and bytes received by an interface.
|
Output | Total number of packets and bytes sent by an interface.
|
Remote | Interface's system ID synchronized with that on the peer device through an E-Trunk connection. |
Act | Number of activated links. |
Inact | Number of deactivated links. |
Cfgd | Number of configured links. |
BW | Link bandwidth. |
WorkingState | Master/backup status of an Eth-Trunk interface:
|
preempt delay time | Preemption delay. |
ports | Port number. |
PortKeyMode | LACP member interface's PortKey generation mode:
|