![H3C S3100-52P Operation Manual Download Page 27](http://html1.mh-extra.com/html/h3c/s3100-52p/s3100-52p_operation-manual_3060326027.webp)
Operation Manual – MSTP
H3C S3100-52P Ethernet Switch
Chapter 1 MSTP Configuration
1-25
z
If packets in legacy format are received, the port turns to discarding state to
prevent network storm.
I. Configuration procedure
Follow these steps to configure how a port recognizes and sends MSTP packets (in
system view):
To do...
Use the command...
Remarks
Enter system view
system-view
—
Configure how 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.
Table 1-7
Follow these steps to configure how 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 how 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.
II. Configuration example
# Configure Ethernet 1/0/1 to recognize and send packets in dot1s format.
<Sysname> system-view
[Sysname] interface Ethernet 1/0/1
[Sysname-Ethernet1/0/1] stp compliance dot1s
# Restore the default mode for Ethernet 1/0/1 to recognize/send MSTP packets.
[Sysname-Ethernet1/0/1] undo stp compliance