API Guide

View all port participating in RSTP
OS10# show spanning-tree
Spanning tree enabled protocol rstp with force-version rstp
Executing IEEE compatible Spanning Tree Protocol
Root ID Priority 32768, Address 3417.4455.667f
Root Bridge hello time 2, max age 20, forward delay 15
Bridge ID Priority 32768, Address 90b1.1cf4.a523
Configured hello time 2, max age 20, forward delay 15
Interface Designated
Name PortID Prio Cost Sts Cost Bridge ID PortID
-----------------------------------------------------------------------------------
ethernet1/1/1 128.260 128 200000000 BLK 0 0 0000.0000.0000 0.0
ethernet1/1/2 128.264 128 200000000 BLK 0 0 0000.0000.0000 0.0
ethernet1/1/3 128.268 128 200000000 BLK 0 0 0000.0000.0000 0.0
ethernet1/1/4 128.272 128 200000000 BLK 0 0 0000.0000.0000 0.0
ethernet1/1/5:1 128.276 128 200000000 BLK 0 0 0000.0000.0000 0.0
ethernet1/1/5:2 128.277 128 200000000 BLK 0 0 0000.0000.0000 0.0
ethernet1/1/5:3 128.278 128 200000000 BLK 0 0 0000.0000.0000 0.0
ethernet1/1/5:4 128.279 128 200000000 BLK 0 0 0000.0000.0000 0.0
ethernet1/1/6:1 128.280 128 2000 FWD 0 32768 3417.4455.667f 128.150
ethernet1/1/6:2 128.281 128 2000 FWD 0 32768 3417.4455.667f 128.151
ethernet1/1/6:3 128.282 128 2000 FWD 0 32768 3417.4455.667f 128.152
ethernet1/1/6:4 128.283 128 2000 BLK 0 32768 3417.4455.667f 128.153
ethernet1/1/7 128.284 128 200000000 BLK 0 0 0000.0000.0000 0.0
ethernet1/1/8 128.288 128 200000000 BLK 0 0 0000.0000.0000 0.0
ethernet1/1/9 128.292 128 200000000 BLK 0 0 0000.0000.0000 0.0
ethernet1/1/10 128.296 128 200000000 BLK 0 0 0000.0000.0000 0.0
ethernet1/1/11 128.300 128 200000000 BLK 0 0 0000.0000.0000 0.0
ethernet1/1/12 128.304 128 200000000 BLK 0 0 0000.0000.0000 0.0
ethernet1/1/13 128.308 128 200000000 BLK 0 0 0000.0000.0000 0.0
ethernet1/1/14 128.312 128 200000000 BLK 0 0 0000.0000.0000 0.0
ethernet1/1/15 128.316 128 200000000 BLK 0 0 0000.0000.0000 0.0
ethernet1/1/16 128.320 128 200000000 BLK 0 0 0000.0000.0000 0.0
ethernet1/1/17 128.324 128 200000000 BLK 0 0 0000.0000.0000 0.0
ethernet1/1/18 128.328 128 200000000 BLK 0 0 0000.0000.0000 0.0
ethernet1/1/19 128.332 128 200000000 BLK 0 0 0000.0000.0000 0.0
ethernet1/1/20 128.336 128 200000000 BLK 0 0 0000.0000.0000 0.0
ethernet1/1/21 128.340 128 200000000 BLK 0 0 0000.0000.0000 0.0
ethernet1/1/22 128.344 128 200000000 BLK 0 0 0000.0000.0000 0.0
ethernet1/1/23 128.348 128 200000000 BLK 0 0 0000.0000.0000 0.0
ethernet1/1/24 128.352 128 200000000 BLK 0 0 0000.0000.0000 0.0
ethernet1/1/25 128.356 128 200000000 BLK 0 0 0000.0000.0000 0.0
ethernet1/1/26 128.360 128 200000000 BLK 0 0 0000.0000.0000 0.0
ethernet1/1/27 128.364 128 200000000 BLK 0 0 0000.0000.0000 0.0
ethernet1/1/28 128.368 128 200000000 BLK 0 0 0000.0000.0000 0.0
ethernet1/1/29 128.372 128 200000000 BLK 0 0 0000.0000.0000 0.0
ethernet1/1/30 128.376 128 200000000 BLK 0 0 0000.0000.0000 0.0
ethernet1/1/31 128.380 128 200000000 BLK 0 0 0000.0000.0000 0.0
ethernet1/1/32 128.384 128 200000000 BLK 0 0 0000.0000.0000 0.0
Layer 2
489