Mixed Juniper and Arista EVPN-MPLS LACP ESI LAG VLAN-Aware Bundle

I have 4 total routers/switches configured to be part of the same MAC-VRF. 2x Juniper vMXs and 2 Arista vEOS. I have 2x CE routers. Each is dual homed to one Juniper device and one Arista device.

Here is what the routing-instance (MAC-VRF) on both routers looks like.

Here is what the PE facing interfaces look like for each vendor. You’ll notice on the Juniper equipment I have the system-priority set to 32k. YOU MUST CONFIGURE THIS. Juniper defaults to a value of 127 and Arista defaults to a value of 32k. You can probably configure this on the Arista side as well I just have not spent the time to find it in the documentation yet.

Juniper MX

root@R1# show interfaces ge-0/0/5
gigether-options {
    802.3ad ae1;
}

root@R1# show interfaces ae1
flexible-vlan-tagging;
encapsulation flexible-ethernet-services;
esi {
    00:00:00:00:00:00:00:00:00:bb;
    all-active;
}
aggregated-ether-options {
    link-speed 1g;
    lacp {
        active;
        periodic fast;
        system-priority 32k;
        system-id 00:00:00:00:00:bb;
    }
}
unit 10 {
    encapsulation vlan-bridge;
    vlan-id 10;
}
unit 11 {
    encapsulation vlan-bridge;
    vlan-id 11;
}

Arista

R4#show running-config interfaces ethernet 5
interface Ethernet5
   channel-group 2 mode active
   lacp timer fast

R4#show running-config interfaces port-Channel 2
interface Port-Channel2
   switchport trunk allowed vlan 10-11
   switchport mode trunk
   !
   evpn ethernet-segment
      identifier 0000:0000:0000:0000:00bb
   lacp system-id 0000.0000.00bb

CE Validation

Here is where I discovered the default system-priorities are different.

Before Setting System-Priority


CE4(config)#show interfaces port-Channel 1
Port-Channel1 is up, line protocol is up (connected)
  Hardware is Port-Channel, address is 5000.006f.20c3
  IP MTU 1500 bytes (default), BW 1000000 kbit
  Full-duplex, 1Gb/s
  Active members in this channel: 1
  ... Ethernet8 , Full-duplex, 1Gb/s



CE4(config)#show lacp interface all
State: A = Active, P = Passive; S=ShortTimeout, L=LongTimeout;
       G = Aggregable, I = Individual; s+=InSync, s-=OutOfSync;
       C = Collecting, X = state machine expired,
       D = Distributing, d = default neighbor state
                     |                        Partner
Port Status          | Sys-id                 Port#  State    OperKey  PortPri
---- ----------------|----------------------- ------ -------- -------- --------
Port Channel Port-Channel1:
Et7  Mismatched Agg! | 007F,00-00-00-00-00-bb     1  ASGs+     0x0002      127
Et8  Bundled         | 8000,00-00-00-00-00-bb     5  ASGs+CD   0x0002    32768

                      |                Actor
Port  Status          |Port#  State    OperKey  PortPriority  TimeoutMultiplier
---- -----------------|------ -------- -------- ------------- -----------------
Port Channel Port-Channel1:
Et7   Mismatched Agg! |    7  ASGs-     0x0001         32768
Et8   Bundled         |    8  ASGs+CD   0x0001         32768

After Setting System-Priority


CE4(config)#show interfaces port-Channel 1
Port-Channel1 is up, line protocol is up (connected)
  Hardware is Port-Channel, address is 5000.006f.20c3
  IP MTU 1500 bytes (default), BW 2000000 kbit
  Full-duplex, 2Gb/s
  Active members in this channel: 2
  ... Ethernet7 , Full-duplex, 1Gb/s
  ... Ethernet8 , Full-duplex, 1Gb/s


CE4(config)#show lacp interface all
State: A = Active, P = Passive; S=ShortTimeout, L=LongTimeout;
       G = Aggregable, I = Individual; s+=InSync, s-=OutOfSync;
       C = Collecting, X = state machine expired,
       D = Distributing, d = default neighbor state
             |                        Partner                            Actor
Port Status  | Sys-id                  Port#  State    OperKey  PortPri  Port#
---- --------|------------------------ ------ -------- -------- -------- ------
Port Channel Port-Channel1:
Et7  Bundled | 8000,00-00-00-00-00-bb      1  ASGs+CD   0x0002      127      7
Et8  Bundled | 8000,00-00-00-00-00-bb      5  ASGs+CD   0x0002    32768      8

                    |                 Actor
 Port      Status   |  State       OperKey     PortPriority   TimeoutMultiplier
------- ------------|----------- ----------- ---------------- -----------------
Port Channel Port-Channel1:
 Et7       Bundled  |  ASGs+CD      0x0001            32768
 Et8       Bundled  |  ASGs+CD      0x0001            32768

Service Provider Side Validation

I’ll try to add some more information here, one day.

root@R1# run show interfaces ae1
Physical interface: ae1, Enabled, Physical link is Up
  Interface index: 129, SNMP ifIndex: 550
  Link-level type: Flexible-Ethernet, MTU: 1522, Speed: 1Gbps, BPDU Error: None,
...

root@R1# run show route table bgp.evpn.0

bgp.evpn.0: 34 destinations, 38 routes (34 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both

...
1:0.0.0.123:123::bb::0/192 AD/EVI
                   *[EVPN/170] 00:02:55
                      Indirect
                    [BGP/170] 00:25:38, localpref 100, from 10.255.255.4
                      AS path: I, validation-state: unverified
                    > to 10.0.2.1 via ge-0/0/2.0
...
1:10.255.255.1:0::bb::FFFF:FFFF/192 AD/ESI
                   *[EVPN/170] 00:02:54
                      Indirect
...
1:10.255.255.4:1::bb::FFFF:FFFF/192 AD/ESI
                   *[BGP/170] 00:25:38, localpref 100, from 10.255.255.4
                      AS path: I, validation-state: unverified
                    > to 10.0.2.1 via ge-0/0/2.0



R4#show interfaces port-Channel 2
Port-Channel2 is up, line protocol is up (connected)
  Hardware is Port-Channel, address is 5000.0002.0005
  Ethernet MTU 9214 bytes, BW 1000000 kbit
  Full-duplex, 1Gb/s
  Active members in this channel: 1
  ... Ethernet5 , Full-duplex, 1Gb/s
...

R4#show bgp evpn
BGP routing table information for VRF default
Router identifier 10.255.255.4, local AS number 123
Route status codes: * - valid, > - active, S - Stale, E - ECMP head, e - ECMP
                    c - Contributing to ECMP, % - Pending BGP convergence
Origin codes: i - IGP, e - EGP, ? - incomplete
AS Path Attributes: Or-ID - Originator ID, C-LST - Cluster List, LL Nexthop - Link Local Nexthop

          Network                Next Hop              Metric  LocPref Weight  Path
...
 * >      RD: 0.0.0.123:123 auto-discovery 0 0000:0000:0000:0000:00bb
                                 -                     -       -       0       i
 *        RD: 0.0.0.123:123 auto-discovery 0 0000:0000:0000:0000:00bb
                                 10.255.255.1          -       100     0       i
 * >      RD: 10.255.255.1:0 auto-discovery 0000:0000:0000:0000:00bb
                                 10.255.255.1          -       100     0       i
 * >      RD: 10.255.255.4:1 auto-discovery 0000:0000:0000:0000:00bb
                                 -                     -       -       0       i
...
 * >      RD: 10.255.255.1:0 ethernet-segment 0000:0000:0000:0000:00bb 10.255.255.1
                                 10.255.255.1          -       100     0       i

Leave a comment