220 CHAPTER 23: MSTP CONFIGURATION
the upstream device within nine times the hello time, it will assume that the
upstream device has failed and start a new spanning tree calculation process.
In a very stable network, this kind of spanning tree calculation may occur because
the upstream device is busy. In this case, you can avoid such unwanted spanning
tree calculation by lengthening the timeout time.
Configuration procedure
Follow these steps to configure the timeout factor:
n
■ Timeout time = timeout factor × 3 × hello time.
■ Typically, we recommend that you set the timeout factor to 5, or 6, or 7 for a
stable network.
Configuration example
# Set the timeout factor to 6.
<Sysname> system-view
[Sysname] stp timer-factor 6
Configuring the
Maximum Transmission
Rate of Ports
The maximum transmission rate of a port refers to the maximum number of MSTP
packets that the port can send within each hello time. The maximum transmission
rate of an Ethernet port is related to the physical status of the port and the
network structure.
Configuration procedure
Follow these steps to configure the maximum transmission rate of a port or a
group of ports:
n
If the maximum transmission rate setting of a port is too big, the port will send a
large number of MSTP packets within each hello time, thus using excessive
network resources. We recommend that you use the default setting.
To do… Use the command… Remarks
Enter system view system-view -
Configure the timeout factor
of the device
stp timer-factor number Optional
3 by default
To do… Use the command… Remarks
Enter system view system-view -
Enter Ethernet
interface view
or port group
view
Enter Ethernet
interface view
interface interface-type
interface-number
Required
Use either command.
Configurations made in
Ethernet interface view will
take effect on the current port
only; configurations made in
port group view will take
effect on all ports in the port
group.
Enter port
group view
port-group { manual
port-group-name |
aggregation agg-id }
Configure the maximum
transmission rate of the port(s)
stp transmit-limit
packet-number
Optional
10 by default