RSTP 802.1w Configuration Example

RSTP Example is an example of a network with multiple STPDs that can benefit from RSTP.

For RSTP to work:
  1. Create an STPD.
  2. Configure the mode of operation for the STPD.
  3. Create the VLANs and assign the VLAN ID and the VLAN ports.
  4. Assign the carrier VLAN.
  5. Add the protected VLANs to the STPD.
  6. Configure the port link types.
  7. Enable STP.
Click to expand in new window
RSTP Example

In this example, the commands configure Switch A in STPD1 for rapid reconvergence.

Use the same commands to configure each switch and STPD in the network.

create stpd stpd1
configure stpd stpd1 mode dot1w
create vlan sales
create vlan personnel
create vlan marketing
configure vlan sales tag 100
configure vlan personnel tag 200
configure vlan marketing tag 300
configure vlan sales add ports 1:1,2:1 tagged
configure vlan personnel add ports 1:1,2:1 tagged
configure vlan marketing add ports 1:1,2:1 tagged
configure stpd stpd1 add vlan sales ports all
configure stpd stpd1 add vlan personnel ports all
configure stpd stpd1 add vlan marketing ports all
configure stpd stpd1 ports link-type point-to-point 1:1,2:1
configure stpd stpd1 tag 100
enable stpd stpd1