R3166-R3206-HP High-End Firewalls Network Management Configuration Guide-6PW101

77
To do... Use the command...
Remarks
Configure the port link
type
stp point-to-point { auto | force-false |
force-true }
Required
By default, the link type is auto where
the port automatically detects the link
type.
NOTE:
You can configure the link type as point-to-point for a Layer 2 aggregate interface or a port that works
in full duplex mode. HP recommends you to use the default setting and let the device to automatically
detect the port link type.
The stp point-to-point force-false or stp point-to-point force-true command configured on a port in
MSTP mode is effective for all MSTIs.
If the physical link to which the port connects is not a point-to-point link but you set it to be one, the
configuration may bring a temporary loop.
Configuring the mode a port uses to recognize/send MSTP packets
A port can receive/send MSTP packets in the following formats:
dot1s: 802.1s-compliant standard format
legacy: Compatible format
By default, the packet format recognition mode of a port is auto. 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. When working in MSTP mode after the
configuration, 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.
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 interface view or
Layer 2 aggregate
interface
interface interface-type interface-number
Configure the mode the
port uses to
recognize/send MSTP
packets
stp compliance { auto | dot1s | legacy }
Required
auto by default.
NOTE:
MSTP provides MSTP packet format incompatibility guard. In MSTP mode, if a port is configured to
recognize/send MSTP packets in a mode other than auto, and receives a packet in a format different
from the specified type, the port will become a designated port and remain in the discarding state to
prevent the occurrence of a loop.
MSTP provides MSTP packet format frequent change guard. If a port receives MSTP packets of differen
t
formats frequently, the MSTP packet format configuration contains errors. If the port is workin
g
in MSTP
mode, it will be shut down for protection. Ports disabled in this way can be re-activated after a detection
interval.