How to use debug command on the ECS4120 Series ?

Steven_zhangCreated at:Dec 11, 2019 14:10:00Updated at:Dec 25, 2019 13:35:08

 

(5) Debug mode of the LACP:

When we enable LACP debug command, the switch will display the trunk ID to which port member belongs.

Topology:

mceclip14.png

 

For example:

Console#debug lacp config

The switch will display the LACP function status is enable or disable during the configuration.

mceclip15.png

 

Console#debug lacp event

If the LACP trunk is active, the switch will display the port member belongs to which trunk id.

mceclip16.png

 

Console#debug lacp packet

The switch will display the information when it receives/transmits the LACP packets.

mceclip18.png

 

(6) Debug mode of the MLDSNP:

When we enable MLDSNP debug command, the switch will print out the MLD process information when it receives the MLD packets(ICMPv6).

Console#debug mldsnp all

For example:

The switch receives the MLD message packet from the client.

mceclip19.png

 

The switch sends out the specific query from the port which receives the leave message.

mceclip20.png

 

The switch sends out the IPv6 General Query.

mceclip21.png

 

The switch receives the IPv6 General Query from other device.

mceclip22.png

 

(7) Debug mode of the MVR6:

When we enable MVR6 debug command, the switch will print out the MVR6 process information when it receives the ICMPv6 packets.

Console#debug mvr6 all

For example:

The switch receives the MVR6 join message from the client.

mceclip23.png

 

The switch receives the MVR6 leave message from the client.

mceclip24.png

 

The switch sends out the IPv6 General Query.

mceclip25.png

 

(8) Debug mode of the STP:

When we enable STP debug command, the switch will print out the STP process information when it's running STP protocol.

Console#debug spanning-tree all

Topology:

mceclip26.png

For example:

The switch port 1 (Root port) receives the BPDU packet from the Root Bridge.

mceclip27.png

 

If the switch port 1 (Root port) status is changing to block, then the port 2 (Alternate port) status will become forwarding(Root port) and receive the BPDU packet from the Root Bridge.

mceclip28.png