Configure an EdgePort
The EdgePort feature enables interfaces to begin forwarding traffic approximately 30 seconds sooner. In
this mode an interface forwards frames by default until it receives a BPDU that indicates that it should
behave otherwise; it does not go through the Learning and Listening states. The
shutdown-on-violation
bpduguard
When only
receiving the BPDU, the physical interface remains up and spanning-tree will drop packets in the hardware
after a BPDU violation. BPDUs are dropped in the software after receiving the BPDU violation. This
feature is the same as PortFast mode in Spanning Tree.
Caution:
Configure EdgePort only on links connecting to an end station. EdgePort can cause loops if it is enabled
on an interface connected to a network.
To enable EdgePort on an MSTP-enabled interface, use the following command:
Task
Enable EdgePort on an interface.
Verify that EdgePort is enabled on a port using the command
shown in
Figure
FTOS Behavior: Regarding
1 If the interface to be shutdown is a port channel then all the member ports are disabled in the hardware.
2 When a physical port is added to a port channel already in error disable state, the new member port will
also be disabled in the hardware.
3
When a physical port is removed from a port channel in error disable state, the error disabled state is
cleared on this physical port (the physical port will be enabled in the hardware).
reset linecard
4
The
state. The interface continues to be disables in the hardware.
The error disabled state can be cleared with any of the following methods:
•
•
•
•
Figure 29-8. Configuring EdgePort
FTOS(conf-if-gi-3/41)#spanning-tree mstp edge-port
FTOS(conf-if-gi-3/41)#show config
!
interface GigabitEthernet 3/41
no ip address
switchport
spanning-tree mstp edge-port
spanning-tree MSTI 1 priority 144
no shutdown
option causes the interface hardware to be shutdown when it receives a BPDU.
is implemented, although the interface is placed in an Error Disabled state when
29-8.
bpduguard shutdown-on-violation
command does not clear the error disabled state of the port or the hardware disabled
Perform an shutdown command on the interface.
Disable the shutdown-on-violation command on the interface ( no spanning-tree stp-id portfast
[bpduguard | [shutdown-on-violation]] ).
Disable spanning tree on the interface (no spanning-tree in INTERFACE mode).
Disabling global spanning tree (no spanning-tree in CONFIGURATION mode).
Command Syntax
spanning-tree mstp edge-port
bpduguard |
[
shutdown-on-violation
]
show config
from the INTERFACE mode, as
behavior:
Multiple Spanning Tree Protocol | 651
bpduguard
Command Mode
INTERFACE