1210
Cisco Nexus 5500 Series NX-OS Layer 2 Interfaces Command Reference
OL-27880-02
Chapter S Commands
spanning-tree vlan
spanning-tree vlan
To configure Spanning Tree Protocol (STP) parameters on a per-VLAN basis, use the
spanning-tree
vlan
command. To return to the default settings, use the
no
form of this command.
spanning-tree vlan
vlan-id
{
fex-hello-time
value
| forward-time
value
|
hello-time
value
|
max-age
value
|
priority
value
| [
root
{
primary
|
secondary
} [
diameter
dia
[
hello-time
value
]]]]
no spanning-tree vlan
vlan-id
[
fex-hello-time
|
forward-time
|
hello-time
|
max-age
|
priority
|
root
]
Syntax Description
Command Default
The defaults are as follows:
•
fex-hello-time—
12 seconds
•
forward-time
—15 seconds
•
hello-time
—2 seconds
•
max-age
—20 seconds
•
priority
—32768
Command Modes
Global configuration mode
Command History
vlan-id
VLAN identification number. The VLAN ID range is from 0 to 4094.
fex-hello-time
value
(Optional) Specifies the hello interval for FEX ports spanning tree. The
range is from 2 to 12 seconds.
forward-time
value
(Optional) Specifies the STP forward-delay time. The range is from 4 to
30 seconds.
hello-time
value
(Optional) Specifies the number of seconds between the generation of
configuration messages by the root switch. The range is from 1 to 10
seconds.
max-age
value
(Optional) Specifies the maximum number of seconds that the information
in a BPDU is valid. The range is from 6 to 40 seconds.
priority
value
(Optional) Specifies the STP-bridge priority; the valid values are 0, 4096,
8192, 12288, 16384, 20480, 24576, 28672, 32768, 36864, 40960, 45056,
49152, 53248, 57344, or 61440. All other values are rejected.
root primary
(Optional) Forces this switch to be the root bridge.
root secondary
(Optional) Forces this switch to be the root switch if the primary root fails.
diameter
dia
(Optional) Specifies the maximum number of bridges between any two
points of attachment between end stations.
Release
Modification
5.2(1)N1(1)
This command was introduced.