Users Guide
To disable Spanning Tree group on an interface, use the no spanning-tree stp-id {cost cost |
{rootguard} | portfast [bpduguard [shutdown-on-violation] | bpdufilter] |
priority priority} command.
Parameters
stp-id Enter the STP instance ID. The range is 0.
cost cost Enter the keyword cost then a number as the cost. The range is 1 to 65535. The
defaults are:
• 10-Gigabit Ethernet interface = 2.
• Port Channel interface with 10-Gigabit Ethernet = 1.
rootguard Enter the keyword rootguard to enable STP root guard on a port or port-channel
interface.
portfast [bpduguard
[shutdown-on-viol
ation] | bpdulter]
Enter the keyword portfast to enable Portfast to move the interface into Forwarding
mode immediately after the root fails.
Enter the optional keyword bpduguard to disable the port when it receives a BPDU.
Enter the optional keywords shutdown-on-violation to hardware disable an
interface when a BPDU is received and the port is disabled.
Enter the keyword bpdufilter to enable on an interface; it should stop sending and
receiving BPDUs on the port fast enabled ports.
priority priority Enter keyword priority then a number as the priority. The range is zero (0) to 15. The
default is 8.
Defaults cost = depends on the interface type; priority = 8
Command Modes INTERFACE
Supported Modes Full–Switch Mode
Command History
Version Description
9.9(0.0) Introduced on the FN IOM.
8.3.16.1 Introduced on the MXL 10/40GbE Switch IO Module..
Usage Information
If you enable portfast bpduguard on an interface and the interface receives a BPDU, the software disables
the interface and sends a message stating that fact. The port is in ERR_DISABLE mode, yet appears in the show
interface
commands as enabled. If you do not enable shutdown-on-violation, BPDUs still are sent to
the RPM CPU.
STP root guard is supported on a port or port-channel enabled in any Spanning Tree mode: Spanning Tree Protocol
(STP), Rapid Spanning Tree Protocol (RSTP), Multiple Spanning Tree Protocol (MSTP), and Per-VLAN Spanning
Tree Plus (PVST+).
Root guard is supported on any STP-enabled port or port-channel except when used as a stacking port. When
enabled on a port, root guard applies to all VLANs congured on the port.
1310 Spanning Tree Protocol (STP)