Guide
Overlays: VXLAN, EVPN, LISP, VRF and MPLS (CCNP ENCOR)
Overlay networks carry endpoint traffic across a routed transport while separating logical identity or routing domains. These sections explain the VXLAN, LISP, VRF and MPLS behaviors needed for the related ENCOR questions.
3 parts · 42 practice questions
VXLAN and EVPN
VXLAN carries an original Ethernet frame inside an outer UDP and IP packet so a routed IP underlay can connect Layer 2 segments. A VXLAN Tunnel Endpoint (VTEP) is the edge function that adds this encapsulation to outgoing frames and removes it from incoming packets. Standard VXLAN uses UDP destination port 4789. Its Virtual Network Identifier (VNI) is 24 bits, providing 2^24 possible segment values, about 16.7 million, compared with 4,096 VLAN IDs.
VXLAN: wrap, cross the underlay, unwrap
Blue: original host frame. Yellow outline: outer encapsulation. Sizes and timing are illustrative.
Step 1 of 4
Start with the original Ethernet frame
Host A sends a frame to Host B in the same VXLAN segment. The inner frame contains the hosts' addresses. The ingress VTEP is the tunnel endpoint at this edge.
More detail for this step
Separate the hosts from the tunnel endpoints
- The overlay is the logical network joining the hosts. The underlay is the routed IP network connecting the tunnel endpoints.
- VTEP means VXLAN Tunnel Endpoint. VTEP A adds encapsulation, and VTEP B removes it at the remote edge.
- Follow the blue inner frame. Its host addresses belong to the original communication, not to the VTEPs.
Read the caption, follow the highlighted action, then see its result. Pause or step through at your own pace.
- UDP destination port
- 4789
- VNI size
- 24 bits
- VXLAN overhead
- 50 bytes
- Transport MTU for 1500-byte overlay MTU
- at least 1550 bytes
Cisco documents 50 bytes of VXLAN overhead for MAC-to-UDP encapsulation. The transport MTU must accommodate the overlay frame plus this overhead. For a 1500-byte overlay MTU, Cisco specifies at least 1550 bytes in the transport network; larger overlay frames require jumbo-frame support. MTU requirements depend on the overlay frame size and platform, so do not assume a single jumbo MTU such as 9216 for every Catalyst model.
BGP EVPN is a control plane that distributes endpoint reachability between VTEPs. Multiprotocol BGP carries EVPN routes in the L2VPN EVPN address family. Route Type 2 advertises endpoint reachability, including a MAC address and possibly its IP address. Route Type 3 advertises multicast membership or ingress-replication intent for a VNI and helps establish the broadcast, unknown-unicast and multicast (BUM) replication set. Route Type 5 advertises IP prefixes, rather than individual endpoint MAC/IP bindings.
Without EVPN control-plane learning, a VXLAN deployment still needs a way to deliver BUM frames to remote VTEPs. Underlay multicast maps VNIs to multicast groups. Head-end or ingress replication instead has the ingress VTEP send a separate unicast copy to each remote VTEP in that segment. On supported Catalyst IOS XE EVPN deployments, Cisco documents both ingress replication and underlay multicast replication.
When troubleshooting, first verify that the underlay can route between VTEP addresses and carries the required MTU. Then check the VNI-to-VLAN association, VTEP/NVE state and replication mode. For EVPN, check that the BGP EVPN address family is established and that the expected Type 2 host route or Type 5 prefix is present. A missing remote host binding points to control-plane advertisement or learning; missing BUM delivery points to multicast membership or the ingress replication peer set.
show bgp l2vpn evpn
show nve peers
show nve vniLISP identity and location mapping
Locator/ID Separation Protocol (LISP) separates an endpoint's identity from its location in the routed transport. An Endpoint Identifier (EID) is the endpoint address or prefix and remains its identity as it moves. A Routing Locator (RLOC) is an address of a LISP site edge router reachable through the underlay. LISP maps an EID to one or more RLOCs, allowing a moved endpoint to keep its EID while the mapping changes to its new edge location.
- Protocol
- Locator/ID Separation Protocol (LISP)
- Endpoint identity
- Endpoint Identifier (EID)
- Underlay location
- Routing Locator (RLOC)
- Mapping request resolver
- Map-Resolver (MR)
An Ingress Tunnel Router (ITR) handles traffic leaving a LISP site: it looks up the destination EID, encapsulates the packet and sends it toward the selected RLOC. An Egress Tunnel Router (ETR) receives the encapsulated packet, removes the outer LISP transport headers and forwards the original packet toward the destination EID. A router can act as both roles, often called an xTR. LISP data encapsulation carries the original packet in UDP inside an outer IP packet addressed to the destination RLOC; the underlay routes using that outer destination.
For a destination not already resolved, the ITR sends a Map-Request to a Map-Resolver (MR), which forwards it toward the mapping system. Cisco IOS XE documents ALT, the LISP Alternative Logical Topology, for this role; mapping-system design can vary. An ETR registers the EID prefixes it serves with a Map-Server (MS), using a configured authentication key. A Map-Reply supplies the requested EID-to-RLOC mapping. The Map-Server's configured site prefixes and registration authentication determine which registrations it accepts; this makes the mapping authoritative within that configured system, but does not mean every reply is universally trustworthy. The ITR caches resolved mappings locally with a lifetime, so later packets can be encapsulated without repeating the lookup until the cache entry expires or is updated.
A Proxy ETR (PETR) lets LISP sites send encapsulated traffic to destinations outside LISP: it decapsulates the packet and forwards it natively. A Proxy ITR (PITR) provides the reverse direction, allowing non-LISP sources to reach EIDs in LISP sites. In Cisco SD-Access, LISP is the fabric control-plane mapping technology: control-plane nodes track endpoint EIDs against the fabric edge RLOC that currently owns them. An edge queries the control plane to find the destination edge and then sends traffic across the fabric, avoiding a fabric-wide ARP flood for every remote endpoint.
For mobility beyond SD-Access, the same separation lets a subnet or endpoint retain its EID while its RLOC mapping changes after moving between sites. The core routes the RLOC space rather than learning a separate host route for every endpoint. To troubleshoot, verify underlay reachability to the MR, MS and RLOCs, then inspect registration, mapping resolution and the ITR map-cache. A failed mapping lookup and a failed encapsulated data path are separate problems: a valid mapping does not prove the RLOC path or decapsulation works.
show lisp database
show lisp map-cache
show lisp map-resolver
show lisp map-serverVRF-Lite and MPLS Layer 3 VPNs
A Virtual Routing and Forwarding (VRF) instance keeps a separate routing and forwarding table on a router. VRF-Lite provides this local separation without an MPLS label-switched provider core. Traffic between routers can use separate physical links or 802.1Q subinterfaces, with each subinterface assigned to its own VRF. VRFs support dynamic routing as well as static routes. To route selectively between local VRFs without MP-BGP, an administrator can configure explicit static routes or policy-based routes; routes do not leak merely because two VRFs exist.
- Route Distinguisher size
- 64 bits, or 8 bytes
- VPNv4 prefix size
- 96-bit
- Transport label
- outer label
- VPN label
- inner label
On IOS XE, vrf definition name creates a VRF using the newer multi-address-family configuration model; address-family configuration can be added under it. The older ip vrf name form is legacy syntax. Assigning an interface to a VRF with ip vrf forwarding name removes its configured IPv4 address, so apply the VRF command first and then re-enter the IP address. This behavior is a common cause of an interface losing its address during conversion. show ip route vrf name displays only that VRF's IPv4 routing table; show vrf displays VRF definitions and interface associations.
In Cisco IOS XE VRF-aware IPsec, the local tunnel endpoint belongs to the Front Door VRF (FVRF), while the source and destination addresses of the protected inner packet belong to the Inside VRF (IVRF). Configuration details and constraints depend on whether crypto maps or virtual tunnel interfaces are used; for example, Cisco documents an uRPF limitation for some crypto-map configurations with different FVRF and IVRF values.
An MPLS Layer 3 VPN extends VRF separation across a provider core. Provider Edge (PE) routers connect customer sites, maintain customer VRFs and exchange VPN routes. Provider (P) routers switch labels in the core and do not need customer VRFs. A Route Distinguisher (RD) is 64 bits, or 8 bytes; prepended to a 32-bit IPv4 prefix, it forms a 96-bit VPNv4 prefix so identical private prefixes from different customers remain distinct. The RD does not decide which VRF imports a route.
Route Targets (RTs) are BGP extended communities used for distribution policy. An export RT is attached to routes leaving a VRF; an import RT determines which received VPN routes are eligible for that VRF. If one VRF exports an RT that another imports, the second can import those routes, enabling controlled route leaking such as hub-and-spoke or extranet connectivity. Matching RT policy, rather than matching RDs, controls this sharing.
PE routers exchange VPNv4 routes using Multiprotocol BGP (MP-BGP), commonly through route reflectors instead of a full mesh. A full iBGP mesh needs a session between each pair of PEs, so sessions grow quadratically as PEs are added; route reflectors reduce the number of sessions by reflecting routes between clients. In the usual two-label forwarding model, the outer transport label gets a packet across the core to the egress PE, while the inner VPN label identifies the outgoing VRF or interface context there. LDP commonly distributes transport label bindings for IGP-reachable core routes. Transit label-switching routers use the incoming label as an LFIB lookup and swap it for the outgoing label, rather than doing a customer IP longest-prefix lookup at each core hop.
When troubleshooting an MPLS L3VPN, verify the customer route in the local VRF, then verify its VPNv4 advertisement in BGP, then verify transport label reachability to the remote PE. show ip bgp vpnv4 vrf name displays VPN address information from the BGP table for that VRF; use a prefix argument to inspect a specific route. BGP VPNv4 entries are shown with their Route Distinguisher, and route-target extended communities carry import and export policy. show mpls forwarding-table checks label forwarding. If the VPNv4 route is absent, investigate PE MP-BGP, route-target policy or route reflection. If the route is present but traffic fails, check the transport LSP, VPN label and egress VRF/interface.
vrf definition CUSTOMER-A
rd 65000:10
address-family ipv4
exit-address-family
interface GigabitEthernet0/0/0.10
encapsulation dot1Q 10
vrf forwarding CUSTOMER-A
ip address 192.0.2.1 255.255.255.0
show ip route vrf CUSTOMER-A
show ip bgp vpnv4 vrf CUSTOMER-A
show mpls forwarding-tableCheck your understanding
Overlays: VXLAN, EVPN, LISP, VRF and MPLS (CCNP ENCOR)
All 3 sections · no timer
Unlimited retries
Questions from every section are combined into one assessment. Answer them all correctly to complete the article.
Your completion saves in this browser. Sign in to sync it to your account.