Switch 7700 Configuration Guide

Implementing STP on the Switch 7700 165
Among the above-mentioned tasks, only the steps of enabling STP on the switch
and enabling STP on the port are required. For other tasks, if you do not configure
them, the system will use the default settings.
Before enabling spanning tree, relative parameters of Ethernet port or the device
can be configured. After disabling the spanning tree, these configuration
parameters are reserved and becoming functional after enabling the spanning tree
again.
Enabling and Disabling RSTP on a Switch
You can use the following command to enable or disable RSTP on the switch.
Perform the following configurations in system view.
Only after the RSTP is enabled on the switch can other configurations take effect.
Note that some network resources are occupied after RSTP is enabled.
By default, RSTP is disabled.
Enabling and Disabling RSTP on a Port
You can use the following command to enable or disable the RSTP on a port.
After RSTP is enabled on the Ethernet ports of the switch, it can be disabled again
to forbid the ports from participating in the spanning tree calculation.
Perform the following configurations in Ethernet port view.
Note that the redundancy route may be generated after RSTP is disabled on the
Ethernet port.
By default, RSTP on all the ports is enabled after it is enabled on the switch.
Setting the Diameter of a Switching Network
Communication between any two hosts in the switching network is through only
one path that includes a series of bridges. Network diameter is the path with the
most bridges among these paths. It is expressed as the number of bridges on the
path.
Tabl e 1 Enable or Disable RSTP on a Switch
Operation Command
Enable/Disable RSTP on a
device
stp { enable | disable }
Restore RSTP to the default
value
undo stp
Tabl e 2 Enable/Disable RSTP on a Port
Operation Command
Enable RSTP on a specified
port
stp enable
Disable RSTP on a specified
port
stp disable