OmniSwitch OS6860/OS6900/OS10K Troubleshooting Guide Part No.032996-00 Rev.A
AOS Release 7.X and 8.X January 2015
Alcatel-Lucent Page 91 of 148
Example of SWLOG output for RECV and SEND subapps between 2 routers:
-> show configuration snapshot system
! System Service:
swlog appid ospf_0 subapp 3 level debug2
swlog appid ospf_0 subapp 4 level debug2
-> show log swlog | grep ospf_0
... swlogd: ospf_0 SEND debug2(7) (2891):(1775):Sent HELLO pkt len 44, area 0.0.0.0 src
192.168.1.1 iplen 64
dst 224.0.0.5 nHop 224.0.0.5 [curTime 246533s]
... swlogd: ospf_0 RECV debug2(7) (2891):(158): HELLO pkt, intf 192.168.1.1: ipsa 192.168.1.2,
area 0.0.0.0, ip len 68
... swlogd: ospf_0 STATE info(5) :OSPF Nbr=192.168.1.2 RID=192.168.1.2 state 2WAY
... swlogd: ospf_0 SEND debug2(7) (2891):(1775):Sent HELLO pkt len 48, area 0.0.0.0 src
192.168.1.1 iplen 68
dst 224.0.0.5 nHop 224.0.0.5 [curTime 246543s]
... swlogd: ospf_0 SEND debug2(7) (2891):(1775):Sent HELLO pkt len 48, area 0.0.0.0 src
192.168.1.1 iplen 68
dst 224.0.0.5 nHop 224.0.0.5 [curTime 246553s]
... swlogd: ospf_0 SEND debug2(7) (2891):(1775):Sent HELLO pkt len 48, area 0.0.0.0 src
192.168.1.1 iplen 68
dst 224.0.0.5 nHop 224.0.0.5 [curTime 246563s]
... swlogd: ospf_0 RECV debug2(7) (2891):(158): DBDESC pkt, intf 192.168.1.1: ipsa 192.168.1.2,
area 0.0.0.0, ip len 52
... swlogd: ospf_0 SEND debug2(7) (2891):(1775):Sent HELLO pkt len 48, area 0.0.0.0 src
192.168.1.1 iplen 68
dst 224.0.0.5 nHop 224.0.0.5 [curTime 246573s]
... swlogd: ospf_0 SEND debug2(7) (2891):(1775):Sent DBDESC pkt len 32, area 0.0.0.0 src
192.168.1.1 iplen 52
dst 192.168.1.2 nHop 192.168.1.2 [curTime 246573s]
... swlogd: ospf_0 SEND debug2(7) (2891):(1775):Sent DBDESC pkt len 52, area 0.0.0.0 src
192.168.1.1 iplen 72
dst 192.168.1.2 nHop 192.168.1.2 [curTime 246573s]
... swlogd: ospf_0 RECV debug2(7) (2891):(158): DBDESC pkt, intf 192.168.1.1: ipsa 192.168.1.2,
area 0.0.0.0, ip len 72
... swlogd: ospf_0 RECV debug2(7) (2891):(1386):[curTime=246573s] Scheduling send LSReqs
[REQ_COUNT=1]...
... swlogd: ospf_0 SEND debug2(7) (2891):(876):[curTime=246573s] (Pkt#1, #1 LSReqs), intf
192.168.1.1, dest 192.168.1.2
... swlogd: ospf_0 SEND debug2(7) (2891):(1775):Sent LSREQ pkt len 36, area 0.0.0.0 src
192.168.1.1 iplen 56 dst 192.168.1.2
nHop 192.168.1.2 [curTime 246573s]
... swlogd: ospf_0 SEND debug2(7) (2891):(893):[curTime=246573s] Intf 192.168.1.1 dest
192.168.1.2. Sent #1 pkts, #1 LSReqs
... swlogd: ospf_0 RECV debug2(7) (2891):(158): LSREQ pkt, intf 192.168.1.1: ipsa 192.168.1.2,
area 0.0.0.0, ip len 56
... swlogd: ospf_0 SEND debug2(7) (2891):(1775):Sent LSUPDATE pkt len 64, area 0.0.0.0 src
192.168.1.1 iplen 84
dst 192.168.1.2 nHop 192.168.1.2 [curTime 246573s
... swlogd: ospf_0 RECV debug2(7) (2891):(158): LSUPDATE pkt, intf 192.168.1.1: ipsa 192.168.1.2,
area 0.0.0.0, ip len 84
... swlogd: ospf_0 RECV debug2(7) (2891):(1542): [curTime=246573s] Rcvd #1 LSAs from Nbr
192.168.1.2, Intf 192.168.1.1
... swlogd: ospf_0 RECV debug2(7) (2891):(1565): Parsed Rcvd LS UPD msg for LSA #1
... swlogd: ospf_0 RECV debug2(7) LSA: Type 1,lsId 192.168.1.2,advRtr 192.168.1.2,seq
0x80000002,chkSum 0x9c73,age 5
... swlogd: ospf_0 RECV debug2(7) (2891):(1712): (0.0.0.0) Nbr 192.168.1.2: New LSA
(1,192.168.1.2/192.168.1.2)
... swlogd: ospf_0 RECV debug2(7) (2891):(2473):Processing LSA from Intf 192.168.1.1, Nbr
192.168.1.2
... swlogd: ospf_0 RECV debug2(7) LSA: Type 1, LS Id 192.168.1.2, AdvRtr 192.168.1.2, Length 36,
Age 5
... swlogd: ospf_0 STATE info(5) :OSPF Nbr=192.168.1.2 RID=192.168.1.2 state FULL
For more refined control, one can tweak the internal log levels with a "debug" cli command. Internally, the
ospf log levels are identical to the "drclog" logging levels that may be familiar to users of AOS 6 releases:
level = 1 => info
level = 50 => errors