API Guide

Bridge ID Priority 32768, Address 90b1.1cf4.9b8a
We are the root of MSTI 0
Configured hello time 2, max age 20, forward delay 15, max hops 20
Interface Designated
Name PortID Prio Cost Sts Cost Bridge ID PortID
----------------------------------------------------------------
ethernet1/1/1 132.128 128 200000000 BLK 0 32768 90b1.1cf4.9b8a 128.132
ethernet1/1/2 136.128 128 200000000 BLK 0 32768 90b1.1cf4.9b8a 128.136
ethernet1/1/3 140.128 128 200000000 BLK 0 32768 90b1.1cf4.9b8a 128.140
ethernet1/1/4 144.128 128 200000000 BLK 0 32768 90b1.1cf4.9b8a 128.144
ethernet1/1/5 148.128 128 200000000 BLK 0 32768 90b1.1cf4.9b8a 128.148
ethernet1/1/6 152.128 128 200000000 BLK 0 32768 90b1.1cf4.9b8a 128.152
ethernet1/1/7 156.128 128 200000000 BLK 0 32768 90b1.1cf4.9b8a 128.156
...
Interface
Name Role PortID Prio Cost Sts Cost Link-type Edge
---------------------------------------------------------------
ethernet1/1/1 Disb 128.132 128 200000000 BLK 0 SHARED No
ethernet1/1/2 Disb 128.136 128 200000000 BLK 0 SHARED No
ethernet1/1/3 Disb 128.140 128 200000000 BLK 0 SHARED No
ethernet1/1/4 Disb 128.144 128 200000000 BLK 0 SHARED No
ethernet1/1/5 Disb 128.148 128 200000000 BLK 0 SHARED No
ethernet1/1/6 Disb 128.152 128 200000000 BLK 0 SHARED No
ethernet1/1/7 Disb 128.156 128 200000000 BLK 0 SHARED No
ethernet1/1/8 Disb 128.160 128 200000000 BLK 0 SHARED No
ethernet1/1/9 Disb 128.164 128 200000000 BLK 0 SHARED No
示例接口
OS10# show spanning-tree msti 1 interface ethernet 1/1/1
ethernet1/1/1 of vlan1 is root Forwarding
Edge port:no (default) port guard :none (default)
Link type is point-to-point (auto)
Boundary :internal bpdu filter : bpdu guard : bpduguard shutdown-on-
violation :disable RootGuard: disable LoopGuard disable
Bpdus (MRecords) sent 3779, received 7
Interface Designated
Name PortID Prio Cost Sts Cost Bridge ID PortID
------------------------------------------------------------
ethernet1/1/1 128.132 128 20000 FWD 0 32768 74e6.e2f5.dd80 128.132
示例防护
OS10# show spanning-tree msti 1 guard
Interface
Name Instance Sts Guard Type
------------------------------------------
ethernet1/1/1 MSTI 1 FWD root
ethernet1/1/2 MSTI 1 FWD loop
ethernet1/1/3 MSTI 1 BLK none
ethernet1/1/4 MSTI 1 FWD none
ethernet1/1/5 MSTI 1 BLK none
ethernet1/1/6 MSTI 1 BLK none
ethernet1/1/7 MSTI 1 BLK none
ethernet1/1/8 MSTI 1 BLK none
...
示例虚拟接口
agg-6146 # show spanning-tree msti 0 virtual-interface
VFP(VirtualFabricPort) of MSTI 0 is Designated Forwarding
Edge port: No (default)
Link type: point-to-point (auto)
Boundary: No, Bpdu-filter: Disable, Bpdu-Guard: Disable, Shutdown-on-Bpdu-Guard-violation: No
Root-Guard: Disable, Loop-Guard: Disable
Bpdus (MRecords) Sent: 250, Received: 240
Interface Designated
Name PortID Prio Cost Sts Cost Bridge ID PortID
-------------------------------------------------------------------------------------------------------------------
VFP(VirtualFabricPort) 0.1 0 1 FWD 0 32768 3417.ebf2.a8c4 0.1
命令历史记录
10.2.0E or later
2 473