Configuring The Mode A Port Uses To Recognize/Send Mstp Packets - H3C S5120-EI Series Operation Manual

Hide thumbs Also See for S5120-EI Series:
Table of Contents

Advertisement

Configuration procedure
Follow these steps to set the type of a connected link to P2P:
To do...
Enter system view
Enter
interface
view or port
group view
Set the link type to P2P
A Layer-2 aggregate interface 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.
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.
Configuration example
# Configure port GigabitEthernet 1/0/1 as connecting to a point-to-point link.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/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:
802.1s-compliant standard format, and
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 packets of the same format.
system-view
Enter Ethernet
interface view or
interface interface-type
Layer-2
interface-number
aggregate
interface view
Enter port group
port-group manual
view
port-group-name
stp point-to-point { auto |
force-false | force-true }
Use the command...
1-25
Remarks
Required
Use either command.
Configurations made in 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.
Optional
The default setting is auto;
namely the port automatically
detects whether its link is
point-to-point.

Advertisement

Chapters

Table of Contents
loading

Table of Contents