Juniper EVPN-MPLS LACP ESI LAG VLAN-Aware Bundle

Two vMXs configured to be part of the same MAC-VRF running LACP to multi-home a VLAN-Aware Bundle.

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

root@R1# show routing-instances
TEST123 {
    instance-type virtual-switch;
    route-distinguisher 0.0.0.123:123;
    vrf-target target:123:123;
    protocols {
        evpn {
            control-word;
            extended-vlan-list 10-11;
        }
    }
    bridge-domains {
        VLAN10 {
            domain-type bridge;
            vlan-id 10;
            interface ae0.10;
        }
        VLAN11 {
            domain-type bridge;
            vlan-id 11;
            interface ae0.11;
        }
    }
}

Here is what the PE facing interfaces look like. I think you can do configure an ESI per sub-interface. I’ll have to play with that and share the configuration later though.

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

[edit]
root@R1# show interfaces ae0
flexible-vlan-tagging;
encapsulation flexible-ethernet-services;
esi {
    00:00:aa:aa:bb:bb:cc:cc:dd:dd;
    all-active;
}
aggregated-ether-options {
    link-speed 1g;
    lacp {
        active;
        periodic fast;
        system-id 00:00:00:00:00:01;
    }
}
unit 10 {
    encapsulation vlan-bridge;
    vlan-id 10;
}

Validation

root@R2# run show evpn database instance TEST123 esi 00:00:aa:aa:bb:bb:cc:dd:dd
Instance: TEST123
VLAN  DomainId  MAC address        Active source                  Timestamp        IP address
10              50:00:00:5b:6f:f5  00:00:aa:aa:bb:bb:cc:cc:dd:dd  Jul 11 21:31:01  100.100.10.1


root@R2# run show evpn instance extensive
...
    ae0.10          00:00:aa:aa:bb:bb:cc:cc:dd:dd  all-active       Up         Root
...
 Number of ethernet segments: 2
    ESI: 00:00:aa:aa:bb:bb:cc:cc:dd:dd
      Status: Resolved by IFL ae0.11
      Local interface: ae0.10, Status: Up/Forwarding
      Number of remote PEs connected: 1
        Remote PE        MAC label  Aliasing label  Mode
        10.255.255.1     148        0               all-active
      DF Election Algorithm: MOD based
      Designated forwarder: 10.255.255.1
      Backup forwarder: 10.255.255.2
      Last designated forwarder update: Jul 11 21:31:11
      Advertised MAC label: 77
      Advertised aliasing label: 77
      Advertised split horizon label: 78
  ...

root@R2# run show route table bgp.evpn.0
...
1:0.0.0.123:123::aaaabbbbccccdddd::0/192 AD/EVI
                   *[BGP/170] 00:14:39, localpref 100, from 10.255.255.1
                      AS path: I, validation-state: unverified
                    > to 10.0.1.2 via ge-0/0/1.0
...
1:10.255.255.1:0::aaaabbbbccccdddd::FFFF:FFFF/192 AD/ESI
                   *[BGP/170] 00:14:39, localpref 100, from 10.255.255.1
                      AS path: I, validation-state: unverified
                    > to 10.0.1.2 via ge-0/0/1.0
...

root@R2# run show evpn database extensive
Instance: TEST123
VLAN ID: 10, MAC address: 50:00:00:5b:6f:f5
  State: 0x0
  Source: 00:00:aa:aa:bb:bb:cc:cc:dd:dd, Rank: 1, Status: Active
    Remote origin: 10.255.255.1
    Mobility sequence number: 0 (minimum origin address 10.255.255.1)
    Timestamp: Jul 11 21:31:01 (0x62cc9695)
    State: <Remote-To-Local-Adv-Done>
    MAC advertisement route status: Not created (no local state present)
    IP address: 100.100.10.1
      Remote origin: 10.255.255.1
    History db: <No entries>

root@R2# run show bridge mac-table instance TEST123
MAC flags       (S -static MAC, D -dynamic MAC, L -locally learned, C -Control MAC
    O -OVSDB MAC, SE -Statistics enabled, NM -Non configured MAC, R -Remote PE MAC, P -Pinned MAC)

Routing instance : TEST123
 Bridging domain : VLAN10, VLAN : 10
   MAC                 MAC      Logical          NH     MAC         active
   address             flags    interface        Index  property    source
   50:00:00:5b:6f:f5   DRC      ae0.10

Shutdown the interface on R2 and validate again.

root@R2# set interfaces ge-0/0/8 disable
[edit]
root@R2# commit
commit complete

root@R2# run show evpn instance extensive
...
    ae0.10          00:00:aa:aa:bb:bb:cc:cc:dd:dd  all-active       Down       Root
...
  Number of ethernet segments: 2
    ESI: 00:00:aa:aa:bb:bb:cc:cc:dd:dd
      Status: Resolved by NH 1048576
      Local interface: ae0.10, Status: Down
      Number of remote PEs connected: 1
        Remote PE        MAC label  Aliasing label  Mode
        10.255.255.1     148        148             all-active
      DF Election Algorithm: MOD based
      Designated forwarder: 10.255.255.1
      Last designated forwarder update: Jul 11 21:49:24
      Advertised MAC label: 77
      Advertised aliasing label: 77
      Advertised split horizon label: 78
    ESI: 00:00:aa:aa:bb:bb:cc:cc:dd:ff
      Status: Resolved by NH 1048574
      Number of remote PEs connected: 2
        Remote PE        MAC label  Aliasing label  Mode
        10.255.255.3     0          1042979         all-active
        10.255.255.4     1036801    0               all-active

root@R2# run show evpn database extensive
Instance: TEST123
VLAN ID: 10, MAC address: 50:00:00:5b:6f:f5
  Nexthop ID: 1048576
  State: 0x0
  Source: 00:00:aa:aa:bb:bb:cc:cc:dd:dd, Rank: 1, Status: Active
    Remote origin: 10.255.255.1
    Mobility sequence number: 0 (minimum origin address 10.255.255.1)
    Timestamp: Jul 11 21:31:01 (0x62cc9695)
    State: <Remote-To-Local-Adv-Done>
    MAC advertisement route status: Not created (no local state present)
    IP address: 100.100.10.1
      Remote origin: 10.255.255.1
    History db: <No entries>

root@R2# run show bridge mac-table instance TEST123
MAC flags       (S -static MAC, D -dynamic MAC, L -locally learned, C -Control MAC
    O -OVSDB MAC, SE -Statistics enabled, NM -Non configured MAC, R -Remote PE MAC, P -Pinned MAC)

Routing instance : TEST123
 Bridging domain : VLAN10, VLAN : 10
   MAC                 MAC      Logical          NH     MAC         active
   address             flags    interface        Index  property    source
   50:00:00:5b:6f:f5   DC                        1048576            00:00:aa:aa:bb:bb:cc:cc:dd:dd

Leave a comment