API Guide

2. CONFIGURATION 模式下更改最长期限参数 1 10默认值为 2Dell EMC 建议增加针对大型配置特别是具有更多端口
的配置的问候时间。
spanning-tree mst hello-time seconds
3. CONFIGURATION 模式下更改问候时间参数 6 40默认值为 20
spanning-tree mst max-age seconds
4. CONFIGURATION 模式下更改最大跳参数 1 40默认值为 20
spanning-tree mst max-hops number
MST 配置
OS10(config)# spanning-tree mst
OS10(config)# spanning-tree mst forward-time 16
OS10(config)# spanning-tree mst hello-time 5
OS10(config)# spanning-tree mst max-age 10
OS10(config)# spanning-tree mst max-hops 30
查看 MSTP 参数值
OS10# show spanning-tree active
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 10, max age 40, forward delay 30, max hops 40
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/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
Interface
Name Role PortID Prio Cost Sts Cost Link-type Edge
------------------------------------------------------------------
ethernet1/1/5 Root 128.276 128 500 FWD 0 AUTO No
ethernet1/1/6 Altr 128.280 128 500 BLK 0 AUTO No
Identifier
GUID-30DF7444-98D7-449C-BB11-21A8EF40DAC8
Version 6
Status Translation approved
接口参数
调整两个接口参数以提高或降低端口成为转发端口的可能性。
端口成本
接口类型值。端口成本越高端口为转发端口的可能性就越小。
端口优先级
在多个端口具有相同的端口成本的情况下影响将端口选为转发端口的可能性。
按接口的端口成本默认值
100 Mb/s 以太网接口 200000
1 Gb 以太网接口 20000
10 Gb 以太网接口 2000
端口通道带有 100 Mb/s 以太网接口 180000
端口通道带有 1 Gb 以太网接口 18000
端口通道带有 10 Gb 以太网接口 1800
1. INTERFACE 模式下将接口的端口成本从 1 更改为 200000000
spanning-tree msti number cost 1
466 2