Spanning-Tree Mst Max-Hops - Cisco Catalyst 3560-X Command Reference Manual

Hide thumbs Also See for Catalyst 3560-X:
Table of Contents

Advertisement

spanning-tree mst max-hops

spanning-tree mst max-hops
Syntax Description
Defaults
Command Modes
Command History
Usage Guidelines
Examples
Related Commands
Catalyst 3750-X and 3560-X Switch Command Reference
2-824
Downloaded from
www.Manualslib.com
Use the spanning-tree mst max-hops global configuration command on the switch stack or on a
standalone switch to set the number of hops in a region before the bridge protocol data unit (BPDU) is
discarded and the information held for an interface is aged. Use the no form of this command to return
to the default setting.
spanning-tree mst max-hops hop-count
no spanning-tree mst max-hops
hop-count
Number of hops in a region before the BPDU is discarded. The range is 1 to 255 hops.
The default is 20 hops.
Global configuration
Release
Modification
12.2(53)SE2
This command was introduced.
The root switch of the instance always sends a BPDU (or M-record) with a cost of 0 and the hop count
set to the maximum value. When a switch receives this BPDU, it decrements the received remaining hop
count by one and propagates the decremented count as the remaining hop count in the generated
M-records. A switch discards the BPDU and ages the information held for the interface when the count
reaches 0.
Changing the spanning-tree mst max-hops command affects all spanning-tree instances.
This example shows how to set the spanning-tree max-hops to 10 for all multiple spanning-tree (MST)
instances:
Switch(config)# spanning-tree mst max-hops 10
You can verify your setting by entering the show spanning-tree mst privileged EXEC command.
Command
show spanning-tree
mst
spanning-tree mst forward-time
spanning-tree mst hello-time
spanning-tree mst max-age
manuals search engine
Chapter 2 Catalyst 3750-X and 3560-X Cisco IOS Commands
Description
Displays MST information.
Sets the forward-delay time for all MST instances.
Sets the interval between hello BPDUs sent by root switch
configuration messages.
Sets the interval between messages that the spanning tree
receives from the root switch.
OL-21522-02

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 3750-x

Table of Contents