Configuration procedure, Configuration example, Configuring the mstp operation mode – H3C Technologies H3C WX3000 Series Unified Switches User Manual
Page 189: Configuring the mstp operation mode -20
22-20
z
The port only recognizes and sends MSTP packets in legacy format. In this case, the port can only
communicate with the peer through packets in legacy format.
z
If packets in dot1s format are received, the port turns to discarding state to prevent network storm.
When a port operates in the 802.1s mode:
z
The port only recognizes and sends MSTP packets in dot1s format. In this case, the port can only
communicate with the peer through packets in dot1s format.
z
If packets in legacy format are received, the port turns to discarding state to prevent network storm.
Configuration procedure
Follow these steps to configure the mode a port recognizes and sends MSTP packets (in system view):
To do…
Use the command…
Remarks
Enter system view
system-view
—
Configure the mode a port
recognizes and sends MSTP
packets
stp interface interface-type
interface-number
compliance
{ auto | dot1s | legacy }
Required
By default, a port recognizes and
sends MSTP packets in the
automatic mode. That is, it
determines the format of packets to
be sent according to the format of
the packets received.
Follow these steps to configure the mode a port recognizes and sends MSTP packets (in Ethernet port
view):
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter Ethernet port view
interface interface-type
interface-number
—
Configure the mode a port
recognizes and sends MSTP
packets
stp compliance
{ auto | dot1s |
legacy
}
Required
By default, a port recognizes and
sends MSTP packets in the
automatic mode. That is, it
determines the format of packets to
be sent according to the format of
the packets received.
Configuration example
# Configure GigabitEthernet 1/0/1 to recognize and send packets in dot1s format.
[device] interface GigabitEthernet1/0/1
[device-GigabitEthernet1/0/1] stp compliance dot1s
# Restore the default mode for GigabitEthernet 1/0/1 to recognize/send MSTP packets.
[device-GigabitEthernet1/0/1] undo stp compliance
Configuring the MSTP Operation Mode
To make a MSTP-enabled device compatible with STP/RSTP, MSTP provides the following three
operation modes: