Thursday 11 August 2011

Cisco Debug IP Packet

Debug IP packet can be used to show packets in the console. This post shows how to use an ACL to limit what is displayed.


#conf t
#access-list 100 permit ip 192.168.1.1 0.0.0.0 any
#exit


#debug ip packet 100

This says capture packets sourced from 192.168.1.1 with any destination address. To turn it off type:

#no debug ip packet 100




No comments:

Post a Comment