H3C Technologies H3C S5120 Series Switches User Manual

Page 192

Advertising
background image

1-27

To do...

Use the command...

Remarks

Enter Layer 2
Ethernet port view,
or Layer 2
aggregate port view

interface interface-type
interface-number

Enter port
view or port
group view

Enter port group
view

port-group manual
port-group-name

Required
Use either command.

Configure the link type of ports

stp point-to-point

{ auto |

force-false

| force-true }

Optional

auto

by default, namely, the

port automatically detects
whether its link is
point-to-point.

z

A Layer 2 aggregate port can be configured to connect to a point-to-point link. If a port works in
auto-negotiation mode and the negotiation result is full duplex, this port can be configured as
connecting to a point-to-point link.

z

If a port is configured as connecting to a point-to-point link, the setting takes effect for the port in all
MSTIs. If the physical link to which the port connects is not a point-to-point link and you force it to
be a point-to-point link by configuration, the configuration may incur a temporary loop.

Configuring the Mode a Port Uses to Recognize/Send MSTP Packets

A port can receive/send MSTP packets of two formats:

z

dot1s

: 802.1s-compliant standard format, and

z

legacy

: Compatible format

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 on 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 packets of the same format.

Make this configuration on the root bridge and on the leaf nodes separately.

Follow these steps to configure the MSTP packet format to be supported on a port or a group of ports:

To do...

Use the command...

Remarks

Enter system view

system-view

Enter Layer 2
Ethernet port view, or
Layer 2 aggregate
port view

interface interface-type
interface-number

Enter port
view or port
group view

Enter port group view

port-group manual
port-group-name

Required
Use either command.

Advertising