Configuring MST Using Cisco NX-OS
This example shows how to configure the maximum-aging timer of the device to 40 seconds:
switch# config t
switch(config)# spanning-tree mst max-age 40
switch(config)# exit
switch#
Configuring the MST Maximum-Hop Count
You can configure the maximum hops inside the region and apply it to the IST and all MST instances in that
region. MST uses the path cost to the IST regional root and a hop-count mechanism similar to the IP time-to-live
(TTL) mechanism. The hop count achieves the same result as the message-age information (triggers a
reconfiguration).
Before You Begin
Ensure that you are in the correct VDC (or enter the switchto vdc command).
SUMMARY STEPS
1. config t
2. spanning-tree mst max-hops hop-count
3. exit
4. (Optional) show spanning-tree mst
5. (Optional) copy running-config startup-config
DETAILED STEPS
Command or Action
Step 1
config t
Example:
switch# config t
switch(config)#
Step 2
spanning-tree mst max-hops hop-count
Example:
switch(config)# spanning-tree mst max-hops 40
Step 3
exit
Example:
switch(config-mst)# exit
switch#
Purpose
Enters global configuration mode.
Specifies the number of hops in a region before the BPDU
is discarded and the information held for a port is aged. For
hop-count, the range is from 1 to 255, and the default value
is 20 hops.
Exits MST configuration submode.
Cisco Nexus 7000 Series NX-OS Layer 2 Switching Configuration Guide, Release 5.x
Configuring the MST Maximum-Hop Count
167