API Guide

查看 VLTi 上的 RPVST+ 信息
OS10# show spanning-tree virtual-interface
VFP(VirtualFabricPort) of vlan 100 is Designated Blocking
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: 7, Received: 9
Interface Designated
Name PortID Prio Cost Sts Cost Bridge
ID PortID
----------------------------------------------------------------------------------------------
---------------
VFP(VirtualFabricPort) 0.1 0 1 BLK 0 4196
90b1.1cf4.a602 0.1
: 要查看所有其他端口请使用 show spanning-tree active 命令。
详细查看 VLTi 上的 RPVST+ 信息
OS10# show spanning-tree virtual-interface detail
Port 1 (VFP(VirtualFabricPort)) of vlan1 is designated Forwarding
Port path cost 1, Port priority 0, Port Identifier 0.1
Designated root priority: 4097, address: 90:b1:1c:f4:a6:02
Designated bridge priority: 4097, address: 90:b1:1c:f4:a6:02
Designated port ID: 0.1, designated path cost: 0
Number of transitions to forwarding state: 1
Edge port: No (default)
Link Type: Point-to-Point
BPDU Sent: 202, Received: 42
Port 1 (VFP(VirtualFabricPort)) of vlan100 is designated Forwarding
Port path cost 1, Port priority 0, Port Identifier 0.1
Designated root priority: 4196, address: 90:b1:1c:f4:a6:02
Designated bridge priority: 4196, address: 90:b1:1c:f4:a6:02
Designated port ID: 0.1, designated path cost: 0
Number of transitions to forwarding state: 1
Edge port: No (default)
Link Type: Point-to-Point
BPDU Sent: 101, Received: 21
Identifier
GUID-8DEA8138-EF84-4977-98FC-9A80FA300E03
Version 8
Status Translation approved
RSTP 配置
CONFIGURATION 模式下的每个对等节点上启用 RSTP
spanning-tree mode rstp
配置 RSTP - 对等 1
OS10(config)# spanning-tree mode rstp
配置 RSTP - 对等 2
OS10(config)# spanning-tree mode rstp
查看 VLTi 特定的 STP 信息
OS10# show spanning-tree virtual-interface
VFP(VirtualFabricPort) of RSTP 1 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: 11, Received: 7
虚拟链路中继
1221