Reset Search



How to configure RSTP in EXOS

« Go Back


TitleHow to configure RSTP in EXOS
Provide a simple sample configuration for RSTP in EXOS, with edge-safeguard and BPDU-restrict on edge ports
  • EXOS All
  • RSTP
  1. Set the mode for the spanning tree domain to 802.1w
configure stpd s0 mode dot1w
  1. Enable autobind for any VLANs that need it. All ports in this VLAN will be added to the STP domain
enable stpd s0 auto-bind vlan <VLAN_name>
  1. VLANs that already have ports assigned before enabling autobind will need to be added to STP manualy with this command
configure stpd s0 add <VLAN_name> ports <ports>
  1. Add any additional ports needed. This is not needed for vlans with autobind enabled
configure stpd s0 add <VLAN_name> ports <ports>
  1. Enable the spanning tree domain
enable stpd
  1. Configure edge ports for edge-safeguard: 
configure stpd s0 ports edge-safeguard enable <edge_ports> bpdu-restrict recovery-timeout <60-600 seconds>


Additional notes
Ports configured for edge-safeguard with bpdu-restrict will not trigger topology changes when the port flaps, and will disable if a BPDU is received. After the recovery-timeout, these ports will be re-enabled if no further BPDUs are received.

NOTE: If on step 5 you are receiving the following error as a result, make sure you have an untagged VLAN to act as the carrier VLAN for the STP domain. In many cases the "Default" VLAN will be used for this but you can create a new VLAN named "Carrier" with a unique VLAN ID, and configure the link for untagged.

Error: Incorrect carrier vlan configuration of port 48 in stp domain s0



Was this article helpful?



Please tell us how we can make this article more useful.

Characters Remaining: 255