Spanning-Tree Mst Max-Hops - Cisco Catalyst 2950 Command Reference Manual

Hide thumbs Also See for Catalyst 2950:
Table of Contents

Advertisement

Chapter 2
Catalyst 2950 and 2955 Cisco IOS Commands

spanning-tree mst max-hops

Use the spanning-tree mst max-hops global configuration command to set the number of hops in a
region before the bridge protocol data unit (BPDU) is discarded and the information held for a port is
aged. Use the no form of this command to return to the default setting.
Syntax Description
hop-count
Defaults
The default is 20 hops.
Command Modes
Global configuration
Command History
Release
12.1(9)EA1
12.1(20)EA2
Usage Guidelines
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 port when the count
reaches 0.
Changing the spanning-tree mst max-hops command affects all spanning-tree instances.
Examples
This example shows how to set the spanning-tree max-hops to 10 for all MST instances:
Switch(config)# spanning-tree mst max-hops 10
You can verify your settings by entering the show spanning-tree mst privileged EXEC command.
Related Commands
Command
show spanning-tree
spanning-tree mst forward-time
spanning-tree mst hello-time
spanning-tree mst max-age
0L-10102-01
spanning-tree mst max-hops hop-count
no spanning-tree mst max-hops
Number of hops in a region before the BPDU is discarded. The range is 1 to 40 hops.
Modification
This command was introduced.
This command was added to the standard software image (SI).
mst
Description
Displays multiple spanning-tree (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.
Catalyst 2950 and Catalyst 2955 Switch Command Reference
spanning-tree mst max-hops
2-465

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 2955

Table of Contents