Configuring Pvst Simulation Globally-Cli Version - Cisco Nexus 7000 Series Configuration Manual

Nx-os layer 2 switching
Hide thumbs Also See for Nexus 7000 Series:
Table of Contents

Advertisement

Configuring STP Extensions Using Cisco NX-OS
Command or Action
Step 6
switch(config-if)# spanning-tree guard
{loop | root | none}
Step 7
switch(config-if)# exit
Step 8
switch# show spanning-tree interface type
slot/port detail
Step 9
switch(config)# copy running-config
startup-config
This example shows how to enable Root Guard on Ethernet port 1/4:
switch# config t
switch(config)# interface etherent 1/4
switch(config-if)# spanning-tree guard root
switch(config-if)# exit
switch(config)#
Configuring PVST Simulation Globally—CLI Version
PVST simulation is enabled by default. By default, all interfaces on the device interoperate between MST
Note
and Rapid PVST+.
MST interoperates with Rapid PVST+. However, to prevent an accidental connection to a device that does
not run MST as the default STP mode, you may want to disable this automatic feature. If you disable PVST
simulation, the MST-enabled port moves to the blocking state once it detects it is connected to a Rapid
PVST+-enabled port. This port remains in the inconsistent state until the port stops receiving BPDUs, and
then the port resumes the normal STP transition process.
You can block this automatic feature either globally or per port. You can enter the global command and change
the PVST simulation setting for the entire device while you are in interface configuration command mode.
Before You Begin
Ensure that you are in the correct VDC (or enter the switchto vdc command).
SUMMARY STEPS
1. switch# config t
2. switch(config)# no spanning-tree mst simulate pvst global
3. switch(config)# exit
4. (Optional) switch# show spanning-tree summary
5. (Optional) switch# copy running-config startup-config
Purpose
Enables or disables either Loop Guard or Root Guard for the specified
interface. By default, Root Guard is disabled by default, and Loop
Guard on specified ports is also disabled.
The example shows Root Guard is enabled on a different interface.
Exits interface mode.
(Optional)
Displays summary STP information.
(Optional)
Copies the running configuration to the startup configuration.
Cisco Nexus 7000 Series NX-OS Layer 2 Switching Configuration Guide, Release 5.x
Configuring PVST Simulation Globally—CLI Version
199

Advertisement

Table of Contents
loading

Table of Contents