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-25
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
OL-16597-01
Chapter 8 Configuring Rapid PVST+
Verifying Rapid PVST+ Configurations
Restarting the Protocol
A bridge running Rapid PVST+ can send 802.1D BPDUs on one of its ports when it is connected to a
legacy bridge. However, the STP protocol migration cannot determine whether the legacy switch has
been removed from the link unless the legacy switch is the designated switch. You can restart the
protocol negotiation (force the renegotiation with neighboring switches) on the entire switch or on
specified interfaces.
To restart the protocol negotiation, perform this task:
This example shows how to restart Rapid PVST+ on the Ethernet interface on slot 2, port 8:
switch# clear spanning-tree detected-protocol interface ethernet 2/8
Verifying Rapid PVST+ Configurations
To display Rapid PVST+ configuration information, perform one of these tasks:
This example shows how to display spanning tree status:
switch# show spanning-tree brief
VLAN0001
Spanning tree enabled protocol rstp
Root ID Priority 32768
Address 001c.b05a.5447
Cost 2
Port 131 (Ethernet1/3)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 32769 (priority 32768 sys-id-ext 1)
Address 000d.ec6d.7841
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Interface Role Sts Cost Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Eth1/3 Root FWD 2 128.131 P2p Peer(STP)
veth1/1 Desg FWD 2 128.129 Edge P2p
Command Purpose
switch# clear spanning-tree
detected-protocol [interface interface
[interface-num | port-channel]]
Restarts Rapid PVST+ on all interfaces on the switch
or specified interfaces.
Command Purpose
switch# show running-config
spanning-tree [all]
Displays the current spanning tree configuration.
switch# show spanning-tree [options]
Displays selected detailed information for the current
spanning tree configuration.