Configuring BGP EVPN Multihoming for a CE Device

The BGP EVPN Multihoming Configuration Example figure shows a typical BGP EVPN multihoming configuration at the Customer Edge (CE) device with the multi-homed nodes VXLAN Tunnel Endpoint (VTEP) 1 and VTEP 2 of an Ethernet Segment (ES). Both VTEPs are configured identically to share the same MAC and port-key combination with the CE. This setup allows the CE to aggregate both connected links at its end. The following task sets the configurations for VTEP-1.

  1. Enter global configuration mode.
    device# configure terminal
  2. Configure a dynamic LAG.
    device(config)# lag 100 dynamic id 100
    A dynamic LAG with an ID of 100 is created.
  3. Specify an Ethernet port to be part of the LAG.
    device(config-lag-100)# ports ethernet 1/1/1
    Ethernet port 1/1/1 is added to the LAG with the identifier 100, allowing it to participate in the aggregated link.
  4. Enable the Ethernet port.
    device(config-lag-100)# enable ethernet 1/1/1
    Ethernet port 1/1/1 is enabled within the LAG so that it is operational and ready to handle traffic as part of the LAG.
  5. Return to global configuration mode.
    device(config-lag-100)# exit
  6. Enable EVPN configuration mode.
    device(config)# l2vpn evpn
  7. Configure an ES.
    device(config-evpn)# ethernet-segment 1
    device(config-evpn-es-1)#
    An ES is configured and ES configuration mode is enabled.
  8. Configure an ES type.
    device(config-evpn-es-1)# es-type type-1 1234.1234.1234 1234
    An ES type 1 is configured with an ESI of 1234.1234.1234 1234.
  9. Configure a LAG for the ES.
    device(config-evpn-es-1)# lag 100 
    Associates the ES with the previously configured dynamic LAG.
  10. Configure the redundancy mode for the ES.
    device(config-evpn-es-1)# redundancy-mode all-active
    The ES is configured to operate in all-active mode so that all links within the ES are operational.
  11. Return to global configuration mode.
    device(config-evpn-es-1)# exit
    device(config-evpn)# exit
    device(config)#
  12. Configure a VLAN.
    device(config)# vlan 100
  13. Assign VLAN 100 to LAG 100 as a tagged VLAN.
    device(config-vlan-100)# tag lag 100
    Traffic from VLAN 100 is allowed to be transmitted across the LAG while retaining its VLAN tagging information.

Example Configuration for VTEP-1 and VTEP-2

VTEP-1:

device# configure terminal
device(config)# lag 100 dynamic id 100
device(config-lag-100)# ports ethernet 1/1/1
device(config-lag-100)# enable ethernet 1/1/1
device(config-lag-100)# exit
device(config)# l2vpn evpn
device(config-evpn)# ethernet-segment 1
device(config-evpn-es-1)# es-type type-1 1234.1234.1234 1234
device(config-evpn-es-1)# lag 100
device(config-evpn-es-1)# redundancy-mode all-active
device(config-evpn-es-1)# exit
device(config-evpn)# exit
device(config)# vlan 100
device(config-vlan-100)# tag lag 100

VTEP-2 :

device# configure terminal
device(config)# lag 100 dynamic id 100
device(config-lag-100)# ports ethernet 1/1/2
device(config-lag-100)# enable ethernet 1/1/2
device(config-lag-100)# exit
device(config)# l2vpn evpn
device(config-evpn)# ethernet-segment 1
device(config-evpn-es-1)# es-type type-1 1234.1234.1234 1234
device(config-evpn-es-1)# lag 100
device(config-evpn-es-1)# redundancy-mode all-active
device(config-evpn-es-1)# exit
device(config-evpn)# exit
device(config)# vlan 100
device(config-vlan-100)# tag lag 100

CE :

device# configure terminal
device(config)# lag 100 dynamic id 100
device(config-lag-100)# ports ethernet 1/1/1 ethernet 1/1/2
device(config-lag-100)# enable ethernet 1/1/1
device(config-lag-100)# enable ethernet 1/1/2