Enables the edge safeguard loop prevention on the specified RSTP or MSTP edge port.
stpd_name | Specifies an STPD name on the switch. |
port_list | Specifies one or more edge ports. |
bpdu-restrict | Disables port as soon as a BPDU is received. |
recovery-timeout | Time after which the port will be re-enabled. |
seconds | Specifies the time in seconds. The range is 60 to 600. The default is 300. |
By default, this feature is disabled.
This command applies only to ports that have already been configured as edge ports.
Loop prevention and detection on an edge port configured for RSTP or MSTP is called edge safeguard. You configure edge safeguard on RSTP or MSTP edge ports to prevent accidental or deliberate misconfigurations (loops) resulting from connecting two edge ports together or by connecting a hub or other non-STP switch to an edge port. Edge safeguard also limits the impact of broadcast storms that might occur on edge ports.
An edge port configured with edge safeguard immediately enters the forwarding state and transmits BPDUs. This advanced loop prevention mechanism improves network resiliency but does not interfere with the rapid convergence of edge ports.
Recovery time starts as soon as the port becomes disabled. If no recovery-timeout is specified, the port is permanently disabled.
BPDU restrict can be disabled using the configure {stpd} stpd_name ports bpdu-restrict [enable | disable]port_list {recovery-timeout {seconds}} command and selecting disable.
If edge safeguard is disabled, BPDU restrict is also disabled.
To view the status of the edge safeguard feature use the show {stpd} stpd_name ports {[detail |port_list {detail}]} command. You can also use the show stpd {stpd_name | detail} command to display the STPD configuration on the switch, including the enable/disable state for edge safeguard.
Note
In MSTP, configuring edge safeguard at CIST will be inherited in all MSTI.
The following command enables edge safeguard on RSTP edge port 4 in STPD s1 on a stand-alone switch:
configure stpd s1 ports edge-safeguard enable 4
This command was first available in ExtremeXOS 11.4.
The BPDU Restrict function was added in ExtremeXOS 12.4.
This command is available on the ExtremeSwitching X435, X440-G2, X450-G2, X460-G2, X465, X590, X620, X670-G2, X690, X695, and X870 series switches.