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
     

    Related Documentation

     

    Configuring VLAN Spanning Tree Protocol

    VLAN Spanning Tree Protocol (VSTP) enables the device to run one or more Spanning Tree Protocol (STP) or Rapid Spanning Tree Protocol (RSTP) instances for each VLAN on which VSTP is enabled. For networks with multiple VLANs, VSTP improves intelligent tree spanning by defining the best paths within the VLANs instead of within the entire network.

    Note: This task uses Junos OS software that does not support the Enhanced Layer 2 Software (ELS) configuration style. If your switch runs software that supports ELS, see Configuring VLAN Spanning Tree Protocol.

    To configure VSTP:

    1. (Optional) Enable Rapid Spanning Tree Protocol (RSTP):
      [edit protocols]
      user@switch# set rstp

      VSTP can run on a maximum of 253 VLANs; RSTP runs on the remaining VLANs if configured. Enabling RSTP ensures that a spanning-tree protocol runs on all VLANs.

    2. Enable VSTP.
      • To enable VSTP on multiple VLANs using a VLAN group:
        [edit protocols]
        user@switch# set vstp vlan-group group group-name vlan vlan-id-range
      • To enable VSTP on all VLANs:
        [edit protocols]
        user@switch# set vstp vlan all

        Note: You must enable RSTP if you used the set vstp vlan all statement to enable VSTP and if the switch has more than 253 VLANs. If you use the set vstp vlan all statement to enable VSTP on a switch with more than 253 VLANs, the configuration cannot be committed.

      • To enable VSTP on a VLAN using a single VLAN ID:
        [edit protocols]
        user@switch# set vstp vlan vlan-id
      • To enable VSTP on a VLAN using a single VLAN name:
        [edit protocols]
        user@switch# set vstp vlan vlan-name
     

    Related Documentation

     

    Modified: 2017-02-03