Cisco Nexus 5000 Series Switch CLI Software Configuration Guide, NX-OS 4.0(1a)N1 (OL-16597-01, January 2009)

Send feedback to nx5000-docfeedback@cisco.com
8-24
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
OL-16597-01
Chapter 8 Configuring Rapid PVST+
Configuring Rapid PVST+
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:
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.
Command Purpose
Step 1
switch# configure terminal
Enters configuration mode.
Step 2
switch(config)# spanning-tree vlan
vlan-range max-age value
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.
Command Purpose
Step 1
switch# configure terminal
Enters configuration mode.
Step 2
switch(config)# interface type
slot/port
Specifies the interface to configure, and enters the
interface configuration mode.
Step 3
switch(config-if)# spanning-tree
link-type {auto | point-to-point |
shared}
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.