The debugging lacp command enables LACP debugging.
The undo debugging lacp command disables LACP debugging.
By default, the LACP debugging is disabled.
debugging lacp { error | packet [ eth-trunk trunk-id [ interface { interface-type interface-number | interface-name } ] ] | fsm | message | event | all }
undo debugging lacp { error | packet [ eth-trunk trunk-id [ interface { interface-type interface-number | interface-name } ] ] | fsm | message | event | all }
Parameter | Description | Value |
---|---|---|
error |
Specifies the error debugging function. |
- |
packet |
Enables the packet debugging function. |
- |
eth-trunk trunk-id |
Specifies the Eth-trunk ID. |
The value is an integer ranging from 1 to 65535. |
interface |
Specifies a debugging interface. |
- |
interface-type |
Specifies the interface type. |
- |
interface-number |
Specifies the interface number. |
- |
interface-name |
Specifies the interface name. |
- |
fsm |
Enables debugging for the state machine. |
- |
message |
Enables the message debugging function. |
- |
event |
Enables the event debugging function. |
- |
all |
Enables all debugging functions. |
- |
Usage Scenario
The debugging lacp command displays the debugging information about the LACP module. Different debugging information can be obtained by selecting different key words, which facilitates fault location and equipment maintenance.
Prerequisites
When you select eth-trunk trunk-id to obtain debugging information, the Eth-Trunk interface has been created.
<HUAWEI> debugging lacp packet
2011-07-20 16:13:12 V8_B7_158 %%01LACP/7/LACP_DEBUG_RECEIVEPKT(d):CID=2;LACP receive protocol packet.(IfIndex = 9)
Actor info: sysPri = 32768, sysId = 00e0-fc00-0001, portKey = 25649, portPri = 32768, portState = 10111100
Partner info: sysPri = 32768, sysId = 00e0-fc00-0002, portKey = 25649, portPri = 32768, portState = 10111100
Item | Description |
---|---|
sysPri | Priority of the LACP system. |
sysId | ID of the LACP system. |
portKey | Port key word. |
portPri | Port priority. |
portState | Port state. |