R211x-HP Flexfabric 11900 Layer 2 - LAN Switching Command Reference

145
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 might cause a temporary loop.
When the setting is configured in Layer 2 Ethernet interface view, it takes effect on only that interface.
When the setting is configured in Layer 2 aggregate interface view, it takes effect on only the aggregate
interface.
When the setting is configured on a member port in an aggregation group, it takes effect only after the
port leaves the aggregation group.
Examples
# Configure the link that connects Ten-GigabitEthernet 1/0/3 as a point-to-point link.
<Sysname> system-view
[Sysname] interface ten-gigabitethernet 1/0/3
[Sysname-Ten-GigabitEthernet1/0/3] stp point-to-point force-true
Related commands
display stp
stp port priority
Use stp port priority to set the priority of a port. The port priority affects the role of a port in a spanning
tree.
Use undo stp port priority to restore the default.
Syntax
stp [ instance instance-list ] port priority priority
undo stp [ instance instance-list ] port priority
Default
The port priority is 128.
Views
Layer 2 Ethernet interface view, Layer 2 aggregate interface view
Predefined user roles
network-admin
mdc-admin
Parameters
instance instance-list: Sets the priority of the port in the MSTIs that are specified by an instance list, in the
format of instance-list = { instance-id [ to instance-id ] }&<1-10>, where &<1-10> indicates that you can
specify up to 10 instances or instance ranges. The value range for the instance-id argument is 0 to 4094,
and the value 0 represents the CIST.
priority: Specifies the port priority in the range of 0 to 240 in increments of 16 (as in 0, 16, 32).
Usage guidelines
The smaller the value, the higher the port priority. If all ports on your device use the same priority value,
the port priority depends on the port index. The smaller the index, the higher the priority.
When the setting is configured in Layer 2 Ethernet interface view, it takes effect on only that interface.