cisco — (Optional) Configuring the Link Aggregation Control Protocol Port Priority

(Optional) Configuring the Link Aggregation Control Protocol Port Priority By default, all ports use the same port priority. If the local system has a lower value for the system priority and the system ID than the remote system, you can affect which of the hot-standby links become active first by changing the port priority of LACP EtherChannel ports to a lower value than the default. The hot-standby ports that have lower port numbers become active in the channel first. You can use the show etherchannel summary privileged EXEC command to see which ports are in the hot-standby mode (denoted with an H port-state flag).

Note If LACP is not able to aggregate all the ports that are compatible (for example, the remote system might have more restrictive hardware limitations), all the ports that cannot be actively included in the EtherChannel are put in the hot-standby state and are used only if one of the channeled ports fails. Follow these steps to configure the LACP port priority. Procedure Configuring EtherChannels (Optional) Configuring the Link Aggregation Control Protocol Port Priority Command or Action Purpose Example: Device(config)# lacp system-priority 32000 The range is 1 to 65535. The default is 32768. The lower the value, the higher the system priority. Step 4 end Example:

Device(config)# end Returns to privileged EXEC mode. Command or Action Purpose Step 1 enable Example: Device> enable Enables privileged EXEC mode. Enter your password if prompted. Step 2 configure terminal Example: Device# configure terminal Enters global configuration mode. Step 3 interface interface-id Example: Device(config)# interface gigabitethernet 1/0/2 Specifies the port to be configured, and enters interface configuration mode. Step 4 lacp port-priority priority Example: Device(config-if)# lacp port-priority 32000 Configures the LACP port priority. The range is 1 to 65535. The default is 32768. The lower the value, the more likely that the port will be used for LACP transmission.

Configuring EtherChannels 25