⬆️ ⬇️

Juniper MX80 + Cisco ASR1002 LACP Ether-channel

Good day! The task was to make the Ether-channel of 4 gigabit ports between 2 pieces of iron from different manufacturers, namely Juniper MX80 and Cisco ASR1002. If between Cisco Catalyst and ASR it worked without problems, then it was necessary to tinker with the juniper.





It all starts easy. On a tsiska we create the Port-channel interface.

interface Port-channel 1



Set the desired ip address and parameters.



Further on the necessary interfaces we enter

channel-group 1 mode active



There are no settings for balancing on this router, but outgoing ASR traffic seems to be balancing normally. on katalist included load-balance by src-dst-mac.

')

With Tsiskoy finished, move on to the juniper.



chassis {

aggregated-devices {

ethernet {

device-count 1;

}

}

network-services all-ethernet;

}





device-count is set by the number of aggregated interfaces, in this case there will be one interface.



on the right interfaces we enter

ge-1/0/0 {

gigether-options {

802.3ad ae0;

}

}



create an aggregated interface

ae0 {

aggregated-ether-options {

minimum-links 1;

link-speed 1g;

lacp {

active;

periodic fast;

}

}

unit 0 {

family inet {

address 10.100.0.1/30;

}

}

}







Link rises ping go. I couldn’t find any docks on balancing on the juniper and when I sent traffic to the channel I found out that from the tsiska to the juniper the traffic is balanced, and from the june to the tsiska everything flew into one channel.



Digging the documentation came to nothing lead. I was familiar with Juniper for the first time and by studying the configuration of the piece of iron clicking "?" stumbled upon balancing in the polising section (nowhere in the manuals about why no one wrote)



policy-options {

policy-statement balance {

then {

load-balance per-packet;

}

}

}





Thus, the traffic from juniper to tsiska began to be shared across interfaces.



I hope someone will be useful, since for me it was not the most trivial.



Sorry for my Russian, the first experience of writing articles.

Source: https://habr.com/ru/post/174399/



All Articles