R3166-R3206-HP High-End Firewalls Network Management Command Reference-6PW101

Table Of Contents
80
force-true: Specifies the point-to-point link type.
Description
Use the stp point-to-point command to configure the link type of the ports.
Use the undo stp point-to-point command to restore the default.
The default setting is auto and the spanning tree device automatically detects whether a port connects to
a point-to-point link.
Configured in Ethernet interface view, the setting takes effect on the interface only.
Configured in Layer 2 aggregate interface view, the setting takes effect only on the aggregate interface.
Configured on a member port in an aggregation group, the setting takes effect only after the port leaves
the aggregation group.
When connecting to a non-point-to-point link, a port is incapable of rapid state transition.
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 that you use the default setting to let the device 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, your
configuration may bring a temporary loop.
Related commands: display stp.
Examples
# Configure the link connecting GigabitEthernet 0/3 as a point-to-point link.
<Sysname> system-view
[Sysname] interface GigabitEthernet 0/3
[Sysname-GigabitEthernet0/3] stp point-to-point force-true
stp port priority
Syntax
stp [ instance instance-id ] port priority priority
undo stp [ instance instance-id ] port priority
View
Ethernet interface view, Layer 2 aggregate interface view
Default level
2: System level
Parameters
instance instance-id: Sets the priority of the ports in a particular MSTI. The value of instance-id ranges
from 0 to 15, where 0 represents the CIST.
priority: Specifies a port priority, ranging from 0 to 240 in steps of 16 (as in 0, 16, 32).
Description
Use the stp port priority command to set the priority of the ports.