Interface Aggregation (LAG) on Juniper MX

For example, I will configure interface aggregation on the Juniper MX204.

We indicate that we need only one interface aggregation:

set chassis aggregated-devices ethernet device-count 1

Let’s configure the interfaces that will participate in the aggregation:

set interfaces et-0/0/0 description LAG1_Link1
set interfaces et-0/0/0 gigether-options 802.3ad ae0
set interfaces et-0/0/1 description LAG1_Link2
set interfaces et-0/0/1 gigether-options 802.3ad ae0

Set up an aggregated interface:

edit interfaces ae0
set aggregated-ether-options minimum-links 1
set aggregated-ether-options link-speed 40g
set aggregated-ether-options lacp active
#set aggregated-ether-options lacp periodic fast
#set aggregated-ether-options load-balance per-packet

set flexible-vlan-tagging
set encapsulation flexible-ethernet-services
set unit 210 vlan-id 210
set unit 210 family inet address
#set mtu 9216

Check the correctness of the configuration and apply the changes:

commit check

Here are some commands for viewing statistics and parameters:

show lacp interfaces ?
show lacp interfaces ae0 extensive
show lacp interfaces extensive
show lacp statistics interfaces
show lacp timeouts
show configuration interfaces ae0
show interfaces terse | match ae0
show interfaces extensive ae0
monitor traffic interface et-0/0/0

If you did not specify aggregated-ether-options lacp active/passive, then the following warning will be displayed:

show lacp interfaces
warning: lacp subsystem not running - not needed by configuration.

See also the official documentation

See also my articles:
Juniper MX204 setup
LACP Link Aggregation on Cisco Nexus 3064

Leave a comment

Leave a Reply