RSTP Configuration Example 557
Configuration Procedure
1Configure Switch A
aEnable RSTP globally.
[SW5500]stp enable
bThe port RSTP defaults are enabled after global RSTP is enabled. You can disable
RSTP on those ports that are not involved in the RSTP calculation, however, be
careful and do not disable those involved. (The following configuration takes
GigabitEthernet 1/0/4 as an example.)
[SW5500]interface gigabitethernet 2/0/4
[SW5500-GigabitEthernet2/0/4]stp disable
cTo configure Switch A as a root, you can either configure the Bridge priority of it as
0 or simply use the command to specify it as the root.
Set the Bridge priority of Switch A to 0
[SW5500]stp priority 0
dDesignate Switch A as the root, using the following command.
[SW5500]stp root primary
eEnable the Root protection function on every designated port.
[SW5500]interface Gigabitethernet 2/0/1
[SW5500-GigabitEthernet2/0/1]stp root-protection
[SW5500]interface Gigabitethernet 2/0/2
[SW5500-GigabitEthernet2/0/2]stp root-protection
2Configure Switch B
aEnable RSTP globally.
[SW5500]stp enable
bThe port RSTP defaults are enabled after global RSTP is enabled. You can disable
RSTP on those ports that are not involved in RSTP calculation, however, be careful
and do not disable those involved. (The following configuration takes Ethernet
1/0/4 as an example.)
[SW5500]interface Ethernet 1/0/4
[SW5500-Ethernet1/0/4]stp disable
cConfigure Switch C and Switch B to serve as standby of each other and sets the
Bridge priority of Switch B to 4096.
[SW5500]stp priority 4096
dEnable the Root protection function on every designated port.
[SW5500]interface Ethernet 1/0/1
[SW5500-Ethernet1/0/1]stp root-protection
[SW5500]interface Ethernet 1/0/2
[SW5500-Ethernet1/0/2]stp root-protection
[SW5500]interface Ethernet 1/0/3
[SW5500-Ethernet1/0/3]stp root-protection
RSTP operating mode, time parameters, and port parameters take default values.
3Configure Switch C
aEnable RSTP globally.
[SW5500]stp enable