Cisco Nexus 7000 Series Configuration Manual page 66

Nx-os vxlan
Hide thumbs Also See for Nexus 7000 Series:
Table of Contents

Advertisement

BGP EVPN and Overlay Configuration
Associate the encapsulation profile with the server facing interface
(config) #
interface Ethernet 1/12
no shutdown
no switchport
service instance 1 vni
encapsulation profile cisco default
no shutdown
Create a loopback interface and assign an IP address to it
(config) #
interface loopback 0
ip address 10.1.1.54/32
Associate the Layer 2 VNI to the overlay and configure multicast group membership
(config) #
interface nve 1
no shutdown
source-interface loopback0
host-reachability protocol bgp
member vni 30000
mcast-group 224.1.33.3
Enable EVPN and associate the Layer 2 VNI to it
Enable route distinguisher and route target functions for the Layer 2 VNI
(config) #
evpn
vni 30000 l2
rd auto
route-target import auto
route-target export auto
Note that with the Cisco Nexus 7000 Series switches, a VNI is associated with a bridge-domain (1:1). Refer
to the respective configuration guide for more information on bridge-domains. The combination of the router
BGP command (configured earlier) and the evpn command ensures that BGP EVPN is configured to advertise
'MAC address + associated host route (optional)' of servers attached to the VTEP, for the specified Layer 2
VNI. The MAC+IP routes for the hosts are advertised into BGP-EVPN for hosts belonging to layer 2 VNI
30000.
Layer 3 VNI configurations for a tenant
Associate the VRF VNI to the customer VRF
Enable VRF route distinguisher and VRF route target functions for the Layer 3 VNI
(config) #
vrf context coke
vni 50000
rd auto
address-family ipv4 unicast
route-target both auto evpn
Cisco Nexus 7000 Series NX-OS VXLAN Configuration Guide
58
Configuring VXLAN BGP EVPN

Advertisement

Table of Contents
loading

Table of Contents