Reference Guide

edge-port Enter the keywords edge-port to configure the interface as a rapid
spanning tree 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 keywords shutdown-on-violation to
hardware disable an interface when a BPDU is received and the port
is disabled.
priority
priority
Enter keyword priority then a value in increments of 16 as the
priority. The range is from 0 to 240. The default is
128.
loopguard Enter the keyword loopguard to enable loop guard on an RSTP
port or port-channel interface.
rootguard Enter the keyword rootguard to enable root guard on an RSTP port
or port-channel interface.
Defaults Not configured.
Command Modes INTERFACE
Command History
This guide is platform-specific. For command information about other platforms, refer to the
relevant
FTOS Command Line Reference Guide
.
The following is a list of the FTOS version history for this command.
Version 8.3.19.0 Introduced on the S4820T.
Version 8.3.11.1 Introduced on the Z9000.
Version 8.4.2.1 Added support for the optional guard keyword on the C-Series, S-
Series, and E-Series TeraScale.
Version 8.3.7.0 Introduced on the S4810.
Version 8.2.1.0 Introduced the hardware shutdown-on-violation options.
Version 7.6.1.0 Introduced on the S-Series.
Version 7.5.1.0 Introduced on the C-Series.
Version 7.4.1.0 Added the optional bridge port data unit (BPDU) guard.
Version 6.2.1.1 Introduced on the E-Series.
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.
NOTE: A port configured as an edge port, on an RSTP switch, immediately transitions to
the Forwarding state. Only configure ports connected to end-hosts as edge ports.
Consider an edge port similar to a port with a spanning-tree portfast enabled.
1187