LACP
Link Aggregation Control Protocol is a 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 that is the result of bonding interfaces.
- interface bundle-ether (1-65535)
Create a bundle-ether interface with given bundle id
- set mode <rr|xor|active-backup|broadcast|lacp> <l2|l23|l34>
Set bundle-ether interface action mode. First input determines bonding algorithm and second one, is 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 first available interface and the others are reserved.boradcast
mode sends all packets through all slave interfaces.xor
andlacp
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 their source and destination MAC addresses and source and destinaion IP addresses.l34
load balancing, classify packet to flows by their ssource and destinaion 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 given ID. The
no
form, detach an interface from 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