Skip to content

NVE

NVE (Network Virtualization Edge) interfaces serve as the VXLAN tunnel endpoint (VTEP) on NX-OS devices, encapsulating and decapsulating overlay traffic for data center fabric deployments with configurable source interface, host reachability protocol, and multicast group assignments. They support advanced VXLAN features including advertise virtual RMAC, anycast bundled interface for vPC VTEP redundancy, multisite border gateway interface and virtual RMAC for DCI (Data Center Interconnect), ARP/ND suppression, and MAC route suppression for optimized overlay control plane behavior. Per-VNI configuration controls associate-VRF mapping for L3VNI, multicast group assignment, ingress replication protocol (BGP/static), multisite ingress replication, and spine anycast gateway for flexible overlay network design.

Global VXLAN settings such as the VXLAN UDP destination port, the UDP source port mode, the NVE multicast index size, the NVE overlay and infra VLANs, and the Tenant Routed Multicast (TRM) settings (advertise evpn multicast, ip multicast overlay-spt-only and ip multicast overlay-distributed-dr) are configured under system.

NVE (Network Virtualization Edge) interfaces serve as the VXLAN tunnel endpoint (VTEP) on NX-OS devices, encapsulating and decapsulating overlay traffic for data center fabric deployments with configurable source interface, host reachability protocol, and multicast group assignments. They support advanced VXLAN features including advertise virtual RMAC, anycast bundled interface for vPC VTEP redundancy, multisite border gateway interface and virtual RMAC for DCI (Data Center Interconnect), ARP/ND suppression, and MAC route suppression for optimized overlay control plane behavior. Per-VNI configuration controls associate-VRF mapping for L3VNI, multicast group assignment, ingress replication protocol (BGP/static), multisite ingress replication, and spine anycast gateway for flexible overlay network design.

NameTypeConstraintMandatoryDefault Value
devicesListdevicesNo
device_groupsListdevice_groupsNo
globalClassglobalNo
templatesListtemplatesNo

NameTypeConstraintMandatoryDefault Value
configurationClassconfigurationNo

NameTypeConstraintMandatoryDefault Value
configurationClassconfigurationNo

NameTypeConstraintMandatoryDefault Value
configurationClassconfigurationNo

NameTypeConstraintMandatoryDefault Value
configurationClassconfigurationNo

NameTypeConstraintMandatoryDefault Value
interfacesClassinterfacesNo
systemClasssystemNo

NameTypeConstraintMandatoryDefault Value
interfacesClassinterfacesNo

NameTypeConstraintMandatoryDefault Value
nveClassnveNo

NameTypeConstraintMandatoryDefault Value
nv_overlay_vxlan_udp_portIntegermin: 1024, max: 65535No
nv_overlay_vxlan_udp_source_port_modeChoicelow, high, rfcNo
nve_ipmc_index_sizeIntegermin: 0, max: 7000No
nve_overlay_vlansClassnve_overlay_vlansNo
nve_infra_vlansListnve_infra_vlansNo
advertise_evpn_multicastBooleantrue, falseNo
ip_multicast_overlay_distributed_drBooleantrue, falseNo
ip_multicast_overlay_spt_onlyBooleantrue, falseNo

nve (nxos.devices.configuration.interfaces)

Section titled “nve (nxos.devices.configuration.interfaces)”
NameTypeConstraintMandatoryDefault Value
shutdownBooleantrue, falseNo
advertise_virtual_rmacBooleantrue, falseNo
anycast_source_interface_typeChoiceethernet, loopback, mgmt, port-channel, vlan, vniNo
anycast_source_interface_idAnyString or Integer[min: 0]No
descriptionStringNo
fabric_ready_timeIntegermin: 0, max: 1200No
source_interface_hold_down_timeIntegermin: 1, max: 1500No
host_reachability_protocolChoiceflood-and-learn, bgp, controller, openflow, openflow-irNo
global_ingress_replication_protocol_bgpBooleantrue, falseNo
global_mcast_group_l2IPNo
global_mcast_group_l3IPNo
multicast_routing_source_interface_typeChoiceethernet, loopback, mgmt, port-channel, vlan, vniNo
multicast_routing_source_interface_idAnyString or Integer[min: 0]No
multisite_border_gateway_interface_typeChoiceethernet, loopback, mgmt, port-channel, vlan, vniNo
multisite_border_gateway_interface_idAnyString or Integer[min: 0]No
multisite_virtual_rmacStringNo
source_interface_typeChoiceethernet, loopback, mgmt, port-channel, vlan, vniNo
source_interface_idAnyString or Integer[min: 0]No
global_suppress_arpBooleantrue, falseNo
suppress_mac_routeBooleantrue, falseNo
suppress_ndBooleantrue, falseNo
virtual_rmacStringNo
service_policy_type_qos_inputStringNo
service_policy_type_qos_input_statisticsBooleantrue, falseNo
vnisListvnisNo

nve (nxos.devices.configuration.interfaces)

Section titled “nve (nxos.devices.configuration.interfaces)”
NameTypeConstraintMandatoryDefault Value
shutdownBooleantrue, falseNo
advertise_virtual_rmacBooleantrue, falseNo
anycast_source_interface_typeChoiceethernet, loopback, mgmt, port-channel, vlan, vniNo
anycast_source_interface_idAnyString or Integer[min: 0]No
descriptionStringNo
fabric_ready_timeIntegermin: 0, max: 1200No
source_interface_hold_down_timeIntegermin: 1, max: 1500No
host_reachability_protocolChoiceflood-and-learn, bgp, controller, openflow, openflow-irNo
global_ingress_replication_protocol_bgpBooleantrue, falseNo
global_mcast_group_l2IPNo
global_mcast_group_l3IPNo
multicast_routing_source_interface_typeChoiceethernet, loopback, mgmt, port-channel, vlan, vniNo
multicast_routing_source_interface_idAnyString or Integer[min: 0]No
multisite_border_gateway_interface_typeChoiceethernet, loopback, mgmt, port-channel, vlan, vniNo
multisite_border_gateway_interface_idAnyString or Integer[min: 0]No
multisite_virtual_rmacStringNo
source_interface_typeChoiceethernet, loopback, mgmt, port-channel, vlan, vniNo
source_interface_idAnyString or Integer[min: 0]No
global_suppress_arpBooleantrue, falseNo
suppress_mac_routeBooleantrue, falseNo
suppress_ndBooleantrue, falseNo
virtual_rmacStringNo
vnisListvnisNo

nve_overlay_vlans (nxos.devices.configuration.system)

Section titled “nve_overlay_vlans (nxos.devices.configuration.system)”
NameTypeConstraintMandatoryDefault Value
idsListInteger[min: 1, max: 4094]No
rangesListrangesNo

nve_infra_vlans (nxos.devices.configuration.system)

Section titled “nve_infra_vlans (nxos.devices.configuration.system)”
NameTypeConstraintMandatoryDefault Value
vlansClassvlansYes
forceBooleantrue, falseNo

vnis (nxos.devices.configuration.interfaces.nve)

Section titled “vnis (nxos.devices.configuration.interfaces.nve)”
NameTypeConstraintMandatoryDefault Value
vniIntegermin: 1, max: 16777215Yes
associate_vrfBooleantrue, falseNo
mcast_groupIPNo
multisite_ingress_replicationChoiceenable, disable, optimizedNo
multisite_mcast_groupIPNo
spine_anycast_gatewayBooleantrue, falseNo
suppress_arpBooleantrue, falseNo
ingress_replication_protocolChoicebgp, static, unknownNo

ranges (nxos.devices.configuration.system.nve_overlay_vlans)

Section titled “ranges (nxos.devices.configuration.system.nve_overlay_vlans)”
NameTypeConstraintMandatoryDefault Value
fromIntegermin: 1, max: 4094Yes
toIntegermin: 1, max: 4094Yes

vlans (nxos.devices.configuration.system.nve_infra_vlans)

Section titled “vlans (nxos.devices.configuration.system.nve_infra_vlans)”
NameTypeConstraintMandatoryDefault Value
idsListInteger[min: 1, max: 4096]No
rangesListrangesNo

ranges (nxos.devices.configuration.system.nve_infra_vlans.vlans)

Section titled “ranges (nxos.devices.configuration.system.nve_infra_vlans.vlans)”
NameTypeConstraintMandatoryDefault Value
fromIntegermin: 1, max: 4096Yes
toIntegermin: 1, max: 4096Yes

Example 1: Basic NVE interface with BGP host reachability for a VXLAN leaf

nxos:
devices:
- name: LEAF1
configuration:
interfaces:
nve:
shutdown: false
advertise_virtual_rmac: true
host_reachability_protocol: bgp
source_interface_type: loopback
source_interface_id: "1"

Example 2: NVE with L2 VNI (ingress replication) and L3 VNI (associate VRF) mappings

nxos:
devices:
- name: LEAF1
configuration:
interfaces:
nve:
shutdown: false
advertise_virtual_rmac: true
host_reachability_protocol: bgp
source_interface_type: loopback
source_interface_id: "1"
vnis:
- vni: 10101
ingress_replication_protocol: bgp
- vni: 10102
ingress_replication_protocol: bgp
- vni: 11010
associate_vrf: true
- vni: 11020
associate_vrf: true

Example 3: NVE with multicast groups, ARP suppression, and multisite DCI

nxos:
devices:
- name: BORDER-LEAF1
configuration:
interfaces:
nve:
shutdown: false
advertise_virtual_rmac: true
host_reachability_protocol: bgp
source_interface_type: loopback
source_interface_id: "1"
global_suppress_arp: true
multisite_border_gateway_interface_type: loopback
multisite_border_gateway_interface_id: "100"
multisite_virtual_rmac: 00:00:0c:aa:bb:cc
vnis:
- vni: 10101
mcast_group: 239.1.1.1
multisite_ingress_replication: optimized
- vni: 10102
mcast_group: 239.1.1.2
multisite_ingress_replication: optimized
- vni: 11010
associate_vrf: true

Example 4: VXLAN UDP port and source port mode

nxos:
devices:
- name: LEAF1
configuration:
system:
nv_overlay_vxlan_udp_port: 4789
nv_overlay_vxlan_udp_source_port_mode: high

Example 5: NVE platform configuration with infra VLANs for bud-node VXLAN

nxos:
devices:
- name: LEAF1
configuration:
system:
nve_ipmc_index_size: 4096
nve_overlay_vlans:
ranges:
- from: 2
to: 10
nve_infra_vlans:
- vlans:
ids: [2]
force: true
- vlans:
ids: [3]
force: true

Example 6: NVE interface with an ingress QoS policy for decapsulated VXLAN traffic

nxos:
devices:
- name: LEAF1
configuration:
qos:
class_maps:
- name: CM-VOICE
match_type: match-any
match_dscp_values:
- 46
policy_maps:
- name: PM-NVE-INGRESS
classes:
- name: CM-VOICE
set_qos_group: 5
interfaces:
nve:
shutdown: false
host_reachability_protocol: bgp
source_interface_type: loopback
source_interface_id: "1"
service_policy_type_qos_input: PM-NVE-INGRESS
service_policy_type_qos_input_statistics: true

Example 7: Tenant Routed Multicast (TRM) on a VXLAN EVPN leaf

nxos:
devices:
- name: LEAF1
configuration:
feature:
bgp: true
ngmvpn: true
nv_overlay: true
system:
advertise_evpn_multicast: true
ip_multicast_overlay_spt_only: true
routing:
bgp:
asn: "65001"
mvpn_vri_id: 100
vrfs:
- name: BLUE
vni: 50001
l3vni: true
mdt_v4_vxlan: true
mdt_v6_vxlan: false

Example 1: Basic NVE interface with BGP host reachability for a VXLAN leaf

nxos:
devices:
- name: LEAF1
configuration:
interfaces:
nve:
shutdown: false
advertise_virtual_rmac: true
host_reachability_protocol: bgp
source_interface_type: loopback
source_interface_id: "1"

Example 2: NVE with L2 VNI (ingress replication) and L3 VNI (associate VRF) mappings

nxos:
devices:
- name: LEAF1
configuration:
interfaces:
nve:
shutdown: false
advertise_virtual_rmac: true
host_reachability_protocol: bgp
source_interface_type: loopback
source_interface_id: "1"
vnis:
- vni: 10101
ingress_replication_protocol: bgp
- vni: 10102
ingress_replication_protocol: bgp
- vni: 11010
associate_vrf: true
- vni: 11020
associate_vrf: true

Example 3: NVE with multicast groups, ARP suppression, and multisite DCI

nxos:
devices:
- name: BORDER-LEAF1
configuration:
interfaces:
nve:
shutdown: false
advertise_virtual_rmac: true
host_reachability_protocol: bgp
source_interface_type: loopback
source_interface_id: "1"
global_suppress_arp: true
multisite_border_gateway_interface_type: loopback
multisite_border_gateway_interface_id: "100"
multisite_virtual_rmac: 00:00:0c:aa:bb:cc
vnis:
- vni: 10101
mcast_group: 239.1.1.1
multisite_ingress_replication: enableOptimized
- vni: 10102
mcast_group: 239.1.1.2
multisite_ingress_replication: enableOptimized
- vni: 11010
associate_vrf: true