•
Enable PortFast on an interface.
INTERFACE mode
spanning-tree
stp-id
portfast [bpduguard | [shutdown-on-violation]]
Example of Verifying PortFast is Enabled on an Interface
To verify that PortFast is enabled on a port, use the
show spanning-tree
command from EXEC Privilege mode or the
show config
command from INTERFACE mode. Dell Networking recommends using the
show config
command.
Dell#(conf-if-gi-1/1)#show conf
!
interface GigabitEthernet 1/1
no ip address
switchport
spanning-tree 0 portfast
no shutdown
Dell#(conf-if-gi-1/1)#
Prevent Network Disruptions with BPDU Guard
Configure the Portfast (and Edgeport, in the case of RSTP, PVST+, and MSTP) feature on ports that connect to end stations. End stations
do not generate BPDUs, so ports configured with Portfast/ Edgport (edgeports) do not expect to receive BDPUs.
If an edgeport does receive a BPDU, it likely means that it is connected to another part of the network, which can negatively affect the
STP topology. The BPDU Guard feature blocks an edgeport after receiving a BPDU to prevent network disruptions, and Dell Networking
OS displays the following message.
3w3d0h: %RPM0-P:RP2 %SPANMGR-5-BPDU_GUARD_RX_ERROR: Received Spanning Tree BPDU on
BPDU guard port. Disable GigabitEthernet 3/4.
Enable BPDU Guard using the
bpduguard
option when enabling PortFast or EdgePort. The
bpduguard shutdown-on-violation
option causes the interface hardware to be shut down when it receives a BPDU. Otherwise, although the interface is placed in an Error
Disabled state when receiving the BPDU, the physical interface remains up and spanning-tree will only drop packets after a BPDU violation.
The following example shows a scenario in which an edgeport might unintentionally receive a BPDU. The port on the Dell Networking
system is configured with Portfast. If the switch is connected to the hub, the BPDUs that the switch generates might trigger an
undesirable topology change. If you enable BPDU Guard, when the edge port receives the BPDU, the BPDU is dropped, the port is blocked,
and a console message is generated.
NOTE:
Unless you enable the
shutdown-on-violation
option, spanning-tree only drops packets after a BPDU violation; the
physical interface remains up.
Dell Networking OS Behavior
: Regarding
bpduguard shutdown-on-violation
behavior:
•
If the interface to be shut down is a port channel, all the member ports are disabled in the hardware.
•
When you add a physical port to a port channel already in the Error Disable state, the new member port is also disabled in the hardware.
•
When you remove a physical port from a port channel in the Error Disable state, the Error Disabled state is cleared on this physical port
(the physical port is enabled in the hardware).
•
You can clear the Error Disabled state with any of the following methods:
•
Perform a
shutdown
command on the interface.
•
Disable the
shutdown-on-violation
command on the interface (the
no spanning-tree
stp-id
portfast
[bpduguard | [shutdown-on-violation]]
command).
•
Disable spanning tree on the interface (the
no spanning-tree
command in INTERFACE mode).
•
Disabling global spanning tree (the
no spanning-tree
in CONFIGURATION mode).
Spanning Tree Protocol (STP)
831
Содержание S3048-ON
Страница 1: ...Dell Configuration Guide for the S3048 ON System 9 11 2 5 ...
Страница 137: ...0 Gi 1 1 Gi 1 2 rx Flow N A N A 0 0 No N A N A yes Access Control Lists ACLs 137 ...
Страница 142: ...Figure 10 BFD Three Way Handshake State Changes 142 Bidirectional Forwarding Detection BFD ...
Страница 241: ...Dell Control Plane Policing CoPP 241 ...
Страница 287: ... RPM Synchronization GARP VLAN Registration Protocol GVRP 287 ...
Страница 428: ...Figure 53 Inspecting the LAG Configuration 428 Link Aggregation Control Protocol LACP ...
Страница 429: ...Figure 54 Inspecting Configuration of LAG 10 on ALPHA Link Aggregation Control Protocol LACP 429 ...
Страница 432: ...Figure 56 Inspecting a LAG Port on BRAVO Using the show interface Command 432 Link Aggregation Control Protocol LACP ...
Страница 433: ...Figure 57 Inspecting LAG 10 Using the show interfaces port channel Command Link Aggregation Control Protocol LACP 433 ...
Страница 477: ...Figure 73 Configuring Interfaces for MSDP Multicast Source Discovery Protocol MSDP 477 ...
Страница 478: ...Figure 74 Configuring OSPF and BGP for MSDP 478 Multicast Source Discovery Protocol MSDP ...
Страница 479: ...Figure 75 Configuring PIM in Multiple Routing Domains Multicast Source Discovery Protocol MSDP 479 ...
Страница 483: ...Figure 77 MSDP Default Peer Scenario 2 Multicast Source Discovery Protocol MSDP 483 ...
Страница 484: ...Figure 78 MSDP Default Peer Scenario 3 484 Multicast Source Discovery Protocol MSDP ...
Страница 634: ...protocol spanning tree pvst no disable vlan 300 bridge priority 4096 634 Per VLAN Spanning Tree Plus PVST ...
Страница 745: ...Figure 104 Single and Double Tag TPID Match Service Provider Bridging 745 ...
Страница 746: ...Figure 105 Single and Double Tag First byte TPID Match 746 Service Provider Bridging ...