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.
- Enter global configuration mode.
- Configure a dynamic LAG.A dynamic LAG with an ID of 100 is created.
- Specify an Ethernet port to be part of the LAG.Ethernet port 1/1/1 is added to the LAG with the identifier 100, allowing it to participate in the aggregated link.
- Enable the Ethernet port.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.
- Return to global configuration mode.
- Enable EVPN configuration mode.
- Configure an ES.An ES is configured and ES configuration mode is enabled.
- Configure an ES type.An ES type 1 is configured with an ESI of 1234.1234.1234 1234.
- Configure a LAG for the ES.Associates the ES with the previously configured dynamic LAG.
- Configure the redundancy mode
for the ES.The ES is configured to operate in all-active mode so that all links within the ES are operational.
- Return to global configuration mode.
- Configure a VLAN.
- Assign VLAN 100 to LAG 100 as a
tagged VLAN.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
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
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