protocols ospf log
Enables OSPF protocol logs.
None
- process pid
- Specifies the PID of an IPv4 OSPF process.
- all
- Enables all OSPF logs.
- bfd
- Enables only OSPF BFD logs.
- database-timer
- Enables only OSPF database-timer logs.
- events
- Enables only OSPF event logs.
- ifsm
- Enables only OSPF IFSM logs.
- lsa
- Enables only OSPF LSA logs.
- nfsm
- Enables only OSPF NFSM logs.
- nsm
- Enables only OSPF NSM logs.
- packet
- Enables only OSPF packet logs.
- rib
- Enables only OSPF RIB logs.
- route
- Enables only OSPF route logs.
Configuration mode
protocols {
ospf {
process pid {
log {
all
bfd
database-timer
events
ifsm
lsa
nfsm
nsm
packet
rib
route
}
}
}
}
Use the set form of this command to enable Open Shortest Path First (OSPF) logs.
Use the delete form of this command to remove OSPF logs.
Use the show form of this command to view OSPF logs.