Operation Manual – MSTP
H3C S3610&S5510 Series Ethernet Switches
Chapter 1 MSTP Configuration
1-32
By default, the packet format recognition mode of a port is
auto
, namely the port
automatically distinguishes the two MSTP packet formats, and determines the format of
packets it will send based on the recognized format. You can configure the MSTP
packet format to be used by a port. After the configuration, when working in MSTP
mode, the port sends and receives only MSTP packets of the format you have
configured to communicate with devices that send the same format of packets.
I. Configuration procedure
Follow these steps to configure the MSTP packet format to be supported by a port or a
group of ports:
To do...
Use the command...
Remarks
Enter system view
system-view
—
Enter
Ethernet
interface
view
interface interface-type
interface-number
Enter
Ethernet
interface
view or
port
group
view
Enter port
group view
port-group
{
manual
port-group-name |
aggregation
agg-id
}
Required
Use either command.
Configurations made in
Ethernet interface view will
take effect on the current
port only; configurations
made in port group view will
take effect on all ports in the
port group.
Configure the mode
the port uses to
recognize/send
MSTP packets
stp compliance
{
auto
|
dot1s
|
legacy
}
Optional
auto
by default
Note:
z
In MSTP mode, if a port is configured to recognize/send MSTP packets in a mode
other than
auto
, and if it receives a packet in the format different from the specified
type, that port will become a designated port and remain in the discarding state to
prevent the occurrence of a loop.
z
If a port receives MSTP packets of different formats frequently, this means that the
MSTP packet formation configuration contains error. In this case, if the port is
working in MSTP mode, it will be disabled for protection. Those ports closed thereby
can be restored only by the network administers.
II. Configuration example
# Configure Ethernet 1/0/1 to receive and send standard-format MSTP packets.
<Sysname> system-view
[Sysname] interface Ethernet 1/0/1