configure stpd ports edge-safeguard disable

configure {stpd} stpd_name ports edge-safeguard disable port_list {bpdu-restrict} {recovery-timeout {seconds}}


Disables the edge safeguard loop prevention on the specified RSTP or MSTP edge port.

Syntax Description

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.

Usage Guidelines

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. An edge port configured with edge safeguard immediately enters the forwarding state and transmits BPDUs.

If you disable this feature, the edge port enters the forwarding state but no longer transmits BPDUs unless a BPDU is received by that edge port. This is the default behavior.

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 disableport_list command.

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.



In MSTP, configuring edge safeguard at CIST will be inherited in all MSTI.


The following command disables edge safeguard on RSTP edge port 4 in STPD s1 on a stand-alone switch:

configure stpd s1 ports edge-safeguard disable 4


This command was first available in ExtremeXOS 11.4.

The BPDU Restrict function was added in ExtremeXOS 12.4.

Platform Availability

This command is available on ExtremeSwitching X435, X440-G2, X450-G2, X460-G2, X465, X590, X620, X670-G2, X690, X695, X870, 5320, 5420, and 5520 series switches.