
112
In MSTP mode, each MST region is regarded as a device. The network diameter configuration is only
effective for the CIST, not for MSTIs. 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 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 takes effect only after the port leaves
the aggregation group.
Examples
# Configure GigabitEthernet 1/0/1 to receive and send only standard-format (802.1s) MSTP packets.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] stp compliance dot1s