Select Page

AE_Link Aggregation Group (LAG)

CONFIGURATION

  1. Specify the number of aggregated Ethernet interfaces to be created:

[edit chassis]
[email protected]#
 set aggregated-devices ethernet device-count number

  1. Specify the link speed for the aggregated Ethernet bundle:

[edit interfaces]
[email protected]#
 set ae0 aggregated-ether-options link-speed speed

  1. Specify the members to be included within the aggregated Ethernet bundle. To avoid commit errors, you must first delete the interfaces added in LACP from the RTSP configuration before specifying the members to be included to the aggregated Ethernet bundle.

[edit interfaces]
[email protected]#
 set xe-fpc/pic/port ether-options 802.3ad ae0
[email protected]#
 set xe-fpc/pic/port ether-options 802.3ad ae0

  1. Specify an interface family for the aggregated Ethernet bundle:

[edit interfaces]
[email protected]#
 set ae0 unit 0 family inet address address

  1. (Optional) Specify the minimum number of links for the aggregated Ethernet interface (aex), that is, the defined bundle, to be labeled up:

NOTE

By default, only one link must be up for the bundle to be labeled up.

[edit interfaces]
[email protected]#
 set ae0 aggregated-ether-options minimum-links number

 

–Specific to vQFX in eve-ng:

***  logical unit is not allowed on aggregated links

deactivate interfaces xe-0/0/9 unit 0

deactivate interfaces xe-0/0/10 unit 0

commit

 

set chassis aggregated-devices ethernet device-count 5

set interfaces ae0 description “AE_bw_Edge1_Edge2_XE-9/10”

set interfaces ae0 aggregated-ether-options link-speed 10g

set interfaces xe-0/0/9 ether-options 802.3ad ae0

set interfaces xe-0/0/10 ether-options 802.3ad ae0

set interfaces ae0 unit 0 family inet address 11.11.11.1/24

*** set interfaces ae0 aggregated-ether-options minimum-links 1

[email protected]> show interfaces terse |match ae0   

xe-0/0/9.0               up    up   aenet    –> ae0.0

xe-0/0/10.0             up    up   aenet    –> ae0.0

ae0                         up    up

ae0.0                      up    up   inet     11.11.11.1/24  

{master:0}

[email protected]> ping 11.11.11.2                    

PING 11.11.11.2 (11.11.11.2): 56 data bytes

64 bytes from 11.11.11.2: icmp_seq=0 ttl=64 time=110.479 ms

64 bytes from 11.11.11.2: icmp_seq=1 ttl=64 time=105.912 ms

Configuration of aggregated Ethernet (ae) devices with   LAG and LACP (vMX):

–vMX1:

set chassis aggregated-devices ethernet device-count 5

set interfaces ae0 description “AE_bw_Core1_Core2”

set interfaces ae0 aggregated-ether-options link-speed 1g

set interfaces ge-0/0/8 ether-options 802.3ad ae0

set interfaces ge-0/0/9 ether-options 802.3ad ae0

set interfaces ae0 unit 0 family inet address 22.22.22.1/24

set interfaces ae0 aggregated-ether-options lacp active

set interfaces ae0 unit 0 family ethernet-switching

set vlans vlan22 vlan-id 22

set vlans vlan22 interface ae0

*** set interfaces ae0 aggregated-ether-options minimum-links 1

 

–vMX2:

set chassis aggregated-devices ethernet device-count 5

set interfaces ae0 description “AE_bw_Core1_Core2”

set interfaces ae0 aggregated-ether-options link-speed 1g

set interfaces ge-0/0/8 ether-options 802.3ad ae0

set interfaces ge-0/0/9 ether-options 802.3ad ae0

set interfaces ae0 unit 0 family inet address 22.22.22.2/24

set interfaces ae0 aggregated-ether-options lacp active

set interfaces ae0 unit 0 family ethernet-switching

set vlans vlan22 vlan-id 22

set vlans vlan22 interface ae0

*** set interfaces ae0 aggregated-ether-options minimum-links 1

 

[email protected]> show interfaces terse |match ae0

ge-0/0/8.0              up    up   aenet    –> ae0.0

ge-0/0/9.0              up    up   aenet    –> ae0.0

ae0                        up    up

ae0.0                     up    up   inet     22.22.22.2/24  

 

[email protected]> show lldp neighbors                

Local Interface    Parent Interface    Chassis Id          Port info          System Name

ge-0/0/8               ae0                       2c:6b:f5:ea:db:c0   534                Core1              

ge-0/0/9               ae0                       2c:6b:f5:ea:db:c0   535                Core1   

 

[email protected]> ping 22.22.22.1

64 bytes from 22.22.22.1: icmp_seq=0 ttl=64 time=2.323 ms

 Test:

When à set interfaces ae0 aggregated-ether-options minimum-links 1

               set interfaces ge-0/0/8 disable

 

> show interfaces terse |match ae0   

ge-0/0/8.0              up    down aenet    –> ae0.0

ge-0/0/9.0              up    up   aenet    –> ae0.0

ae0                        up    up

ae0.0                     up    up   inet     22.22.22.2/24  

 

 

When à set interfaces ae0 aggregated-ether-options minimum-links 2

               set interfaces ge-0/0/8 disable

 

> show interfaces terse |match ae0   

ge-0/0/8.0              up    down aenet    –> ae0.0

ge-0/0/9.0              up    up   aenet    –> ae0.0

ae0                        up    down

ae0.0                     up    down inet     22.22.22.2/24

The Juniper All-Access | Reading List

Share on print
Print
Share on google
Google+
Share on facebook
Facebook
Share on twitter
Twitter
Share on linkedin
LinkedIn

Leave a reply

Your email address will not be published. Required fields are marked *

ADENTECH guides

We love to help.

Get our newsletter, join the community: