How to use debug command on the ECS4120 Series ? Follow
Debug command could display the debugging information for some functions in Privileged Exec mode.
The messages included the function events, transmitted/received packets...etc.
It's convenience for administrators to troubleshoot the problem on the switch.
The user could also dump the debug messages and contact Edgecore support(support@edge-core.com), and send a detailed description of the problem, along with the file used to record your system settings(show tech-support command).
Command Mode: Exec mode
(1) Debug mode of the ARP:
When we enable ARP debug command, the switch will print out the ARP process information when it receives the ARP packets.
Console#debug arp
For example:

(2) Debug mode of the DHCP:
When we enable DHCP debug command, the switch will print out the DHCP process information when it requires the IP address from the DHCP server.
Console#debug dhcp all
Topology:

For example:
The switch sends the DHCP DISCOVER packet.

The switch receives the DHCP OFFER packet from the DHCP server.
dhcp_msg_type=2 means DHCP offer packet.

The switch sends the DHCP REQUEST packet.

The switch receives the DHCP ACK packet from the DHCP server.
dhcp_msg_type=5 means DHCP ack packet.

(3) Debug mode of the IGMPSNP and MVR:
When we enable IGMPSNP/MVR debug command, the switch will print out the IGMP process information when it receives the IGMP control packets.
Console#debug igmpsnp-mvr all
Topology:

For example:
The switch receives the IGMP REPORT packet from the client.

The switch receives the IGMP LEAVE packet from the client.

The switch receives the IGMP QUERY packet from other device (ECS4120_2).

(4) Debug mode of the DHCPSNP:
When we enable DHCPSNP debug command, the switch will print out the DHCP process information when it receives the DHCP packets between the server and client.
Console# debug ip dhcp snooping all
Topology:

For example:
The switch receives the DHCP DISCOVER packet from the client.
dhcp_msg_type=1 means DHCP discover packet.

The switch receives the DHCP OFFER packet from the DHCP server.
dhcp_msg_type=2 means DHCP offer packet.

dhcp_msg_type=3 means DHCP request packet.

The switch receives the DHCP ACK packet from the client.
dhcp_msg_type=5 means DHCP request packet.

(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:

For example:
Console#debug lacp config
The switch will display the LACP function status is enable or disable during the configuration.

Console#debug lacp event
If the LACP trunk is active, the switch will display the port member belongs to which trunk id.

Console#debug lacp packet
The switch will display the information when it receives/transmits the LACP packets.

(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.

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

The switch sends out the IPv6 General Query.

The switch receives the IPv6 General Query from other device.

(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.

The switch receives the MVR6 leave message from the client.

The switch sends out the IPv6 General Query.

(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:

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

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.

Comments
0 comments
Please sign in to leave a comment.