Cisco debugging

From Noah.org
Revision as of 15:45, 19 November 2014 by Root (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Turn on debugging and select dhcp IP packets for debug logging.

no debug all
terminal monitor
conf t
logging monitor debugging
logging on
exit
debug ip dhcp server packet

Confirm that debugging is on using show debug; although, it is likely you will already be seeing dhcp packets if your network is moderately busy.

show debug
# DHCP server packet debugging is on.

Observe DHCP packets... then turn off debugging. Note that show debug will return an empty line if all debugging is off.

no debug all
terminal no monitor
conf t
no logging monitor
exit
show debug

Note that the logging command can be used to send log messages to a syslog server.

logging [SYSLOG_SERVIER_IP]
no logging [SYSLOG_SERVER_IP]