
23-5
Example:
Switch#debug ip icmp
IP ICMP: sent, type 8, src 0.0.0.0, dst 20.1.1.1
Display
Description
IP ICMP: sent
Send ICMP packets
type 8
Type is 8
(
PING request
)
src 0.0.0.0
Source IPv4 address
dst 20.1.1.1
Destination IPv4 address
23.2.4 debug ip packet
Command:
debug ip packet
no debug ip packet
Function:
Enable the IP packet debug function: the “
no debug IP packet
” command disables this debug function.
Parameter:
None
Default:
IP packet debugging information is disabled by default.
Command mode:
Admin Mode
Usage Guide:
Displays statistics for IP packets received/sent, including source/destination address and bytes, etc.
Example:
Enable IP packet debug.
Switch #debug ip packet
IP PACKET: sent, src 200.1.1.35, dst 224.0.0.9, size 312, proto 17, vrf 0
IP PACKET: rcvd, src 101.1.1.1, dst 224.0.0.9, size 312, proto 17, from Vlan200, vrf 0