Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

Configuring STP (CLI Procedure)

The default spanning-tree protocol for EX Series switches is Rapid Spanning Tree Protocol (RSTP). RSTP provides faster convergence times than the original Spanning Tree Protocol (STP). However, some legacy networks require the slower convergence times of basic STP that work with 802.1D 1998 bridges.

If your network includes 802.1D 1998 bridges, you can remove RSTP and explicitly configure STP. When you explicitly configure STP, the switches use the IEEE 802.1D 2004 specification, force version 0. This configuration runs a version of RSTP that is compatible with the classic, basic STP.

To configure STP:

  1. Either delete RSTP on the entire switch or disable RSTP on specific interfaces:
    • To delete RSTP on the entire switch:
      [edit protocols]
      user@switch# delete rstp
    • To disable RSTP on a specific interface:
      [edit protocols]
      user@switch# set rstp interface interface-name disable
  2. Enable STP either on all interfaces or on a specific interface:
    • To enable STP on all interfaces:
      [edit protocols]
      user@switch# set stp interface all
    • To enable STP on a specific interface:
      [edit protocols]
      user@switch# set stp interface interface-name
  3. (Optional) Only if a routed VLAN interface (RVI) is configured, enable the Address Resolution Protocol (ARP) for faster MAC address recovery:
    • To enable ARP on STP on all interfaces:
      [edit protocols]
      user@switch# set stp interface all arp-on-stp
    • To enable ARP on STP on a specific interface:
      [edit protocols]
      user@switch# set stp interface interface-name arp-on-stp

Published: 2014-04-23