cisco — Configuring BGP on a Border VTEP for External Connectivity with MPLS Layer 3 VPN

Configuring EVPN VXLAN External Connectivity Configuring BGP on a Border VTEP for External Connectivity with MPLS Layer 3 VPN Command or Action Purpose Step 11 address-family l2vpn evpn Example: Device(config-router)# address-family l2vpn evpn Specifies the L2VPN address family and enters address family configuration mode. Step 12 import vpnv4 unicast re-originate Example: Device(config-router-af)# import vpnv4 unicast re-originate Reoriginates the VPNv4 routes imported from the external peer into the EVPN address family as EVPN routes, and distributes within the EVPN fabric. Step 13 import vpnv6 unicast re-originate Example:

Device(config-router-af)# import vpnv6 unicast re-originate Reoriginates the VPNv6 routes imported from the external peer into the EVPN address family as EVPN routes, and distributes within the EVPN fabric. Step 14 neighbor ip-address activate Example: Device(config-router-af)# neighbor 10.11.11.11 activate Enables the exchange information from a BGP neighbor. Use the IP address of the spine switch as the neighbor IP address. Step 15 neighbor ip-address send-community [both | extended | standard] Example: Device(config-router-af)# neighbor 10.11.11.11 send-community both Specifies the communities attribute sent to a BGP neighbor.

Use the IP address of the spine switch as the neighbor IP address. Note Use either of extended or both keywords. External connectivity cannot be established when you use the standard keyword. Step 16 neighbor {ip-address | peer-group-name} next-hop-self [ all] Example: Device(config-router-af)# neighbor ip-address next-hop-self all Configures the router as the next hop for a BGP-speaking neighbor or peer group. The all keyword is mandatory when implementing external connectivity through iBGP, where the EVPN fabric and the MPLS network are in the same BGP autonomous system number.

The all keyword is optional when implementing external connectivity through eBGP, where the EVPN fabric and the MPLS network are in different BGP autonomous system numbers. Step 17 exit-address-family Example: Device(config-router-af)# exit-address-family Exits address family configuration mode and returns to router configuration mode. Configuring EVPN VXLAN External Connectivity 13