I. configuration procedure, Ii. configuration example, 5 configuring the mstp packet format – H3C Technologies H3C S3100 Series Switches User Manual

Page 188: 5 configuring the mstp packet format -13, Configuring the mstp packet format

Advertising
background image

Operation Manual – MSTP
H3C S3100-52P Ethernet Switch

Chapter 1 MSTP Configuration

1-13

I. Configuration procedure

Table 1-6

Configure the bridge priority of the current switch

Operation

Command

Description

Enter system view

system-view

Set the bridge priority for
the current switch

stp

[

instance

instance-id

] priority

priority

Required
The default bridge priority
of a switch is 32,768.

Caution:

z

Once you specify a switch as the root bridge or a secondary root bridge by using the

stp root primary

or stp root secondary command, the bridge priority of the switch

cannot be configured any more.

z

During the selection of the root bridge, if multiple switches have the same bridge
priority, the one with the smallest MAC address becomes the root bridge.

II. Configuration example

# Set the bridge priority of the current switch to 4,096 in spanning tree instance 1.

<H3C> system-view

[H3C] stp instance 1 priority 4096

1.2.5 Configuring the MSTP Packet Format

You can set the MSTP packet format to the following three formats for a port: auto,

legacy

, and dot1s (802.1s).

z

With the MSTP packet format set to auto, the port automatically determines the
format of the received MSTP packets (legacy or dot1s) and then decides the
format of packets to be transmitted, thus implementing communication with the
peer device. If the format of the received packets from the peer device changes
repeatedly, MSTP will shut down the corresponding port to prevent network storm.
A port shut down in this way can only be enabled again by the network
administrator after login.

z

With the MSTP packet format set to legacy, the port processes and transmits only
MSTP packets in legacy format, thus implementing communication with the peer
device sending packets in legacy format. If packets in dot1s format are received,
the corresponding ports are set to the discarding state to prevent network storm.

z

With the MSTP packet format set to dot1s, the port processes and transmits only
MSTP packets in dot1s format, thus implementing communication with the peer

Advertising