Example of VXLAN BGP EVPN (EBGP)
Cisco Nexus 9000 Series NX-OS VXLAN Configuration Guide, Release 7.x
78
◦ Create the network virtualization endpoint (NVE) interface
interface nve1
no shutdown
source-interface loopback1
host-reachability protocol bgp
member vni 900001 associate-vrf
member vni 2001001
suppress-arp
mcast-group 225.4.0.1
member vni 2001002
suppress-arp
mcast-group 225.4.0.1
◦ Configure interfaces for hosts/servers
interface Ethernet1/47
switchport access vlan 1002
interface Ethernet1/48
switchport access vlan 1001
◦ Configure interfaces for Spine-leaf interconnect
interface Ethernet2/1
interface Ethernet2/2
no switchport
load-interval counter 1 5
ip address 192.168.4.22/24
ip pim sparse-mode
no shutdown
interface Ethernet2/3
no switchport
load-interval counter 1 5
ip address 192.168.2.23/24
ip pim sparse-mode
no shutdown
◦ Configure Loopback for BGP
interface loopback0
ip address 40.1.1.1/32
ip pim sparse-mode
◦ Configure Loopback for local VTEP IP
interface loopback1
ip address 51.1.1.1/32
ip pim sparse-mode
◦ Configure BGP
router bgp 200
router-id 40.1.1.1
neighbor 10.1.1.1 remote-as 100
update-source loopback0
ebgp-multihop 3
allowas-in
send-community extended
address-family l2vpn evpn
allowas-in
send-community extended
neighbor 20.1.1.1 remote-as 100
update-source loopback0
ebgp-multihop 3
Configuring VXLAN BGP EVPN