beautypg.com

I. configuration procedure, Ii. configuration example, 6 configuring the mstp operation mode – H3C Technologies H3C S3100 Series Switches User Manual

Page 189: 6 configuring the mstp operation mode -14, Configuring the mstp operation mode

background image

Operation Manual – MSTP
H3C S3100-52P Ethernet Switch

Chapter 1 MSTP Configuration

1-14

device sending packets in dot1s format. If packets in legacy format are received,
the corresponding ports are set to the discarding state to prevent network storm.

z

All the ports in an aggregation group use the same MSTP packet format.

I. Configuration procedure

Table 1-7

Configure MSTP packet format for the port

Operation

Command

Description

Enter system view

system-view

Enter Ethernet port
view

interface interface-type
interface-number

Configure MSTP
packet format for the
port

stp compliance

{ auto |

dot1s

| legacy }

Required
By default, an MSTP packet
is in legacy format.

II. Configuration Example

# Configure the MSTP packet format as dot1s (802.1s).

system-view

[H3C] interface Ethernet1/0/1

[H3C-Ethernet1/0/1] stp compliance dot1s

# Restore the MSTP packet format to the default value.

[H3C-Ethernet1/0/1] undo stp compliance

1.2.6 Configuring the MSTP Operation Mode

A MSTP-enabled switch can operate in one of the following operation modes:

z

STP-compatible mode: In this mode, all ports of the switches send STP packets. If
the switched network contains STP-enabled switches, you can configure the
current MSTP-enabled switch to operate in this mode by using the stp mode stp
command.

z

RSTP-compatible mode: In this mode, all ports of the switches send RSTP
packets. If the switched network contains RSTP-enabled switches, you can
configure the current MSTP-enabled switch to operate in this mode by using the

stp mode rstp

command.

z

MSTP mode: In this mode, all the ports of the switches send MSTP packets or
STP packets (if the port is connected to an STP-enabled switch). In this case, the
multiple spanning tree function is enabled as well.