OmniSwitch OS6860/OS6900/OS10K Troubleshooting Guide Part No.032996-00 Rev.A
AOS Release 7.X and 8.X January 2015
Alcatel-Lucent Page 46 of 148
For STP mode 1x1 please use (vid,1) as the argument
SHASTA #-> debug $(pidof stpNi) "call stpni_printStats(1,1)"
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/libthread_db.so.1".
0xb6a31cbc in epoll_wait () from /lib/libc.so.6
--------------------------------------------------------------------------------------------
| RX | TX | AGGR BPDU
PORT| Bpdu RBpdu MBpdu Flg80 Flg01 TCN | Bpdu RBpdu MBpdu Flg80 Flg01 TCN | Rx Tx
--------------------------------------------------------------------------------------------
x00: 0 124 0 0 4 0 0 9 0 0 4 0 0 0
x02: 0 124 0 0 4 0 0 5 0 0 2 0 0 0
--------------------------------------------------------------------------------------------
$1 = 1
For STP and MSTP mode flat please use (0,0) as the argument
SHASTA #-> debug $(pidof stpNi) "call stpni_printStats(0,0)"
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/libthread_db.so.1".
0xb6a31cbc in epoll_wait () from /lib/libc.so.6
--------------------------------------------------------------------------------------------
| RX | TX | AGGR BPDU
PORT| Bpdu RBpdu MBpdu Flg80 Flg01 TCN | Bpdu RBpdu MBpdu Flg80 Flg01 TCN | Rx Tx
--------------------------------------------------------------------------------------------
x00: 0 289 0 0 6 0 0 11 0 0 6 0 0 0
x02: 0 289 0 0 6 0 0 7 0 0 3 0 0 0
--------------------------------------------------------------------------------------------
$1 = 1
For MSTI instance 1 please use (1,0) as the argument. { (instance,0) 0 represents the flat mode }
SHASTA #-> debug $(pidof stpNi) "call stpni_printStats(1,0)"
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/libthread_db.so.1".
0xb6a31cbc in epoll_wait () from /lib/libc.so.6
--------------------------------------------------------------------------------------------
| RX | TX | AGGR BPDU
PORT| Bpdu RBpdu MBpdu Flg80 Flg01 TCN | Bpdu RBpdu MBpdu Flg80 Flg01 TCN | Rx Tx
--------------------------------------------------------------------------------------------
x00: 0 289 0 0 6 0 0 11 0 0 6 0 0 0
x02: 0 289 0 0 6 0 0 7 0 0 3 0 0 0
--------------------------------------------------------------------------------------------
$1 = 1
Column description:
RX - All the BPDU received by the swith
Bpdu - 802.1d BPDUs
RBpdu - 802.1w BPDUs
Flg80 - BPDUs with flag 80 set (Topology Change Acknowledgement)
Flg01 - BPDUs with flag 01 set (Topology Change)
TX: All the BPDU sent by the swith
Bpdu - 802.1d BPDUs
RBpd - 802.1w BPDUs
Flg80 - BPDUs with flag 80 set (Topology Change Acknowledgement)
Flg01 - BPDUs with flag 01 set (Topology Change)