API Guide
Interface Designated
Name PortID Prio Cost Sts Cost Bridge ID PortID
----------------------------------------------------------------------------------
VFP(VirtualFabricPort) 0.1 0 1 FWD 0 32768 0078.7614.6062 0.1
注: 要查看所有其他端口,请使用 show spanning-tree active 命令。
查看 STP 虚拟接口详细信息
OS10# show spanning-tree virtual-interface detail
Port 1 (VFP(VirtualFabricPort)) of RSTP 1 is designated Forwarding
Port path cost 1, Port priority 0, Port Identifier 0.1
Designated root priority: 32768, address: 00:78:76:14:60:62
Designated bridge priority: 32768, address: 00:78:76:14:60:62
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: 15, Received: 5
Identifier GUID-53B029A8-2B44-426A-85AA-2D7EC452DAE1
Version 2
Status Translation approved
MSTP 配置
在 VLT 节点上启用多个生成树协议 (MSTP) 时,在同一个 MST 区域中配置两个 VLT 对等节点,以避免网络循环。确保两个 VLT 对
等节点上的 VLAN 到实例映射、地区名称和版本 ID 相同。
注: OS10 最多支持 64 个 MST 实例。
要配置 MSTP over VLT,请在两个 VLT 对等节点上执行以下步骤:
1. 启用 MSTP。
CONFIGURATION 模式
spanning-tree mode mst
2. 进入 MST 配置模式。
CONFIGURATION 模式
spanning tree mst configuration
3. 创建 MST 实例并根据需要添加多个 VLAN。
MULTIPLE-SPANNING-TREE
instance instance-number vlan from-vlan-id — to-vlan-id
4. 配置 MST 版本号,从 0 到 65535。
MULTIPLE-SPANNING-TREE
revision revision-number
5. 配置 MST 区域名称。
MULTIPLE-SPANNING-TREE
name name-string
以下示例显示了两个 VLT 节点均配置了同一个 MST VLAN 到实例映射。
VLT Peer 1 confoguration
OS10(config)# spanning-tree mode mst
OS10(config)# spanning-tree mst configuration
OS10(conf-mst)# instance 1 vlan 2-10
OS10(conf-mst)# revision 10
OS10(conf-mst)# name ExampleMSTregion
VLT Peer 2 confoguration
OS10(config)# spanning-tree mode mst
OS10(config)# spanning-tree mst configuration
OS10(conf-mst)# instance 1 vlan 2-10
1222
虚拟链路中继