Switch 7700 Configuration Guide
Implementing STP on the Switch 7700 173
After being configured with BPDU protection, the switch disables the edge port
through RSTP, which receives a BPDU, and notifies the network manager at same
time. Only the network manager can resume these.
The port configured with root protection only plays a role of a designated port.
Whenever this port receives a higher-priority BPDU when it is about to turn into a
non-designated port, it is set to a listening state and not forward packets any
more (as if the link to the port is disconnected). If the port has not received any
higher-priority BPDU for a certain period of time thereafter, it resumes the normal
state.
When configuring a port, only one configuration can be effective among loop
protection, root protection and edge port configuration at the same moment.
By default, the switch does not enable loop protection, BPDU protection or root
protection.
For more information about the configuration commands, refer to the “3Com
Command Reference Guide”.
Displaying and
Debugging RSTP
After configuring RSTP, execute the display command in all views to display the
running of the RSTP configuration, and to verify the effect of the configuration.
Execute the reset command in user view to clear the statistics of the RSTP module.
Execute the debugging command in user view to debug the RSTP module.
Example: Configuring
RSTP
In the following scenario, Switch C serves as a standby for Switch B and forwards
data when a fault occurs on Switch B. They are connected to each other with two
links, so that in case one of the links fails, the other can still work normally. Switch
D through Switch F are directly connected with the downstream users’ computers
and they are connected to Switch C and Switch B with uplink ports.
You can configure RSTP on the Switch B through Switch F to meet these
requirements.
Configure switch loop
protection function (from
Ethernet port view)
stp loop-protection
Restore the disabled loop
protection state, as defaulted
(from Ethernet port view)
stp loop-protection
Table 16 Configure the Switch Security Function
Operation Command
Tabl e 17 Display and Debug RSTP
Operation Command
Display RSTP configuration
information about the local switch
and the specified ports
display stp [ interface interface-list ]
Clear RSTP statistics information reset stp [ interface interface-list ]
Enable RSTP (error/event/packet)
debugging
debugging stp { error | event | packet }
Disable RSTP debugging undo debugging stp { error | event | packet }