R0106-HP MSR Router Series Layer 2 - LAN Switching Configuration Guide(V7)

62
Step Command Remarks
1. Enter system view.
system-view N/A
2. Enter Layer 2 Ethernet
interface view.
interface interface-type interface-number N/A
3. Configure the port priority.
In STP/RSTP mode:
stp port priority priority
In PVST mode:
stp vlan vlan-id-list port priority priority
In MSTP mode:
stp [ instance instance-list ] port priority
priority
The default setting is 128
for all ports.
Configuring the port link type
A point-to-point link directly connects two devices. If two root ports or designated ports are connected
over a point-to-point link, they can rapidly transit to the forwarding state after a proposal-agreement
handshake process.
Configuration restrictions and guidelines
In PVST or MSTP mode, the stp point-to-point force-false or stp point-to-point force-true command
configured on a port takes effect on all VLANs or all MSTIs.
If you configure a non-point-to-point link as a point-to-point link, a temporary loop might occur.
Configuration procedure
To configure the link type of a port:
Step Command Remarks
1. Enter system view.
system-view N/A
2. Enter Layer 2 Ethernet interface
view.
interface interface-type
interface-number
N/A
3. Configure the port link type.
stp point-to-point { auto | force-false
| force-true }
By default, the link type is auto
where the port automatically
detects the link type.
Configuring the mode a port uses to recognize and
send MSTP packets
A port can receive and send MSTP packets in the following formats:
dot1s—802.1s-compliant standard format
legacy—Compatible format