cisco — Configuring BGP on a VTEP with EVPN Address Family

Procedure Configuring EVPN VXLAN Layer 2 Overlay Network Configuring BGP on a VTEP with EVPN Address Family Command or Action Purpose Step 1 enable Example: Device> enable Enables privileged EXEC mode. Enter your password, if prompted. Step 2 configure terminal Example: Device# configure terminal Enters global configuration mode. Step 3 router bgp autonomous-system-number Example: Device(config)# router bgp 1 Enables a BGP routing process, assigns it an autonomous system number, and enters router configuration mode. Step 4 bgp log-neighbor-changes Example:

Device(config-router)# bgp log-neighbor-changes (Optional) Enables the generation of logging messages when the status of a BGP neighbor changes. For more information, see Configuring BGP module of the IP Routing Configuration Guide. Step 5 bgp update-delay time-period Example: Device(config-router)# bgp update-delay 1 (Optional) Sets the maximum initial delay period before sending the first update. The range is 1 to 3600 seconds. For more information, see Configuring BGP module of the IP Routing Configuration Guide. Step 6 bgp graceful-restart Example: Device(config-router)# bgp graceful-restart (Optional) Enables the BGP graceful restart capability for all BGP neighbors.

For more information, see Configuring BGP module of the IP Routing Configuration Guide. Step 7 no bgp default ipv4-unicast Example: Device(config-router)# no bgp default ipv4-unicast (Optional) Disables default IPv4 unicast address family for BGP peering session establishment. For more information, see Configuring BGP module of the IP Routing Configuration Guide. Step 8 neighbor ip-address remote-as number Example: Device(config-router)# neighbor 10.11.11.11 remote-as 1 Defines multiprotocol-BGP neighbors. Under each neighbor, define the Layer 2 Virtual Private Network (L2VPN) EVPN configuration. Use the IP address of the spine switch as the neighbor IP address.

Configuring EVPN VXLAN Layer 2 Overlay Network 12