Debugging
where can you enable the debug command?
All debug commands are entered in privileged EXEC mode, and most debug commands take no arguments.
what is conditional debugging and what is it used to?
Conditional debugging is sometimes called "conditionally triggered debugging." It can be used to • Limit output based on the interface. Debugging output is turned off for all interfaces except the specified interface. • Enable debugging output for conditional debugging events. Messages are displayed as different interfaces meet specific conditions.
Enables the desired debugging commands
debug [protocol]
to enable all system diagnostics, enter the following command at the command line in privileged EXEC mode?
debug all
Enabling Conditional Debugging Commands
debug condition interface [interface] Disables debugging messages for all interfaces except one.
command turns off all diagnostic output
no debug all undebug all
the command reenabling debugging output for all interfaces ?
no debug interface all
To display the state of each debugging option, enter the following at the command line in privileged EXEC mode
show debugging
when are debug used?
use debug commands only to troubleshoot specific problems or during troubleshooting sessions
To turn off debugging on a particular interface?
use the no debug interface command
Debugging can generate a great deal of output and sometimes filtering through the output can be tedious. For this reason, it is practical to know how to limit debug output?
• Use an ACL • Enable conditional debugging