Configuring RSTP 85

 

 

 

Product series

Software version

Hardware version

 

 

 

Switch 4500

Release V03.03.00

All versions

Switch 4210

Release V03.01.00

All versions

 

 

 

Configuration Procedure

1Configuration on Switch A

# Enable MSTP.

<3Com> system-view

[3Com] stp enable

#Enabling MSTP globally on the switch enables RSTP on all the ports. Disable MSTP on the ports that are not involved in RSTP calculation, for example GigabitEthernet 2/0/4.

[3Com] interface GigabitEthernet 2/0/4

[3Com-GigabitEthernet2/0/4] stp disable

# Configure Switch A as the root bridge in one of the following two methods:

Set the bridge priority of Switch A to 0.

[3Com] stp priority 0

Use the following command to specify Switch A as the root bridge.

[3Com] stp root primary

#Enable the root guard function on the designated ports connected to Switch B and Switch C.

[3Com] interface GigabitEthernet 2/0/1 [3Com-GigabitEthernet2/0/1] stp root-protection

[3Com-GigabitEthernet2/0/1] quit [3Com] interface GigabitEthernet 2/0/2

[3Com-GigabitEthernet2/0/2] stp root-protection

[3Com-GigabitEthernet2/0/2] quit

# Enable the TC-BPDU attack guard function on Switch A.

[3Com] stp tc-protection enable

2Configuration on Switch B

# Enable MSTP.

<3Com> system-view

[3Com] stp enable

#Enabling MSTP globally on the switch enables RSTP on all the ports. Disable MSTP on the ports that are not involved in RSTP calculation, for example Ethernet 1/0/8.

[3Com] interface Ethernet 1/0/8

[3Com-Ethernet1/0/8] stp disable

[3Com-Ethernet1/0/8] quit

Page 85
Image 85
3Com 5500G, 4210, 4200G manual Configuration Procedure, # Enable the TC-BPDU attack guard function on Switch a