How Do I Rapidly Check Interface Negotiation Information When the Eth-Trunk Works in LACP Mode?
Run the display eth-trunk command to check the negotiation information of the Eth-Trunk.
<Quidway> display eth-trunk 1 Eth-Trunk1's state information is: Local: LAG ID: 1 WorkingMode: STATIC Preempt Delay: Disabled Hash arithmetic: According to SA-XOR-DA System Priority: 32768 System ID: 4c1f-cc45-a8f8 Least Active-linknumber: 1 Max Active-linknumber: 8 Operate status: up Number Of Up Port In Trunk: 2 -------------------------------------------------------------------------------------------------------- ActorPortName Status PortType PortPri PortNo PortKey PortState Weight GigabitEthernet1/0/1 Selected 1GE 32768 513 561 10111100 1 GigabitEthernet1/0/2 Selected 1GE 32768 514 561 10111100 1 Partner: ------------------------------------------------------------------------------------------------------------ ActorPortName SysPri SystemID PortPri PortNo PortKey PortState GigabitEthernet1/0/1 32768 5489-98f5-a433 32768 1025 561 10111100 GigabitEthernet1/0/2 32768 5489-98f5-a433 32768 1026 561 10111100
Local device information is displayed in the Local section, and remote device information is displayed in the Partner section (the interface name is displayed as the corresponding local interface name). The PortState field contains the following information:
Each bit is described as follows:
LACP_Activity: has a fixed value of 1 (this interface remains in active state), indicating that the interface can send LACPDUs as long as it joins the Eth-Trunk and turns Up.
LACP_TimeOut: indicates the timeout interval of LACPDUs. It is set to 1 for fast and 0 for slow. You can determine the timeout interval of LACPDUs on both ends based on the value of this bit.
Aggregation: indicates whether the local interface can be aggregated with other member interfaces in an Eth-Trunk. This bit is set to 1 for switch interfaces that have joined the Eth-Trunk and are in Up state, and is set to 0 for interfaces that are in Down state.
Synchronization: synchronization flag. Interfaces that can enter the Selected state are determined based on the interface rate, duplex mode, and packet exchange. This bit is set to 1 for interfaces in Selected state and to 0 for other interfaces.
Collecting and Distributing: These two bits are set to all 1s only when the local end and remote end negotiate successfully.
Defaulted: This bit is set to 1 when the interface is added to the Eth-Trunk and starts negotiation, and is set to 0 when the negotiation succeeds.
Expired: indicates the timeout bit. This bit is set to 1 if LACP packets are not received within the timeout interval. This bit is set to 0 if negotiation succeeds.
The PortState field should be displayed as 11111100 or 10111100 if negotiation succeeds.
Thunderlink provide Huawei S7700,S9700