API Guide

Identifier GUID-0BDE9939-3098-47C5-9594-1009733C9EA1
Version 8
Status Translation approved
创建实例
您可以创建多个 MSTP 实例并映射 VLAN。要充分利用 MSTP请创建多个 MSTI 并将 VLAN 映射到它们。
1. CONFIGURATION 模式下输入实例编号。
spanning tree mst configuration
2. MULTIPLE-SPANNING-TREE 模式下输入 MST 实例编号 0 63。对于 Mt.Echo 平台MULTIPLE-SPANNING-TREE 模式
0 61
: Mt. Echo 平台总共支持 64 个实例其中 1 个为 VLT 控制 VLAN1 个用于 L3 VLAN1 个用于默认的 STP 实例。运行
快速 pvst 风格时将为每个 VLAN 分配一个实例直至 VLAN 数达到 6161 之后的 VLAN 映射到默认实例。
instance instance-number
3. 输入要在 MULTIPLE-SPANNING-TREE 模式下参与 MST 实例的 VLAN ID 1 4096
instance vlan-id
创建 MST 实例
OS10(config)# spanning-tree mst configuration
OS10(conf-mst)# name Dell
OS10(conf-mst)# revision 100
OS10(conf-mst)# instance 1 vlan 2-10
OS10(conf-mst)# instance 2 vlan 11-20
OS10(conf-mst)# instance 3 vlan 21-30
查看 VLAN 实例映射
OS10# show spanning-tree mst configuration
Region Name: Dell
Revision: 100
MSTI VID
0 1,31-4093
1 2-10
2 11-20
3 21-30
查看端口转发/丢弃状态
OS10# show spanning-tree msti 0 brief
Spanning tree enabled protocol msti with force-version mst
MSTI 0 VLANs mapped 1,31-4093
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, max hops 20
Bridge ID Priority 32768, Address 90b1.1cf4.a523
Configured hello time 2, max age 20, forward delay 15, max hops 20
CIST regional root ID Priority 32768, Address 90b1.1cf4.a523
CIST external path cost 500
Interface Designated
Name PortID Prio Cost Sts Cost Bridge ID PortID
-----------------------------------------------------------------------------------
ethernet1/1/1 128.260 128 200000000 BLK 0 32768 90b1.1cf4.a523 128.260
ethernet1/1/2 128.264 128 200000000 BLK 0 32768 90b1.1cf4.a523 128.264
ethernet1/1/3 128.268 128 200000000 BLK 0 32768 90b1.1cf4.a523 128.268
ethernet1/1/4 128.272 128 200000000 BLK 0 32768 90b1.1cf4.a523 128.272
ethernet1/1/5 128.276 128 500 FWD 0 32768 3417.4455.667f 128.146
ethernet1/1/6 128.280 128 500 BLK 0 32768 3417.4455.667f 128.150
ethernet1/1/7 128.284 128 200000000 BLK 0 32768 90b1.1cf4.a523 128.284
ethernet1/1/8 128.288 128 200000000 BLK 0 32768 90b1.1cf4.a523 128.288
ethernet1/1/9 128.292 128 200000000 BLK 0 32768 90b1.1cf4.a523 128.292
ethernet1/1/10 128.296 128 200000000 BLK 0 32768 90b1.1cf4.a523 128.296
ethernet1/1/11 128.300 128 200000000 BLK 0 32768 90b1.1cf4.a523 128.300
ethernet1/1/12 128.304 128 200000000 BLK 0 32768 90b1.1cf4.a523 128.304
2 463