debugs.
One way of reducing the impact of the debug command on a device is to use an ACL to selectively define the traffic criteria that needs to be examined. This concept does not do any packet filtering; it is used only for controlled monitoring.
Below Example shows a configuration that enables debugging only for packets between the
hosts 10.1.1.1 and 192.168.1.1 using the debug ip packet [detail]
Example: Debugging Traffic Using ACL Example
Router(config)# access-list 101 permit ip host 10.1.1.1 host 192.168.1.1
Router(config)# access-list 101 permit ip host 192.168.1.1 host 10.1.1.1
Router(config)# end
Router# debug ip packet detail 101
IP packet debugging is on (detailed) for access list 101
Caution
On the router console, when debugs are running, usually the router prompt is not seen because debugs tend to scroll very fast on the console screen, especially when the debug is intensive. However, use the no debug all or undebug all commands to stop the debugs (Type this command as blind-folded.)