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. |
interface interface-type interface-number |
Specifies a member interface. interface-type specifies the type of the member interface. interface-number specifies the number of the member interface. |
- |
verbose |
Displays the detailed configuration of a specified Eth-Trunk, including the Eth-Trunk traffic statistics. |
- |
Usage Scenario
After configuring an Eth-Trunk on a device, you can run the display eth-trunk command to check whether the Eth-Trunk configuration is correct.
When using the display eth-trunk command, pay attention to the following points:
If no parameter is specified, the display eth-trunk command displays the configurations of all Eth-Trunks.
If only trunk-id is specified, the display eth-trunk command displays the configuration of a specified Eth-Trunk.
If trunk-id and interface interface-type interface-number are specified, the configuration of member interfaces of the specified Eth-Trunk is displayed.
If trunk-id is specified and verbose is configured, the display eth-trunk command displays detailed configuration of a specified Eth-Trunk, including the Eth-Trunk traffic statistics.
Prerequisites
The Eth-Trunk has been correctly configured. If no Eth-Trunk is configured, when you run this command, the system displays an error message.
Precautions
The displayed information is repeatedly updated, and required information cannot be located.
The system does not respond because of long-time information traverse and search.
# Display the configurations of all Eth-Trunks.
<HUAWEI> display eth-trunk Eth-Trunk10's state information is: Local: LAG ID: 10 WorkingMode: LACP Preempt Delay Time: 10 Hash arithmetic: According to SIP-XOR-DIP System Priority: 120 System ID: 0018-82d4-04c3 Least Active-linknumber: 1 Max Active-linknumber: 2 Operate status: up Number Of Up Port In Trunk: 2 -------------------------------------------------------------------------------- ActorPortName Status PortType PortPri PortNo PortKey PortState Weight GigabitEthernet0/0/2 Selected 1GE 10 262 2609 10111100 1 GigabitEthernet0/0/3 Selected 1GE 10 263 2609 10111100 1 GigabitEthernet0/0/4 Unselect 1GE 32768 264 2609 10100000 1 Partner: -------------------------------------------------------------------------------- ActorPortName SysPri SystemID PortPri PortNo PortKey PortState GigabitEthernet0/0/2 32768 00e0-fc6e-bb11 32768 262 2609 10111100 GigabitEthernet0/0/3 32768 00e0-fc6e-bb11 32768 263 2609 10111100 GigabitEthernet0/0/4 32768 00e0-fc6e-bb11 32768 264 2609 10110000 Eth-Trunk11's state information is: WorkingMode: NORMAL Hash arithmetic: According to SIP-XOR-DIP Least Active-linknumber: 1 Max Bandwidth-affected-linknumber: 8 Operate status: up Number Of Up Port In Trunk: 1 -------------------------------------------------------------------------------- PortName Status Weight GigabitEthernet0/0/1 Up 1
# Display the configuration of Eth-Trunk 11 in manual load balancing mode.
<HUAWEI> display eth-trunk 11 Eth-Trunk11's state information is: WorkingMode: NORMAL Hash arithmetic: According to SIP-XOR-DIP Least Active-linknumber: 1 Max Bandwidth-affected-linknumber: 8 Operate status: up Number Of Up Port In Trunk: 1 -------------------------------------------------------------------------------- PortName Status Weight GigabitEthernet0/0/1 Up 1
<HUAWEI> display eth-trunk 10 Eth-Trunk10's state information is: Local: LAG ID: 10 WorkingMode: LACP Preempt Delay Time: 10 Hash arithmetic: According to SIP-XOR-DIP System Priority: 120 System ID: 0018-82d4-04c3 Least Active-linknumber: 1 Max Active-linknumber: 2 Operate status: up Number Of Up Port In Trunk: 2 -------------------------------------------------------------------------------- ActorPortName Status PortType PortPri PortNo PortKey PortState Weight GigabitEthernet0/0/2 Selected 1GE 10 262 2609 10111100 1 GigabitEthernet0/0/3 Selected 1GE 10 263 2609 10111100 1 GigabitEthernet0/0/4 Unselect 1GE 32768 264 2609 10100000 1 Partner: -------------------------------------------------------------------------------- ActorPortName SysPri SystemID PortPri PortNo PortKey PortState GigabitEthernet0/0/2 32768 00e0-fc6e-bb11 32768 262 2609 10111100 GigabitEthernet0/0/3 32768 00e0-fc6e-bb11 32768 263 2609 10111100 GigabitEthernet0/0/4 32768 00e0-fc6e-bb11 32768 264 2609 10110000
# Display the detailed configuration of Eth-Trunk 11 in manual load balancing mode.
<HUAWEI> display eth-trunk 11 verbose Eth-Trunk11's state information is: WorkingMode: NORMAL Hash arithmetic: According to SIP-XOR-DIP Least Active-linknumber: 1 Max Bandwidth-affected-linknumber: 8 Operate status: up Number Of Up Port In Trunk: 1 -------------------------------------------------------------------------------- PortName Status Weight GigabitEthernet0/0/1 Up 1 Flow statistic Interface GigabitEthernet0/0/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-Trunk11 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
# Display the detailed configuration of Eth-Trunk 10 in LACP mode.
<HUAWEI> display eth-trunk 10 verbose Eth-Trunk10's state information is: Local: LAG ID: 10 WorkingMode: LACP Preempt Delay Time: 10 Hash arithmetic: According to SIP-XOR-DIP System Priority: 120 System ID: 0018-82d4-04c3 Least Active-linknumber: 1 Max Active-linknumber: 2 Operate status: up Number Of Up Port In Trunk: 2 -------------------------------------------------------------------------------- ActorPortName Status PortType PortPri PortNo PortKey PortState Weight GigabitEthernet0/0/2 Selected 1GE 10 262 2609 10111100 1 GigabitEthernet0/0/3 Selected 1GE 10 263 2609 10111100 1 GigabitEthernet0/0/4 Unselect 1GE 32768 264 2609 10100000 1 Partner: -------------------------------------------------------------------------------- ActorPortName SysPri SystemID PortPri PortNo PortKey PortState GigabitEthernet0/0/2 32768 00e0-fc6e-bb11 32768 262 2609 10111100 GigabitEthernet0/0/3 32768 00e0-fc6e-bb11 32768 263 2609 10111100 GigabitEthernet0/0/4 32768 00e0-fc6e-bb11 32768 264 2609 10110000 Flow statistic Interface GigabitEthernet0/0/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/0/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/0/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
Item |
Description |
---|---|
Local |
Configuration of the local Eth-Trunk. |
LAG ID |
ID of the Eth-Trunk. |
WorkingMode |
Working mode of the Eth-Trunk:
|
Preempt Delay Time |
Preemption delay time:
|
Hash arithmetic |
Hash algorithm used for load balancing among member interfaces of the Eth-Trunk. The hash algorithm is configured by using the load-balance command. The S2720-EI, S5720I-SI, S5720-LI, S5720S-LI, S5720S-SI, S5720-SI, S5730S-EI, S5730-SI, S6720-LI, S6720S-LI, S6720S-SI, and S6720-SI use the src-dst-ip, source TCP or UDP port number, and destination TCP or UDP port number in the hash algorithm for load balancing regardless of whether you configure this parameter. |
System Priority |
System LACP priority. To configure the LACP system priority, run the lacp priority command. |
System ID |
System ID. |
Least Active-linknumber |
Minimum number of active member links in Up state. To configure the minimum number of active member links in Up state, run the least active-linknumber command. |
Max Active-linknumber |
Maximum number of active member links in Up state. To configure the maximum number of active member links in Up state, run the max active-linknumber command. |
Max Bandwidth-affected-linknumber |
Maximum number of connections that affect the Eth-Trunk bandwidth. |
Operate status |
Eth-Trunk status:
|
Number Of Up Port In Trunk |
Number of member interfaces in Up state in the Eth-Trunk. |
ActorPortName |
Name of a member interface. |
Status |
Status of the local member interface in LACP mode:
Status of the local member interface in manual load balancing mode:
|
PortType |
Type of the local member interface. |
PortPri |
LACP priority of the member interface. |
PortNo |
Number of the member interface in LACP mode. |
PortKey |
Key value of the member interface in LACP mode. |
PortState |
Status variable of the member interface. The status variable is eight bits, such as 10111100. The descriptions of each bit are as follows:
|
Weight |
Weight of the member interface. |
Partner |
Information about member interfaces of the remote Eth-Trunk. The Eth-Trunk must work in LACP mode. |
Flow statistic |
Eth-Trunk traffic statistics. |
Last 300 seconds input/output rate |
Rates for sending and receiving bits and packets on the interface in the last 300 seconds. |
input/output |
Number of packets received or sent by the interface. |
packets |
Total number of packets that the interface receives or sends. |
bytes |
Total number of bytes that the interface receives or sends. |
drops |
Number of packets that the interface drops. |