Connectivity Guide

4 Change the max-hops parameter in CONFIGURATION mode, from 1 to 40, default 20.
spanning-tree mst max-hops number
MST conguration
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
View MSTP parameter values
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
Interface parameters
Adjust two interface parameters to increase or decrease the likelihood that a port becomes a forwarding port.
Port cost
Interface type value. The greater the port cost, the less likely the port is a forwarding port.
Port priority Inuences the likelihood that a port is selected as a forwarding port if several ports have the same port cost.
Default values for the port cost by interface:
100-Mb/s Ethernet interfaces — 200000
1-Gigabit Ethernet interfaces — 20000
10-Gigabit Ethernet interfaces — 2000
Port-channel with 100 Mb/s Ethernet interfaces — 180000
Port-channel with 1-Gigabit Ethernet interfaces — 18000
Port-channel with 10-Gigabit Ethernet interfaces — 1800
1 Change the port cost of an interface in INTERFACE mode, from 0 to 200000000.
spanning-tree msti number cost cost
2 Change the port priority of an interface in INTERFACE mode, from 0 to 240 in increments of 16, default 128.
spanning-tree msti number priority priority
View MSTi interface conguration
OS10(conf-if-eth1/1/7)# do show spanning-tree msti 0 interface ethernet 1/1/7
ethernet1/1/7 of MSTI 0 is Designated Forwarding
Edge port: No (default)
Link type: point-to-point (auto)
Layer 2
321