Reference Guide

spanning-tree mst max-hops
Congures the maximum hop count for a BPDU to travel before it is discarded.
Syntax
spanning-tree mst max-hops number
Parameters number — Enter a maximum hop value (6 to 40).
Default 20
Command Mode CONFIGURATION
Usage Information A device receiving BPDUs waits until the max-hops value expires before discarding it. When a device receives the
BPDUs, it decrements the received value of the remaining hops and uses the resulting value as remaining-hops in
the BPDUs. If the remaining MSTP 1333 hops reach zero, the device discards the BPDU and ages out any
information that it holds for the port. The command conguration applies to all common IST (CIST) in the MST
region.
Example
OS10(config)# spanning-tree mst max-hops 30
Supported Releases 10.2.0E or later
spanning-tree port
Sets the port type as the EdgePort.
Syntax
spanning-tree port type edge
Parameters None
Default Not congured
Command Mode INTERFACE
Usage Information When you congure an EdgePort on a device running STP, the port immediately transitions to Forwarding state.
Only congured ports connected to end hosts act as EdgePorts.
Example
OS10(config)# spanning-tree port type edge
Supported Releases 10.2.0E or later
show spanning-tree mst
Displays MST conguration information.
Syntax
show spanning-tree mst configuration
Parameters None
Default Not congured
Command Mode EXEC
Usage Information Enable MSTl prior to using this command.
Example
OS10# show spanning-tree mst configuration
Region Name: asia
Revision: 0
MSTI VID
Layer 2 211