Reference Guide
Example
ICMP: echo request rcvd from src 40.40.40.40
ICMP: src 40.40.40.40, dst 40.40.40.40, echo reply
ICMP: src 40.40.40.40, dst 40.40.40.40, echo reply
ICMP: echo request sent to dst 40.40.40.40
ICMP: echo request rcvd from src 40.40.40.40
ICMP: src 40.40.40.40, dst 40.40.40.40, echo reply
ICMP: src 40.40.40.40, dst 40.40.40.40, echo reply
ICMP: echo request sent to dst 40.40.40.40
Usage
Information
Use the count option to stop packets from flooding the user terminal when debugging is
turned on.
debug ip packet
View a log of IP packets sent and received.
C-Series, E-Series, S-Series, Z-Series, S4810
Syntax
debug ip packet [access-group name] [count value] [interface]
To disable debugging, use the no debug ip packet [access-group name]
[count
value] [interface] command.
Parameters
access-group
name
Enter the keyword access-group followed by the access list
name (maximum 16 characters) to limit the debug output based on the
defined rules in the ACL.
count
value
(OPTIONAL) Enter the keyword count followed by the count value.
The range is 1 to 65534. The default is
Infinity.
interface
(OPTIONAL) Enter the following keywords and slot/port or number
information:
• For a 1-Gigabit Ethernet interface, enter the keyword
GigabitEthernet followed by the slot/port information.
• For the Management interface, enter the keyword
ManagementEthernet followed by the slot/port
information. The slot range is 0-1 and the port range is 0.
• For a Port Channel interface, enter the keywords port-
channel followed by a number. For the C-Series and S-
Series, the range is 1 to 128. For the E-Series, the range is 1 to
255 for TeraScale and 1 to 512 for ExaScale.
• For a SONET interface, enter the keyword sonet followed by
the slot/port information.
• For a 10-Gigabit Ethernet interface, enter the keyword
TenGigabitEthernet followed by the slot/port
information.
• For a 40-Gigabit Ethernet interface, enter the keyword
fortyGigE followed by the slot/port information.
• For a VLAN, enter the keyword vlan followed by a number
from 1 to 4094.
859










