howtonetwork.net

Cisco Certification Training

  • Products
  • CCNA
    • CCNA Videos
    • CCNA Lectures
    • CCNA Practice Exams
    • Challenge Labs
      • Challenge Video Solutions
    • Cisco Commands
  • CCNP ROUTE
    • ROUTE Exams
  • CCNP SWITCH
    • SWITCH Exams
  • CCNP TSHOOT
  • Home
  • Join
  • Downloads
  • About Us
  • Whitepapers
  • Feature Articles
  • Helpdesk
  • FAQ
  • Free Training
You are here: Home / debug ip packet detail

debug ip packet detail

Command

Debug IP Packet Detail

Use

This command enables detailed IP packet debugging messages. The debugging shows detailed IP information being processed by the route. , Also, you can use an access-list to limit the debug output.

Syntax

Router#debug ip packet detail
OR
Router#debug ip packet detail <access-list>

Example
debug ip packet detail

In the below example we enable detailed IP packet debugging on R2.

R2(config)#do debug ip packet detail
IP packet debugging is on (detailed)
R2(config)#
*Mar 1 01:16:10.887: IP: s=10.1.1.2 (local), d=224.0.0.10 (FastEthernet0/0), len 60, sending broad/multicast, proto=88
*Mar 1 01:16:11.343: IP: s=10.1.1.1 (FastEthernet0/0), d=224.0.0.10, len 60, rcvd 2, proto=88
R2(config)#
*Mar 1 01:16:12.655: IP: s=10.1.1.2 (local), d=224.0.0.9 (FastEthernet0/0), len 72, sending broad/multicast
*Mar 1 01:16:12.659: UDP src=520, dst=520
R2(config)#
*Mar 1 01:16:15.523: IP: s=10.1.1.2 (local), d=224.0.0.10 (FastEthernet0/0), len 60, sending broad/multicast, proto=88
*Mar 1 01:16:15.931: IP: s=10.1.1.1 (FastEthernet0/0), d=224.0.0.10, len 60, rcvd 2, proto=88
R2(config)#
*Mar 1 01:16:16.659: IP: s=10.2.2.2 (local), d=224.0.0.9 (FastEthernet1/0), len 132, sending broad/multicast
*Mar 1 01:16:16.663: UDP src=520, dst=520
*Mar 1 01:16:17.063: IP: s=10.2.2.2 (local), d=224.0.0.5 (FastEthernet1/0), len 80, sending broad/multicast, proto=89
R2(config)#
*Mar 1 01:16:18.167: IP: s=10.2.2.3 (FastEthernet1/0), d=224.0.0.5, len 80, rcvd 0, proto=89
*Mar 1 01:16:18.491: IP: s=10.1.1.1 (FastEthernet0/0), d=224.0.0.9, len 92, rcvd 2
*Mar 1 01:16:18.495: UDP src=520, dst=520
R2(config)#
*Mar 1 01:16:19.871: IP: tableid=0, s=10.1.1.1 (FastEthernet0/0), d=2.2.2.2 (Loopback0), routed via RIB
*Mar 1 01:16:19.875: IP: s=10.1.1.1 (FastEthernet0/0), d=2.2.2.2, len 100, rcvd 4
*Mar 1 01:16:19.875: ICMP type=8, code=0
*Mar 1 01:16:19.879: IP: tableid=0, s=2.2.2.2 (local), d=10.1.1.1 (FastEthernet0/0), routed via FIB
*Mar 1 01:16:19.883: IP: s=2.2.2.2 (local), d=10.1.1.1 (FastEthernet0/0), len 100, sending
*Mar 1 01:16:19.883: ICMP type=0, code=0
*Mar 1 01:16:19.939: IP: tableid=0, s=10.1.1.1 (FastEthernet0/0), d=2.2.2.2 (Loopback0), routed via RIB
*Mar 1 01:16:19.943: IP: s=10.1.1.1 (FastEthernet0/0), d=2.2.2.2, len 100, rcvd 4
*Mar 1 01:16:19.947: ICMP type=8, code=0
*Mar 1 01:16:19.947: IP: tableid=0, s=2.2.2.2 (local), d=10.1.1.1 (FastEthernet0/0), routed via FIB
*Mar 1 01:16:19.947: IP: s=2.2.2.2 (local), d=10.1.1.1 (FastEthernet0/0), len 100, sending
*Mar 1 01:16:19.947: ICMP type=0, code=0
*Mar 1 01:16:19.947: IP: tableid=0, s=
R2(config)#10.1.1.1 (FastEthernet0/0), d=2.2.2.2 (Loopback0), routed via RIB
*Mar 1 01:16:19.947: IP: s=10.1.1.1 (FastEthernet0/0), d=2.2.2.2, len 100, rcvd 4
*Mar 1 01:16:19.947: ICMP type=8, code=0
*Mar 1 01:16:19.947: IP: tableid=0, s=2.2.2.2 (local), d=10.1.1.1 (FastEthernet0/0), routed via FIB
*Mar 1 01:16:19.947: IP: s=2.2.2.2 (local), d=10.1.1.1 (FastEthernet0/0), len 100, sending
*Mar 1 01:16:19.947: ICMP type=0, code=0
*Mar 1 01:16:19.983: IP: tableid=0, s=10.1.1.1 (FastEthernet0/0), d=2.2.2.2 (Loopback0), routed via RIB
*Mar 1 01:16:19.983: IP: s=10.1.1.1 (FastEthernet0/0), d=2.2.2.2, len 100, rcvd 4
*Mar 1 01:16:19.983: ICMP type=8, code=0
*Mar 1 01:16:19.983: IP: tableid=0, s=2.2.2.2 (local), d=10.1.1.1 (FastEthernet0/0), routed via FIB
*Mar 1 01:16:19.983: IP: s=2.2.2.2 (local), d=10.1.1.1 (FastEthernet0/0), len 100, sending
*Mar 1 01:16:19.983: ICMP type=0, code=0
*Mar 1 01:16:19.991: IP: tableid=0, s=10.1.1.1 (FastEthernet0/0), d=2.2.2.2 (Lo
R2(config)#opback0), routed via RIB
*Mar 1 01:16:19.991: IP: s=10.1.1.1 (FastEthernet0/0), d=2.2.2.2, len 100, rcvd 4
*Mar 1 01:16:19.991: ICMP type=8, code=0
*Mar 1 01:16:19.991: IP: tableid=0, s=2.2.2.2 (local), d=10.1.1.1 (FastEthernet0/0), routed via FIB
*Mar 1 01:16:19.991: IP: s=2.2.2.2 (local), d=10.1.1.1 (FastEthernet0/0), len 100, sending
*Mar 1 01:16:19.991: ICMP type=0, code=0
*Mar 1 01:16:20.343: IP: s=10.1.1.2 (local), d=224.0.0.10 (FastEthernet0/0), len 60, sending broad/multicast, proto=88
*Mar 1 01:16:20.659: IP: s=10.1.1.1 (FastEthernet0/0), d=224.0.0.10, len 60, rcvd 2, proto=88
*Mar 1 01:16:21.547: IP: s=2.2.2.2 (local), d=224.0.0.9 (Loopback0), len 132, sending broad/multicast
*Mar 1 01:16:21.551: UDP src=520, dst=520
*Mar 1 01:16:21.555: IP: s=2.2.2.2 (Loopback0), d=224.0.0.9, len 132, rcvd 2
*Mar 1 01:16:21.559: UDP src=520, dst=520
R2(config)#
*Mar 1 01:16:24.795: IP: s=10.1.1.2 (local), d=224.0.0.10 (FastEthernet0/0), len 60, sending broad/multicast, proto=88
*Mar 1 01:16:25.451: IP: s=10.1.1.1 (FastEthernet0/0), d=224.0.0.10, len 60, rcvd 2, proto=88
R2(config)#do un all
All possible debugging has been turned off
R2(config)#
*Mar 1 01:16:27.067: IP: s=10.2.2.2 (local), d=224.0.0.5 (FastEthernet1/0), len 80, sending broad/multicast, proto=89

Here we use an access-list to filter the debug output.

R2(config)#access-list 155 permit icmp any any
R2(config)#do debug ip packet detail 155
IP packet debugging is on (detailed) for access list 155
R2(config)#
*Mar 1 01:17:16.039: IP: tableid=0, s=10.1.1.1 (FastEthernet0/0), d=2.2.2.2 (Loopback0), routed via RIB
*Mar 1 01:17:16.043: IP: s=10.1.1.1 (FastEthernet0/0), d=2.2.2.2, len 100, rcvd 4
*Mar 1 01:17:16.047: ICMP type=8, code=0
*Mar 1 01:17:16.047: IP: tableid=0, s=2.2.2.2 (local), d=10.1.1.1 (FastEthernet0/0), routed via FIB
*Mar 1 01:17:16.051: IP: s=2.2.2.2 (local), d=10.1.1.1 (FastEthernet0/0), len 100, sending
*Mar 1 01:17:16.055: ICMP type=0, code=0
*Mar 1 01:17:16.095: IP: tableid=0, s=10.1.1.1 (FastEthernet0/0), d=2.2.2.2 (Loopback0), routed via RIB
*Mar 1 01:17:16.099: IP: s=10.1.1.1 (FastEthernet0/0), d=2.2.2.2, len 100, rcvd 4
*Mar 1 01:17:16.103: ICMP type=8, code=0
*Mar 1 01:17:16.103: IP: tableid=0, s=2.2.2.2 (local), d=10.1.1.1 (FastEthernet0/0), routed via FIB
*Mar 1 01:17:16.107: IP: s=2.2.2.2 (local), d=10.1.1.1 (FastEthernet0/0), len 100, sending
*Mar 1 01:17:16.111: ICMP type=0, code=0
*Mar 1 01:17:16.123: IP: tableid=0, s=
R2(config)#10.1.1.1 (FastEthernet0/0), d=2.2.2.2 (Loopback0), routed via RIB
*Mar 1 01:17:16.123: IP: s=10.1.1.1 (FastEthernet0/0), d=2.2.2.2, len 100, rcvd 4
*Mar 1 01:17:16.123: ICMP type=8, code=0
*Mar 1 01:17:16.123: IP: tableid=0, s=2.2.2.2 (local), d=10.1.1.1 (FastEthernet0/0), routed via FIB
*Mar 1 01:17:16.123: IP: s=2.2.2.2 (local), d=10.1.1.1 (FastEthernet0/0), len 100, sending
*Mar 1 01:17:16.123: ICMP type=0, code=0
*Mar 1 01:17:16.139: IP: tableid=0, s=10.1.1.1 (FastEthernet0/0), d=2.2.2.2 (Loopback0), routed via RIB
*Mar 1 01:17:16.139: IP: s=10.1.1.1 (FastEthernet0/0), d=2.2.2.2, len 100, rcvd 4
*Mar 1 01:17:16.139: ICMP type=8, code=0
*Mar 1 01:17:16.139: IP: tableid=0, s=2.2.2.2 (local), d=10.1.1.1 (FastEthernet0/0), routed via FIB
*Mar 1 01:17:16.139: IP: s=2.2.2.2 (local), d=10.1.1.1 (FastEthernet0/0), len 100, sending
*Mar 1 01:17:16.139: ICMP type=0, code=0
*Mar 1 01:17:16.151: IP: tableid=0, s=10.1.1.1 (FastEthernet0/0), d=2.2.2.2 (Lo
R2(config)#opback0), routed via RIB
*Mar 1 01:17:16.151: IP: s=10.1.1.1 (FastEthernet0/0), d=2.2.2.2, len 100, rcvd 4
*Mar 1 01:17:16.151: ICMP type=8, code=0
*Mar 1 01:17:16.151: IP: tableid=0, s=2.2.2.2 (local), d=10.1.1.1 (FastEthernet0/0), routed via FIB
*Mar 1 01:17:16.151: IP: s=2.2.2.2 (local), d=10.1.1.1 (FastEthernet0/0), len 100, sending
*Mar 1 01:17:16.151: ICMP type=0, code=0
R2(config)#

Get access to over 5 hours of IT webinar videos as well as regular study tips and ideas when you
join our mailing list

About This Site

We replaced this site some time ago with an upgraded version. Please feel free to enjoy the content and if you like what you see check out our brilliant new site:

howtonetwork.com

Keep In Touch

About Us

This is a free access website which has now been replaced by howtonetwork.com.

Navigation

  • Home
  • Join
  • Downloads
  • About Us
  • Whitepapers
  • Feature Articles
  • Helpdesk
  • FAQ
  • Free Training

Copyright

All content is protected by international copyright laws. Copyright Reality Press Ltd.

Copyright © 2023 · Dynamik Website Builder on Genesis Framework · WordPress · Log in