NVIDIA DOCA™ HBN supports downstream VNI (DVNI), also called symmetric EVPN route leaking, on NVIDIA® BlueField® systems. DVNI lets a VRF import remote EVPN routes without requiring the source tenant VRF to be configured locally.
An upstream switch can learn a Layer 3 VNI from a downstream leaf and use that VNI when encapsulating traffic for the associated VRF. This model reduces the need to configure Layer 3 VNI SVI interfaces on every leaf and supports shared-service and hub-and-spoke topologies.
Before You Begin
-
Use EVPN symmetric routing with Layer 3 VNIs and a single VXLAN device.
-
Plan the source and destination VRFs, Layer 3 VNIs, route targets, and any shared-service VRFs.
-
Do not import overlapping tenant prefixes into the same destination VRF.
-
Replace the VRF names, autonomous system numbers, VNIs, and route targets in the examples with deployment-specific values.
Configure Route Targets
To provide access to a shared service:
-
Import the remote tenant route targets into the shared-service VRF.
-
Import the shared-service route target into the tenant VRFs on the remote nodes.
FRR route-target statements use the following format:
route-target import|export <asn>:<vni>
For example:
route-target import 65101:6000
For a wildcard autonomous system number, use ANY:<vni> in NVIDIA® user experience (NVUE) commands or *:<vni> in /etc/frr/frr.conf.
Configure an import route target:
nv set vrf <vrf> router bgp route-import from-evpn route-target <asn>:<vni>
Configure an export route target:
nv set vrf <vrf> router bgp route-export from-evpn route-target <asn>:<vni>
You can configure multiple import and export route targets in a VRF.
When you configure an explicit DVNI import, automatic import of the tenant VNI is disabled. To retain the automatically derived route target, also configure:
nv set vrf <vrf> router bgp route-import from-evpn route-target auto
Shared Internet Service Example
This example provides external connectivity through a firewall connected to the shared external VRF. The tenant VRFs on HBN import the shared-service VNI. The super-spine switches import the route targets for the tenant VRFs that require the service.
Layer 3 VNI Map
|
VRF |
Layer 3 VNI |
Location |
|---|---|---|
|
|
|
HBN VTEPs |
|
|
|
HBN VTEPs |
|
|
|
HBN VTEPs |
|
|
|
HBN VTEPs |
|
|
|
HBN VTEPs |
|
|
|
HBN VTEPs |
|
|
|
Super-spine switches connected to the external network |
Configure the HBN Tenant VRFs
On each BlueField system running HBN, import the shared external VNI into every tenant VRF that requires external connectivity. Retain the automatically derived tenant route target.
nv set vrf tenant1 router bgp route-import from-evpn route-target ANY:60000
nv set vrf tenant1 router bgp route-import from-evpn route-target auto
nv set vrf tenant2 router bgp route-import from-evpn route-target ANY:60000
nv set vrf tenant2 router bgp route-import from-evpn route-target auto
nv set vrf tenant3 router bgp route-import from-evpn route-target ANY:60000
nv set vrf tenant3 router bgp route-import from-evpn route-target auto
nv set vrf tenant4 router bgp route-import from-evpn route-target ANY:60000
nv set vrf tenant4 router bgp route-import from-evpn route-target auto
nv set vrf tenant5 router bgp route-import from-evpn route-target ANY:60000
nv set vrf tenant5 router bgp route-import from-evpn route-target auto
nv set vrf tenant6 router bgp route-import from-evpn route-target ANY:60000
nv set vrf tenant6 router bgp route-import from-evpn route-target auto
Configure the Super-Spine Switches
On every super-spine switch that hosts the external VRF, import each tenant route target that requires access to the shared service. Retain the automatically derived route target for the external VRF.
nv set vrf external router bgp route-import from-evpn route-target ANY:30001
nv set vrf external router bgp route-import from-evpn route-target ANY:30002
nv set vrf external router bgp route-import from-evpn route-target ANY:30003
nv set vrf external router bgp route-import from-evpn route-target ANY:30004
nv set vrf external router bgp route-import from-evpn route-target ANY:30005
nv set vrf external router bgp route-import from-evpn route-target ANY:30006
nv set vrf external router bgp route-import from-evpn route-target auto
After applying the configuration, each tenant VRF should learn the shared-service routes with VNI 60000, and the external VRF should learn the selected tenant routes.
Verification and Complete Examples
Use the child pages for route-table verification, debugging output, and the complete HBN and super-spine configurations. See Border Gateway Configuration for a border-gateway deployment that uses DVNI and VLAN subinterfaces.
Last updated: