< Home

display trunkmembership eth-trunk

Function

The display trunkmembership eth-trunk command displays information about Eth-Trunk member interfaces.

Format

display trunkmembership eth-trunk trunk-id

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.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Usage Scenario

After an Eth-Trunk is successfully configured, you can run the display trunkmembership eth-trunk command to view the configuration of the Eth-Trunk and its member interfaces.

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 and its member interfaces. The command output helps you can troubleshoot faults and check the member interface configuration.

Prerequisites

An Eth-Trunk has been correctly configured. If the Eth-Trunk is not created, the system displays 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 the Eth-Trunk in LACP mode, ensure that the Eth-Trunk has been configured to work in LACP mode using the mode lacp command.

Example

# Display information about member interfaces of Eth-Trunk 2.

<HUAWEI> display trunkmembership eth-trunk 2
Trunk ID: 2
Used status: VALID
TYPE: ethernet
Working Mode : Normal
Number Of Ports in Trunk = 2
Number Of Up Ports in Trunk = 2
Operate status: up
Interface GigabitEthernet0/0/1, valid, operate up, weight=1
Interface GigabitEthernet0/0/2, valid, operate up, weight=1
Table 1 Description of the display trunkmembership eth-trunk command output

Item

Description

Trunk ID

ID of the Eth-Trunk.

Used status
Whether the Eth-Trunk is available:
  • VALID: The Eth-Trunk is available.

  • INVALID: The Eth-Trunk is unavailable.

TYPE

Type of an Eth-Trunk.

To specify the parameter, run the port link-type command.

Working Mode

Working mode of an Eth-Trunk.

  • Normal: manual load balancing mode
  • LACP: LACP mode

To specify the parameter, run the mode command.

Number Of Ports in Trunk

Number of interfaces that are added to the Eth-Trunk.

Number Of Up Ports in Trunk

Number of Up interfaces that are added to the Eth-Trunk.

Operate status

Eth-Trunk status:
  • up

  • down

Interface, valid, operate, weight

Detailed information about a member interface:
  • Interface: indicates the interface type and number.

  • valid: indicates that the interface is available.

  • operate: indicates the status of the interface.

  • weight: indicates the weight of the interface for load balancing.

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