
59
Parameters
diameter
: Specifies the switched network diameter, ranging from 2 to 7.
Description
Use
stp bridge-diameter
to specify the network diameter, the maximum possible number of stations
between any two terminal devices on the switched network.
Use
undo stp bridge-diameter
to restore the default.
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 and you can set the timers by setting the network
diameter. With the network diameter set to 7 (the default), the three timers will be set to their defaults.
Each MST region is considered as a device, and the configured network diameter of the switched
network takes effect only on the CIST (or the common root bridge) but not on MSTIs.
Related commands:
stp timer forward-delay
,
stp timer hello
, and
stp timer max-age
.
Examples
# In MSTP mode, 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
Ethernet interface view, WLAN mesh interface view
Default level
2: System level
Parameters
auto
: Configures the ports to recognize the MSTP BPDU format automatically and determine the format
of MSTP BPDUs to send.
dot1s
: Configures the ports to receive and send only standard-format (802.1s-compliant) MSTP BPDUs.
legacy
: Configures the ports to receive and send only compatible-format MSTP BPDUs.
Description
Use
stp compliance
to configure the mode the specified ports use to recognize and send MSTP BPDUs.
Use
undo stp compliance
to restore the 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.
Examples
# Configure GigabitEthernet 1/0/1 to receive and send only standard-format (802.1s) MSTP packets.
<Sysname> system-view