Spanning-Tree Vlan - 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 vlan

Use the spanning-tree vlan global configuration command to configure spanning tree on a per-VLAN
basis. Use the no form of this command to return to the default setting.
Syntax Description
vlan-id
forward-time seconds
hello-time seconds
max-age seconds
priority priority
root primary
root secondary
diameter net-diameter
Defaults
Spanning tree is enabled on all VLANs.
The forward-delay time is 15 seconds.
The hello time is 2 seconds.
The max-age is 20 seconds.
The primary root switch priority is 24576.
The secondary root switch priority is 28672.
0L-10102-01
spanning-tree vlan vlan-id {forward-time seconds | hello-time seconds | max-age seconds |
priority priority | {root {primary | secondary} [diameter net-diameter
[hello-time seconds]]}}
no spanning-tree vlan vlan-id [forward-time | hello-time | max-age | priority | root]
VLAN range associated with a spanning-tree instance. You can specify a
single VLAN identified by VLAN ID number, a range of VLANs separated
by a hyphen, or a series of VLANs separated by a comma. The range is 1 to
4094.
Set the forward-delay time for the specified spanning-tree instance. The
forwarding time determines how long each of the listening and learning
states last before the interface begins forwarding. The range is 4 to 30
seconds.
Set the interval between hello bridge protocol data units (BPDUs) sent by
the root switch configuration messages. The range is 1 to 10 seconds.
Set the interval between messages the spanning tree receives from the root
switch. If a switch does not receive a BPDU message from the root switch
within this interval, it recomputes the spanning-tree topology. The range is
6 to 40 seconds.
Set the switch priority for the specified spanning-tree instance. This setting
affects the likelihood that the switch is selected as the root switch. A lower
value increases the probability that the switch is selected as the root switch.
The range is 0 to 61440 in increments of 4096 (4096, 8192, 12288, 16384,
20480, 24576, 28672, 32768, 36864, 40960, 45056, 49152, 53248, 57344,
and 61440). All other values are rejected.
Force this switch to be the root switch.
Set this switch to be the root switch should the primary root switch fail.
Set the maximum number of switches between any two end stations. The
range is 2 to 7.
Catalyst 2950 and Catalyst 2955 Switch Command Reference
spanning-tree vlan
2-481

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 2955

Table of Contents