The display lacp statistics eth-trunk command displays statistics about LACPDUs on an Eth-Trunk interface in static LACP mode or on its member interface.
Parameter | Description | Value |
---|---|---|
trunk-id |
Specifies the ID of an Eth-Trunk interface in static LACP mode. |
The Eth-Trunk ID is an integer ranging from 0 to 65535. |
interface interface-type interface-number |
Specifies the type and number of an interface. |
- |
interface interface-name |
Specifies the name of an interface. |
- |
Usage Scenario
After an Eth-Trunk interface in static LACP mode is configured, you can run the display lacp statistics command to view the statistics about received and sent LACPDUs and Marker packets on the Eth-Trunk interface.
The Marker protocol prevents mis-sequence of received frames after traffic switches from one link to another. When using the display lacp statistics command, note that:Prerequisites
The mode lacp-static command has been run in the Eth-Trunk interface view to configure the Eth-Trunk interface to work in static LACP mode. Before checking the statistics about LACPDUs on an Eth-Trunk member interface, ensure that the member interface exists.
Precautions
If there are many traffic statistics on Eth-Trunk interfaces, it is recommended that you specify trunk-id or interface interface-type interface-number to filter output information.
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display lacp statistics eth-trunk 1 interface gigabitethernet 0/1/1 GigabitEthernet0/1/1's PDU statistic is: ------------------------------------------------------------------------------ Port LacpRevPdu LacpSentPdu MarkerRevPdu MarkerSentPdu GigabitEthernet0/1/1 17 189 0 0
<HUAWEI> display lacp statistics eth-trunk 1 Eth-trunk1's PDU statistic is: ------------------------------------------------------------------------------ Port LacpRevPdu LacpSentPdu MarkerRevPdu MarkerSentPdu GigabitEthernet0/1/1 17 189 0 0 GigabitEthernet0/1/2 17 189 0 0 GigabitEthernet0/1/3 0 186 0 0
<HUAWEI> display lacp statistics eth-trunk Eth-trunk1's PDU statistic is: ------------------------------------------------------------------------------ Port LacpRevPdu LacpSentPdu MarkerRevPdu MarkerSentPdu GigabitEthernet0/1/1 17 189 0 0 GigabitEthernet0/1/2 17 189 0 0 GigabitEthernet0/1/3 0 186 0 0 Eth-trunk2's PDU statistic is: ------------------------------------------------------------------------------ Port LacpRevPdu LacpSentPdu MarkerRevPdu MarkerSentPdu GigabitEthernet0/1/9 15 17 0 0 GigabitEthernet0/1/10 15 17 0 0
Item | Description |
---|---|
Port | Member interface of the Eth-Trunk interface. |
LacpRevPdu | Number of received LACPDUs. |
LacpSentPdu | Number of sent LACPDUs. |
MarkerRevPdu | Number of received Marker packets. |
MarkerSentPdu | Number of sent Marker packets. |