Configuring Rapid PVST+
S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m
Command
Step 1
switch# configure terminal
Step 2
switch(config)# spanning-tree vlan
vlan-range max-age value
This example shows how to configure the maximum aging time for VLAN 5 to 36 seconds:
switch# configure terminal
switch(config)# spanning-tree vlan 5 max-age 36
Specifying the Link Type
Rapid connectivity (802.1w standard) is established only on point-to-point links. By default, the link
type is controlled from the duplex mode of the interface. A full-duplex port is considered to have a
point-to-point connection; a half-duplex port is considered to have a shared connection.
If you have a half-duplex link physically connected point-to-point to a single port on a remote switch,
you can override the default setting on the link type and enable rapid transitions.
If you set the link to shared, STP moves back to 802.1D.
To specify the link type, perform this task:
Command
Step 1
switch# configure terminal
Step 2
switch(config)# interface type
slot/port
Step 3
switch(config-if)# spanning-tree
link-type {auto | point-to-point |
shared}
This example shows how to configure the link type as a point-to-point link:
switch# configure terminal
switch (config)# interface ethernet 1/4
switch(config-if)# spanning-tree link-type point-to-point
You can only apply this command to a physical Ethernet interface.
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
1-24
Chapter 1
Purpose
Enters configuration mode.
Configures the maximum aging time of a VLAN. The
maximum aging time value can be from 6 to 40
seconds, and the default is 20 seconds.
Purpose
Enters configuration mode.
Specifies the interface to configure, and enters the
interface configuration mode.
Configures the link type to be either a point-to-point
link or shared link. The system reads the default value
from the switch connection, as follows: half duplex
links are shared and full-duplex links are
point-to-point. If the link type is shared, the STP
reverts to 802.1D. The default is auto, which sets the
link type based on the duplex setting of the interface.
Configuring Rapid PVST+
OL-16597-01