beautypg.com

Configuration example, Configuration procedure – H3C Technologies H3C WX6000 Series Access Controllers User Manual

Page 184

background image

20-26

z

In the case of link aggregation, every port in the aggregation group 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
MST instances. 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.

Configuration example

# Configure port GigabitEthernet 0/0/1 as connecting to a point-to-point link.

system-view

[Sysname] interface GigabitEthernet 0/0/1

[Sysname-GigabitEthernet0/0/1] stp point-to-point force-true

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

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

z

802.1s-compliant standard format, and

z

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 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.

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