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:
- Create an STPD.
- Configure the mode of operation for the STPD.
- Create the VLANs and assign the VLAN ID and the VLAN ports.
- Assign the carrier VLAN.
- Add the protected VLANs to the STPD.
- Configure the port link types.
- Enable STP.
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