< Home

display eth-trunk

Function

The display eth-trunk command displays the Eth-Trunk configuration.

Format

display eth-trunk [ trunk-id [ interface interface-type interface-number | verbose ] ]

Parameters

Parameter Description Value

trunk-id

Specifies the ID of an Eth-Trunk.

The value is an integer. The value varies according to device model:
  • S2720-EI, S5720I-SI, S5720-LI, S5720S-LI, S5720S-SI, and S5720-SI: 0-119
  • S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S5735-L, S5735S-L, S5735S-L-M, S5735-S, S5735-S-I, S5735S-S, S6720-EI, S6720-HI, S6720S-EI, S6730-H, S6730S-H, S6730-S, and S6730S-S: 0-127
  • S5730-SI, S5730S-EI, S6720-SI, S6720S-SI, S6720-LI, S6720S-LI: 0-249

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.

-

Views

All views

Default Level

1 : Monitoring level

Usage Guidelines

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

If there are traffic statistics about many Eth-Trunks, you are advised to specify trunk-id or interface interface-type interface-number to filter output information. Otherwise, the following problems may occur due to excessive output information:
  • 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.

Example

# 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
# Display the configuration of Eth-Trunk 10 in LACP mode.
<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
Table 1 Description of the display eth-trunk command output

Item

Description

Local

Configuration of the local Eth-Trunk.

LAG ID

ID of the Eth-Trunk.

WorkingMode

Working mode of the Eth-Trunk:

  • NORMAL: manual load balancing mode

  • LACP: LACP mode

Preempt Delay Time

Preemption delay time:
  • If LACP preemption is enabled, the preemption time is displayed and expressed in seconds.
  • If LACP preemption is disabled, the value is displayed as Disabled.

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:
  • UP

  • DOWN

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:
  • Selected: A member interface in Selected state is active.

  • Unselect: A member interface in Unselected state is inactive.

  • ForceFwd: A member interface can forward Layer 2 traffic.

Status of the local member interface in manual load balancing mode:
  • Up: indicates that the interface is properly started.

  • Down: indicates that the interface is faulty.

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:
  • Bit 1: Whether the member interface is an Actor. This bit has a fixed value 1.
  • Bit 2: Whether the member interface uses a long or short timeout interval to receive LACPDUs.

    1: The member interface uses a short timeout interval.

    0: The member interface uses a long timeout interval.

    By default, an Eth-Trunk member interface uses the long timeout interval (90s) to receive LACPDUs. To set the timeout interval, run the lacp timeout command.

  • Bit 3: Whether the system allows the member interface to be aggregated.

    1: The system allows the member interface to be aggregated.

    0: The system does not allow the member interface to be aggregated.

  • Bit 4: Whether the member interface is added to the link aggregation group (LAG).

    1: The member interface is added to the LAG.

    0: The member interface is not added to the LAG.

  • Bit 5: Whether the member interface can receive LACPDUs.

    1: The member interface can receive LACPDUs.

    0: The member interface cannot receive LACPDUs.

  • Bit 6: Whether the member interface can send LACPDUs.

    1: The member interface can send LACPDUs.

    0: The member interface cannot send LACPDUs.

  • Bit 7: Whether the LACPDUs contain default parameter values.

    1: The LACPDUs contain default parameter values.

    0: The LACPDUs do not contain default parameter values.

  • Bit 8: Whether the receive state machine of the Actor is in Expired state.

    1: The receive state machine of the Actor is in Expired state.

    0: The receive state machine of the Actor is not in Expired state.

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.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >