You can perform the following operations related to debugging features:
device# debug feature required-keywords
device# show debug feature
device# no debug feature required-keywords
Use caution when debugging in real time on a production device, because real-time debugging is CPU-intensive.
We recommend checking the command output on a lab device first, and then if the output looks acceptable, enable it on the production device to get more data. In addition, to reduce CPU load, we recommend using keywords such as events and summary that limit the extent of debugging rather than more comprehensive options such as detail and all.
device# debug lldp packets all rx
If the device is accessed through Telnet, enable logging using a terminal monitor.
The following are the most frequently used debug commands: