Configuring the Rapid PVST+ Maximum Age Time for a VLAN—CLI Version
Before You Begin
Ensure that you are in the correct VDC (or enter the switchto vdc command).
SUMMARY STEPS
1. config t
2. spanning-tree vlan vlan-range max-age value
3. exit
4. (Optional) show spanning-tree vlan vlan_id
5. (Optional) copy running-config startup-config
DETAILED STEPS
Command or Action
Step 1
config t
Example:
switch# config t
switch(config)#
Step 2
spanning-tree vlan vlan-range max-age value
Example:
switch(config)# spanning-tree vlan 5 max-age 36
Step 3
exit
Example:
switch(config)# exit
switch#
Step 4
show spanning-tree vlan vlan_id
Example:
switch# show spanning-tree vlan 5
Step 5
copy running-config startup-config
Example:
switch# copy running-config startup-config
This example shows how to configure the maximum aging time for VLAN 5 to 36 seconds:
switch# config t
switch(config)# spanning-tree vlan 5 max-age 36
switch(config)# exit
switch#
Cisco Nexus 7000 Series NX-OS Layer 2 Switching Configuration Guide, Release 5.x
124
Configuring Rapid PVST+ Using Cisco NX-OS
Purpose
Enters global 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.
Exits global configuration mode.
(Optional)
Displays the STP configuration per VLAN.
(Optional)
Copies the running configuration to the startup
configuration.