Command Manual (For Soliton) – MSTP
H3C S3100 Series Ethernet Switches
Chapter 1 MSTP Configuration Commands
1-18
legacy
: Specifies the port to recognize and send MSTP packets in the legacy mode.
dot1s
: Specifies the port to recognize and send MSTP packets in the 802.1s mode.
Description
Use the
stp compliance
command to set the mode in which a port recognizes and
sends MSTP packets.
Use the
undo stp compliance
command to restore the default.
By default, a port recognizes and sends MSTP packets in the automatic mode.
A port can be configured to recognize and send MSTP packets in the following modes.
z
Automatic mode. Ports in this mode determine the format of the MSTP packets to
be sent according to the format of the received packets.
z
Legacy mode. Ports in this mode recognize/send packets in legacy format.
z
802.1s mode. Ports in this mode recognize/send packets in dot1s format.
A port acts as follows according to the format of MSTP packets forwarded by a peer
switch or router.
When a port operates in the automatic mode:
z
The port automatically determines the format (legacy or dot1s) of received MSTP
packets and then determines the format of the packets to be sent accordingly, thus
communicating with the peer devices.
z
If the format of the received packets changes repeatedly, MSTP will shut down the
corresponding port to prevent network storm. A port shut down in this way can only
be brought up again by the network administrator.
When a port operates in the legacy mode:
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.
Examples
# Configure Ethernet 1/0/1 to recognize and send MSTP packets in dot1s format.
<Sysname> system-view
Enter system view, return to user view with Ctrl+Z.
[Sysname] interface Ethernet 1/0/1
[Sysname-Ethernet1/0/1] stp compliance dot1s