Juniper EX4500 configuration:
Enter configuration menu:
edit chassis set aggregated-devices ethernet device-count 2
This will define the number of aggregated device in switch ( in this case w’ll create ae0 and ae1 )
Aggregated interfaces will be ge-0/0/4 and ge-0/0/5
edit interfaces set ge-0/0/4 ether-options 802.3ad ae0 set ge-0/0/5 ether-options 802.3ad ae0 set ae0 aggregated-ether-options minimum-links 1 link-speed 1g lacp passive periodic fast set ae0 unit 0 family ethernet-switching port-mode trunk vlan members [ 500 ]
To view stats:
root@bravo# run show lacp interfaces ae0 Aggregated interface: ae0 LACP state: Role Exp Def Dist Col Syn Aggr Timeout Activity ge-0/0/4 Actor No No Yes Yes Yes Yes Fast Passive ge-0/0/4 Partner No No Yes Yes Yes Yes Fast Active ge-0/0/5 Actor No No Yes Yes Yes Yes Fast Passive ge-0/0/5 Partner No No Yes Yes Yes Yes Fast Active LACP protocol: Receive State Transmit State Mux State ge-0/0/4 Current Fast periodic Collecting distributing ge-0/0/5 Current Fast periodic Collecting distributing root@bravo# run show lacp statistics interfaces ae0 Aggregated interface: ae0 LACP Statistics: LACP Rx LACP Tx Unknown Rx Illegal Rx ge-0/0/4 387051 275144 0 0 ge-0/0/5 382991 274966 0 0