To do…

 

Use the command…

 

Remarks

 

Enter system view

 

system-view

 

 

 

 

 

 

 

 

Enter Ethernet port view

 

interface interface-type

 

 

 

interface-number

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Required

 

 

 

 

 

By default, a port recognizes

 

Configure the mode a port

 

stp compliance { auto dot1s

 

and sends MSTP packets in the

 

 

 

automatic mode. That is, it

 

recognizes and sends MSTP

 

 

 

 

legacy }

 

determines the format of

 

packets

 

 

 

 

 

 

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> system-view

[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:

z

z

z

STP-compatible mode, where the ports of a device send STP BPDUs to neighboring devices. If STP-enabled devices exist in a switched network, you can use the stp mode stp command to configure an MSTP-enabled device to operate in STP-compatible mode.

RSTP-compatible mode, where the ports of a device send RSTP BPDUs to neighboring devices. If RSTP-enabled devices exist in a switched network, you can use the stp mode rstp command to configure an MSTP-enabled device to operate in RSTP-compatible mode.

MSTP mode, where the ports of a device send MSTP BPDUs or STP BPDUs (if the device is connected to STP-enabled devices) to neighboring devices. In this case, the device is MSTP-capable.

Configuration procedure

Follow these steps to configure the MSTP operation mode:

 

To do…

 

Use the command…

Remarks

 

Enter system view

 

system-view

 

 

 

 

 

 

 

 

 

Required

 

Configure the MSTP operation

 

stp mode { stp rstp mstp }

An MSTP-enabled device

 

mode

 

operates in the MSTP mode by

 

 

 

 

 

 

 

default.

 

 

 

 

 

1-21

Page 191
Image 191
3Com WX3000 operation manual Configuring the Mstp Operation Mode, Stp compliance auto dot1s, Legacy, Stp mode stp rstp mstp