Configuring LACP

LACP (Link Aggregation Control Protocol) is a network protocol defined in the IEEE 802.3ad standard. It is used to combine multiple physical links into a single logical link—known as a port channel or link aggregation group (LAG)—to increase bandwidth and provide redundancy

  • LACP Fallback: Enables the interface to fall back to standalone mode when LACP negotiation fails, ensuring continued traffic forwarding.

  • LACP Fast-Rate: Reduces the LACP negotiation interval to 1 second, allowing quicker detection of link status changes.

  • LACP Min-Links: Ensures the port-channel remains operational only when the minimum configured number of links are active, enhancing redundancy and stability.

Reference

Command

pbnoscli(config)# port-channel <channelid> ports <portname> lacp

description

<string>

fallback

<true/false>

fast-rate

<true/false>

min-links

minimum num of links

Example

pbnoscli# configure terminal  
pbnoscli(config)# port-channel 1 
  ports                 Add physical ports to port channel
pbnoscli(config)# port-channel 1 ports 
  <portname>            Add ports (Add multiple ports comma delimited)
pbnoscli(config)# port-channel 5 ports Ethernet1/1,Ethernet2/1 lacp 
pbnoscli(config)# end


pbnoscli(config)# no port-channel 5 ports
  <cr>

You can verify the configuration by using the command(s) below:

pbnoscli# show port-channel information

Flags: A - active, I - inactive, Up - up, Dw - Down, N/A - not available,
       S - selected, D - deselected, * - not synced

===================================
Name         : port-channel5
Member ports : Ethernet1/1[S],Ethernet2/1[S]
Type         : LACP
State        : Active, Up

===================================


pbnoscli# show running-config
configure terminal
!
port-channel 5 ports Ethernet1/1,Ethernet2/1 lacp min-links 1
!
pbnoscli#

Last updated