R0106-HP MSR Router Series Layer 2 - LAN Switching Command Reference(V7)

28
Default
The port priority of an interface is 32768.
Views
Layer 3 Ethernet interface view
Predefined user roles
network-admin
Parameters
port-priority: Specifies the port priority in the range of 0 to 65535. The smaller the value, the higher the
port priority.
Examples
# Set the port priority of Layer 3 Ethernet interface GigabitEthernet 2/1/2 to 64.
<Sysname> system-view
[Sysname] interface gigabitethernet 2/1/2
[Sysname-GigabitEthernet2/1/2] link-aggregation port-priority 64
Related commands
lacp system-priority
link-aggregation selected-port maximum
Use link-aggregation selected-port maximum to configure the maximum number of Selected ports
allowed in an aggregation group.
Use undo link-aggregation selected-port maximum to restore the default setting.
Syntax
link-aggregation selected-port maximum number
undo link-aggregation selected-port maximum
Default
The maximum number of Selected ports allowed in an aggregation group depends on hardware
capabilities.
Views
Layer 3 aggregate interface view
Predefined user roles
network-admin
Parameters
number: Specifies the maximum number of Selected ports allowed in an aggregation group. The value
range is 1 to 8.
Usage guidelines
Executing this command might cause some of the Selected ports in an aggregation group to become
unselected.
The maximum number of Selected ports allowed in the aggregation groups of the local and peer ends
must be consistent.