Command Line Reference Guide
Per-VLAN Spanning Tree plus (PVST+) | 1107
spanning-tree pvst
c e s
Configure PVST+ edge port with optional Bridge Port Data Unit (BPDU) guard, VLAN, port priority,
and port cost on an interface.
Syntax
spanning-tree pvst [edge-port [bpduguard [shutdown-on-violation]] | vlan vlan-range {cost
number | priority value}]
Parameters
Defaults
Not Configured
Command Modes
INTERFACE
Command
History
Usage
Information
The BPDU guard option prevents the port from participating in an active STP topology in case a
BPDU appears on a port unintentionally, or is misconfigured, or is subject to a DOS attack. This option
places the port into an error disable state if a BPDU appears, and a message is logged so that the
administrator can take corrective action.
edge-port
(OPTIONAL) Enter the keyword edge-port to configure the interface as a PVST+ edge port.
bpduguard (OPTIONAL) Enter the keyword portfast to enable Portfast to move the interface into
forwarding mode immediately after the root fails.
Enter the keyword
bpduguard to disable the port when it receives a BPDU.
shutdown-on-
violation
(OPTIONAL) Enter the keyword shutdown-on-violation to hardware disable an interface
when a BPDU is received and the port is disabled.
vlan
vlan-range
(OPTIONAL) Enter the keyword vlan followed by the VLAN number(s).
Range: 1 to 4094
cost number (OPTIONAL) Enter the keyword cost followed by the port cost value.
Range: 1 to 200000
Defaults:
100 Mb/s Ethernet interface = 200000
1-Gigabit Ethernet interface = 20000
10-Gigabit Ethernet interface = 2000
Port Channel interface with one 100 Mb/s Ethernet = 200000
Port Channel interface with one 1-Gigabit Ethernet = 20000
Port Channel interface with one 10-Gigabit Ethernet = 2000
Port Channel with two 1-Gigabit Ethernet = 18000
Port Channel with two 10-Gigabit Ethernet = 1800
Port Channel with two 100-Mbps Ethernet = 180000
priority value
(OPTIONAL) Enter the keyword
priority
followed the Port priority value in increments of 16.
Range: 0 to 240
Default: 128
Version 8.2.1.0 Introduced hardware shutdown-on-violation option
Version 7.6.1.0 Support added for S-Series
Version 7.5.1.0 Support added for C-Series
Version 7.4.1.0 Added the optional Bridge Port Data Unit (BPDU) guard
Version 6.2.1.1 Introduced










