OmniSwitch OS6860/OS6900/OS10K Troubleshooting Guide Part No.032996-00 Rev.A
AOS Release 7.X and 8.X January 2015
Alcatel-Lucent Page 90 of 148
default default RIP OSPF BGP
a max OSPF VRRP
b max OSPF VRRP
Total Number of Virtual Routers: 3
-> su
Entering maintenance shell. Type 'exit' when you are done.
RUSHMORE #-> ps | grep [o]spf
2386 root /bin/ospf
2671 root /bin/ospf --vrfid 2 --vrfname b
2678 root /bin/ospf --vrfid 1 --vrfname a
In the filtered "ps" output shown above, we see three processes corresponding to the OSPF instances running
in each VRF. The OSPF task _without_ the "vrfid" and "vrfname" arguments is the one running in the default
VRF. Each protocol process running in a non-default VRF will have "vrfid" and "vrfname" arguments. Those
arguments tell us how to map VRF names to vrfids. Above, you can see that "vrfname b" is on the same line as
"vrfid 2". So to control OSPF switch logging in VRF "b", we use switch logging application name "ospf_2".
Similarly, to control OSPF switch logging in VRF "a", we use switch logging application name "ospf_1".
{{Note|It's a coincidence that VRF name "a" happens to be vrfid 1 and vrf name "b" happens to be vrfid 2. The
association between VRF names and vrfids is often less straightforward than that.}
Logging to SWLOG
All OSPF switch logging is emitted at level "debug2". If logging subapp is set to anything less than debug2, no
log messages in the corresponding category will be emitted. Available subapps:
Error messages only. Error messages provide information of program faults.
Messages for packets received by OSPF only.
Messages for packets sent by OSPF only.
Messages for the flooding of Link State Advertisements (LSAs) in OSPF only.
Messages for OSPF’s Shortest Path First (SPF) calculations only.
Messages for OSPF’s Link State Database (LSDB) related operations only.
Messages for OSPF’s routing database (RDB) related operations only.
Messages for OSPF’s aging process of LSAs only. LSAs are sent out on a periodic basis.
Messages for OSPF's virtual links operations only.
Messages for OSPF’s route redistribution process only.
Messages for all OSPF's summarizations only. Summarization of routes can be set for
stubby areas and NSSAs.
Messages for OSPF neighbors’ database exchange only.
Messages for OSPF's hello handshaking process only.
Messages for OSPF’s authentication process only. Authentication can be simple or MD5.
OSPF state messages only. State messages show the switch state in relation to its neighbors.
Messages for OSPF's area events only.
Messages for OSPF’s interface operations only.
Messages for purpose to provide OSPF information only.
Messages for OSPF’s initialization setup only.
Messages for OSPF’s time related events only. Timers are set for interfaces and LSAs.
Messages for MIP processing of OSPF specific commands only.
Messages for OSPF’s Task Manager communication events only.