Logging to the Console
#configure terminal | Enter configure mode. |
(config)#logging level ospf 7 | This enable debug messages for OSFP module. |
(config)#logging console 7 | This enables the console logs. |
(config)#debug ospf | This enables the debugging on OSPF configurations. |
(config)#router ospf | Enabling ospf for process 1. |
(config-router)#exit | Exit router mode. |
(config)#exit | Exit configure mode. |
To verify this, do some OSPF configuration and view the messages in the console.
Validation Commands
#show logging console
Console logging : enabled Severity: (debugging)
#show logging level
Facility Default Severity Current Session Severity
nsm 3 3
ripd 3 3
ospfd 3 7
ospf6d 3 3
isisd 3 3
hostpd 3 3
ldpd 2 2
rsvpd 2 2
mribd 2 2
pimd 2 2
authd 2 2
mstpd 2 2
imi 2 2
onmd 2 2
oamd 2 2
vlogd 2 2
vrrpd 2 2
ribd 2 2
bgpd 3 3
l2mribd 2 2
lagd 2 2
sflow 2 2
pservd 2 2
Last modified date: 08/28/2023