Configuring the LACP port priority

Follow this procedure to configure the LACP port priority of a member port of a specific port-channel interface.

Procedure

  1. Enter the configure terminal command to access global configuration mode.
    device# configure terminal
  2. Enter the interface port-channel command to add a port channel interface at the global configuration level.
    device(config)# interface port-channel 30
    device(conf-Port-channel-30)# 
  3. Configure the interface ethernet command and add the port to the port-channel interface.
    device(conf-Port-channel-30)# interface ethernet 0/5
    device(conf-if-eth-0/5)# channel-group 30 mode active
    
  4. Configure the LACP port priority 12 for the member port.
    device(conf-if-eth-0/5)# lacp port-priority 12
    Note

    Note

    The LACP port priority value ranges from 1 to 65535. The default value is 32768.
  5. To rest the configured port priority to the default value.
    device(conf-if-eth-0/5)# no lacp port-priority

Example

The example sets the port priority as 12.

device# configure terminal
device(config)# interface port-channel 30
device(conf-Port-channel-30)# interface ethernet 0/5
device(conf-if-eth-0/5)# channel-group 30 mode active
device(conf-if-eth-0/5)# lacp port-priority 12