By default, the network diameter of the switched network is 7.
An appropriate setting of hello time, forward delay and max age can speed up network convergence.
The values of these timers are related to the network size. You can set these timers by setting the
network diameter. With the network diameter set to 7 (the default), the three timer are also set to their
defaults.
In MSTP mode, each MST region is regarded as a device. The network diameter configuration is
effective for the CIST only, not for MSTIs. In other words, the network diameter configuration is
effective only on the common root bridge.
Related commands: stp timer forward-delay, stp timer hello, and stp timer max-age.
Examples
# Set the network diameter of the switched network to 5.
<Sysname> system-view
[Sysname] stp bridge-diameter 5
stp compliance
Syntax
stp compliance { auto | dot1s | legacy }
undo stp compliance
View
Layer 2 Ethernet interface view, port group view, Layer 2 aggregate interface view
Default Level
2: System level
Parameters
auto: Configures the port(s) to recognize the MSTP BPDU format automatically and accordingly
determine the format of MSTP BPDUs to send.
dot1s: Configures the port(s) to receive and send only standard-format (802.1s-compliant) MSTP
BPDUs.
legacy: Configures the port(s) to receive and send only compatible-format MSTP BPDUs.
Description
Use the stp compliance command to configure the mode the specified port(s) will use to recognize
and send MSTP BPDUs.
Use the undo stp compliance command to restore the system default.
By default, a port automatically recognizes the formats of received MSTP packets and determines the
formats of MSTP packets to be sent based on the recognized formats.
Configured in Layer 2 Ethernet interface view, the setting takes effect on the current interface only.
Configured in port group view, the setting takes effect on all ports in the port group.
Configured in Layer 2 aggregate interface view, the setting takes effect only on the aggregate interface.
Configured on a member port in an aggregation group, the setting can take effect only after the port
leaves the aggregation group.
11-23