lacp port-priority

To configure the LACP port priority, use the command lacp port-priority in Interface Configuration Mode. The no form of the command resets the LACP port priority to its default value.

lacp port-priority

lacp port-priority { <priority (0-65535)> }

no lacp port-priority

Parameters

Parameter Type Description
<priority (0-65535)> Integer Enter a value to configure the LACP port priority. This value ranges from 0 to 65535. This port priority is used in combination with LACP port identifier during the identification of best ports in a port channel. The priority determines if the link is an active link or a standby link, when the number of ports in the aggregation exceeds the maximum number supported by the hardware. The links with lower priority become active links. The default is 128.

Mode

Interface Configuration Mode

Prerequisites

This command executes successfully, only if
  • the LA functionality is started and enabled in the switch.
  • This configuration takes effect only on the interface that is configured for LACP
  • The LACP port priority will not be reset to its default value if the port is removed from one port channel and added to another port channel.

Examples

iS5Comm(config)# int gi 0/9

iS5Comm(config- if)# lacp port-priority 1