Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

Configuring RSTP (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). Because RSTP is configured by default, you only need to use this procedure If another spanning-tree protocol has been configured. In that case, you can reconfigure RSTP.

To enable RSTP:

  1. Disable the other configured spanning-tree protocol (STP, MSTP, or VSTP) from all interfaces or specific interfaces:
    • To disable STP on all interfaces:
      [edit protocols]
      user@switch# set stp interface all disable
    • To disable STP on a specific interface:
      [edit protocols]
      user@switch# set stp interface interface-name disable
    • To disable MSTP on all interfaces:
      [edit protocols]
      user@switch# set mstp interface all disable
    • To disable MSTP on a specific interface:
      [edit protocols]
      user@switch# set mstp interface interface-name disable

    Note: You can issue the same commands for VSTP as you would for STP or MSTP, but this is not required because RSTP and VSTP are the only two protocols that can co-exist on an interface. Having both protocols configured is recommended under some circumstances—see Configuring VSTP (CLI Procedure).

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

Published: 2014-08-22