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.

Diagram
NameTypeConstraintMandatoryDefault Value
nveClass[nve]No

nve (nxos.devices.configuration.interfaces)

Section titled “nve (nxos.devices.configuration.interfaces)”
NameTypeConstraintMandatoryDefault Value
shutdownBooleantrue, falseNo
advertise_virtual_rmacBooleantrue, falseNo
anycast_bundled_interface_typeChoiceethernet, loopback, mgmt, port-channel, vlan, vniNo
anycast_bundled_interface_idStringNo
configuration_sourceChoiceunknown, cli, controllerNo
controller_idIntegermin: 0, max: 4294967295No
descriptionStringNo
encapsulation_typeChoiceunknown, vxlan, vxlan-tun-ctrl-frame, vxlan-tun-ctrl-frame-lacp, vxlan-tun-ctrl-frame-stp, dot1q, dot1q-tun-ctrl-frame, dot1q-tun-ctrl-frame-lacp, dot1q-tun-ctrl-frame-stpNo
fabric_convergence_delayIntegermin: 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_idStringNo
multisite_border_gateway_interface_typeChoiceethernet, loopback, mgmt, port-channel, vlan, vniNo
multisite_border_gateway_interface_idStringNo
multisite_virtual_rmacStringNo
source_interface_typeChoiceethernet, loopback, mgmt, port-channel, vlan, vniNo
source_interface_idStringNo
global_suppress_arpBooleantrue, falseNo
suppress_mac_routeBooleantrue, falseNo
suppress_ndBooleantrue, falseNo
virtual_rmacStringNo
vnisList[vnis]No

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

Section titled “vnis (nxos.devices.configuration.interfaces.nve)”
NameTypeConstraintMandatoryDefault Value
vniIntegerYes
associate_vrfBooleantrue, falseNo
mcast_groupIPNo
multisite_ingress_replicationChoiceenable, disable, enableOptimizedNo
multisite_mcast_groupIPNo
spine_anycast_gatewayBooleantrue, falseNo
suppress_arpBooleantrue, falseNo
ingress_replication_protocolChoicebgp, static, unknownNo

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