LACP

Link Aggregation Control Protocol is an L2-layer protocol to aggregate two or more interfaces traffic. It also introduces link redundancy.

Bundle interface

As the name suggests, it’s an interface resulting from bonding interfaces.

interface bundle-ether (1-65535)

Create a bundle-ether interface with the given bundle id

set mode <rr|xor|active-backup|broadcast|lacp> <l2|l23|l34>

Set bundle-ether interface action mode. The first input determines the bonding algorithm, and the second is the load-balancing algorithm. LB is available on LACP and XOR bonding algorithms.

rr is round-robin. Packets are sent through slave interfaces in a round-robin manner.

In active-backup mode, all packets are sent through the first available interface and reserved.

boradcast mode sends all packets through all slave interfaces.

xor and lacp mode are the same. Packets are sent via different slaves based on determined flows.

l2 load balancing, classify packet to flows by their source and destination MAC addresses.

l23 load balancing, classify packet to flows by source and destination MAC addresses and source and destination IP addresses.

l34 load balancing, classify packet to flows by their source and destination IP addresses, protocol and if available, TCP/UDP source and destination port number.

Default values are LACP using Layer3-Layer4 load balancing.

Enslave an interface

[no] bundle id (1-65535)

Enslave an interface to the bundle interface with the given ID. The no form detaches an interface from the bundle.

Note

Slave interface should be up.

Note

Slave interfaces should not have any valid IPs any subinterface and should not be in a bridge group.

Note

Subinterfaces should be created on bundle-ether interfaces.

Example :

soodar(config)# interface ge0
soodar(config-if)# bridge-group 100
soodar(config-if)# quit
soodar(config)# interface ge1
soodar(config-if)# ip address 10.0.0.1/16
soodar(config-if)# quit
soodar(config)# interface bundle-ether 55
soodar(config-if)# set mode lacp l23
soodar(config-if)# ip address 192.168.1.22/24
soodar(config-if)# quit
soodar(config)# interface ge0
soodar(config-if)# no shutdown
soodar(config-if)# no bridge-group 100
soodar(config-if)# bundle id 55
soodar(config-if)# quit
soodar(config)# interface ge0
soodar(config-if)# no ip address 10.0.0.1/16
soodar(config-if)# bundle id 55

Logging

Debugging logs can be set in case of need.

[no] debug bond event

log data plane installation processes and results