Configuring BGP on a VTEP with EVPN Address Family To configure BGP on a VTEP with EVPN address family and with spine switch as the neighbor, perform the following steps: Configuring EVPN VXLAN Layer 2 Overlay Network Configuring BGP on a VTEP with EVPN Address Family Command or Action Purpose Step 3 interface nve-interface-id Example: Device(config)# interface nve1 Defines the interface to be configured as a trunk, and enters interface configuration mode. Step 4 no ip address Example: Device(config-if)# no ip address Disables IP processing on the interface by removing its IP address. Step 5 source-interface loopback-interface-id Example:
Device(config-if)# source-interface loopback0 Sets the IP address of the specified loopback interface as the source IP address. Step 6 host-reachability protocol bgp Example: Device(config-if)# host-reachability protocol bgp Configures BGP as the host-reachability protocol on the interface. Note You must configure the host-reachability protocol on the interface. If you do not execute this step, the VXLAN tunnel defaults to static VXLAN tunnel, which is currently not supported on the Cisco Catalyst 9000 Series switches. Step 7 member vni layer2-vni-id {ingress-replication [local-routing] | mcast-group multicast-group-address Example:
Device(config-if)# member vni 10000 mcast-group 227.0.0.1 Associates the Layer 2 VNI member with the NVE. The specified replication type must match the replication type that is configured globally or for the specific EVPN instance. Use mcast-group keyword for static replication and ingress-replication keyword for ingress replication. Use the local-routing keyword only when you need to configure route type 2 (RT 2) to route type 5 (RT 5) reorigination on the centralized gateway (CGW) VTEP. Step 8 end Example: Device(config-if)# end Returns to privileged EXEC mode. Configuring EVPN VXLAN Layer 2 Overlay Network 11