Professional Documents
Culture Documents
me Strona 1 z 5
NotTheNetwork.me
a blog about all things networking
In my previous Junos Basics post I covered configuring an 802.1Q Trunk between a Juniper
EX2200C and a Cisco 2960S. This post will expand upon the previous one by bundling two
interfaces together on each switch to form an aggregated link for the trunk.
There are a few proprietary standards for aggregating ethernet links, but Juniper uses the IEEE
802.3ad standard and Cisco can also be configured to use this. The 802.3ad standard is known as
Link Aggregation Control Protocol (LACP). LACP can be configured in either Active or Passive mode
– in Active mode a switch will always try and form an LACP link with the other side, and in Passive
mode a switch will form an LACP link if the other side is in Active mode.
http://notthenetwork.me/blog/2013/07/29/junos-basics-aggregated-ethernet-interfaces... 2018-06-29
Junos Basics – Aggregated Ethernet Interfaces (LACP) | NotTheNetwork.me Strona 2 z 5
Onto the Juniper side, the first step is to specify the number of aggregated links on the switch:
Next, we have to remove the logical unit configuration from the interfaces that are to be bundled,
as logical units are not allowed on aggregated links:
Next, set the interfaces to use LACP (802.3ad) and to be members of a logical aggregated ethernet
port (ports begin with ae):
Then we need to set the LACP mode for our new aggregated interface. We’ll make the Juniper side
Active, so that it initiates the transmissison of LACP packets:
Finally, we need to set the aggregated link to be a trunk, and tell it which VLAN’s to trunk:
To verify our config, we’ll start on the Cisco side and check the Etherchannel summary:
http://notthenetwork.me/blog/2013/07/29/junos-basics-aggregated-ethernet-interfaces... 2018-06-29
Junos Basics – Aggregated Ethernet Interfaces (LACP) | NotTheNetwork.me Strona 3 z 5
R Layer3 S Layer2
U in use f failed to allocate aggregator
http://notthenetwork.me/blog/2013/07/29/junos-basics-aggregated-ethernet-interfaces... 2018-06-29
Junos Basics – Aggregated Ethernet Interfaces (LACP) | NotTheNetwork.me Strona 4 z 5
From the above output we can see that our individual interfaces are both Active, with the partner
end Passive. For a detailed explanation of the output see this article from Juniper, but suffice to
say the Mux State of Collecting and Distributing means the LACP protocol is working correctly.
We can also confirm the trunk is up and trunking for VLAN’s 100 and 200:
I hope this has been a useful explanation. In my next Junos Basics post I’ll cover first hop
redundancy using VRRP.
Rich
http://notthenetwork.me/blog/2013/07/29/junos-basics-aggregated-ethernet-interfaces... 2018-06-29
Junos Basics – Aggregated Ethernet Interfaces (LACP) | NotTheNetwork.me Strona 5 z 5
Jack In Juniper EX4600, If one side interface configured ae but the other side
January 3, 2017
no ae configured. Will trunk still works?
Switch A
set interfaces ge-0/1/0 ether-options 802.3ad ae0
set interfaces ae0 unit 0 family ethernet-switching port-mode trunk
Switch B
set interfaces ge-0/0/1 unit 0 family ethernet-switching port-mode trunk
Rich Bibby Post author Good question! I’m not sure, I’d have to test it. maybe
January 3, 2017
someone else can confirm?
http://notthenetwork.me/blog/2013/07/29/junos-basics-aggregated-ethernet-interfaces... 2018-06-29