BRKMPL-2253 - EVPN Deep Dive with IOS XR Configuration Examples for Service Provider Metro and Data Center
BRKMPL-2253 - EVPN Deep Dive with IOS XR Configuration Examples for Service Provider Metro and Data Center
#CiscoLiveAPJC Session ID © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public
EVPN IOS XR Deep Dive for
Service Providers and Data
Center
#CiscoLiveAPJC
Cisco Webex App
https://ciscolive.ciscoevents.com/
ciscolivebot/#BRKMPL-2253
Questions?
Use Cisco Webex App to chat
with the speaker after the session
How
1 Find this session in the Cisco Live Mobile App
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 5
• EVPN Basic Principles
• EVPN L2 Multihomed Service
• All-Active / Single-Active / Port-Active
• EVPN Distributed L3 Anycast Gateway
• EVPN Centralized Gateway
• EVPN L3 Interconnect Options
• EVPN & VPNv4/6 Interconnect
• EVPN Routes – Summary
Leaf
VM
PE1 DCI1
Spine Spine
Leaf
VM
A1 Access WAN/Core
Leaf
PE2 DCI2 VM
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 7
Service Provider Network - Simplification Journey
Programmability
PCE
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 8
Next-Generation Solutions for L2VPN
Solving VPLS challenges for per-flow Redundancy
M1 M2
CE1 PE1 PE3 CE2
• Existing VPLS solutions do not offer an Echo !
All-Active per-flow redundancy PE2 PE4
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 9
MPLS Transport & BGP Service
BGP L3VPN/ L3 EVPN BGP L2VPN EVPN
BGP Signaling BGP Signaling BGP Signaling BGP Signaling
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 10
EVPN – Basic
Principles
EVPN Advantages:
Services • L3VPN-like principles and operational experience for scalability and control
• All-active Multi-homing & PE load-balancing (ECMP)
Fully support IPv4 and IPv6 in the data plane and control plane
Investment •
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 12
L2VPN Services Overlay Encapsulation
MPLS Data Plane
Transport Label
Encapsulation
Service Label
Ethernet Header
IP Data Plane
VXLAN IP Header UDP Header VXLAN Header Ethernet Header IP Header Application Data
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 13
L3VPN Services Overlay Encapsulation
MPLS Data Plane
Transport Label
Encapsulation
Service Label
IP Header
Original Packet
Application Data
VXLAN IP Header UDP Header VXLAN Header Ethernet Header IP Header Application Data
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 14
Concepts
EVPN Instance (EVI) Ethernet Segment BGP Routes BGP Route Attributes
SHD CE1
Route Types Extended Communities
BD EVI ESI1 PE1 [1] Ethernet Auto-Discovery (AD) Route ESI MPLS Label
PE2
ESI2 [4] Ethernet Segment Route Default Gateway
PE
[5] IP Prefix Advertisement Route Encapsulation
• EVI identifies a VPN in the • Represents a ‘site’ • New SAFI [70] • New BGP extended
network connected to one or more • Routes serve control plane communities defined
• Encompass one or more PEs purposes, including: • Expand information carried
bridge-domains, • Uniquely identified by a MAC address reachability in BGP routes, including:
depending on service 10-byte global Ethernet MAC mass withdrawal MAC address moves
interface type Segment Identifier (ESI) Redundancy mode
Split-Horizon label adv.
Port-based • Could be a single device or
Aliasing MAC / IP bindings of a GW
VLAN-based (shown above) an entire network
Multicast endpoint discovery Split-horizon label encoding
VLAN-bundling Single-Homed Device (SHD)
Redundancy group discovery Data plane Encapsulation
Multi-Homed Device (MHD)
Designated forwarder election
Single-Homed Network (SHN)
IP address reachability
Multi-Homed Network (MHN)
L2/L3 Integration
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 15
EVPN - Load-Balancing Modes
All-Active Single-Active Port-Active
(per flow) (per VLAN) (per port)
V1 V1 V1 V2 V1, V2
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 16
EVPN - Ethernet VPN
• Concepts are same!!! Pick your side!
C1 C2
VM VM VM VM
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 17
EVPN - Ethernet-Segment for Multi-Homing
L1 and L2 (L3 and L4) have to know if they multi-home same broadcast domain
L1 L2 L3 L4
VM VM VM VM
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 18
EVPN - Ethernet VPN
MAC address advertisement and MAC address table synchronization
Leaves run Multi-Protocol BGP to advertise & learn MAC addresses over the Network
MAC addresses are advertised to rest of Leaves
L3/4 – Learn MAC address advertised by L1
L2 – uses MAC address advertised by L1 to synchronize MAC address table
-> L2 forwards MAC via local ETH interface represented by same Ethernet Segment between L1 and L2
SP1 SP2
L1 L2 L3 L4
Data Plane learning
from the hosts
All Active multi-homing
C1 C2 Ethernet Segment
VM VM VM VM
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 19
EVPN L2 All-Active
Multihomed Service
EVPN - Testbed
RR103 RR104
LACP R39
H2
R38 R35
H1
R36
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 21
EVPN Configuration
CE has to receive same lacp system
MAC
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 22
EVPN Configuration - BGP
router bgp 1
bgp router-id 3.3.3.36
address-family l2vpn evpn
!
neighbor-group rr
remote-as 1
update-source Loopback0 BGP EVPN CP
address-family l2vpn evpn
!
neighbor 3.3.3.103
use neighbor-group rr
!
neighbor 3.3.3.104
use neighbor-group rr
!
!
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 23
EVPN – Designated Forwarder (DF)
Challenge:
How to prevent duplicate copies of flooded traffic from being delivered to a multi-homed Ethernet Segment?
If (L3 and L4) Multi-Homing access via same Ethernet Segment -> only one of them can forward traffic to access
Same for (L1 and L2)
SP1 SP2
L1 L2 L3 L4
NDF DF
C1 Duplicate C2
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 24
DF Election per EVI/ESI - Algorithm
Service Carving
R36
R37
0
1
+ 100
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 25
Ethernet Segment R36#show evpn ethernet-segment esi 0036.3700.0000.0000.1100 carving detail
……
- DF Election
Ethernet Segment Id Interface Nexthops
------------------------ ---------------------------------- -------------------
-
0036.3700.0000.0000.1100 BE100 3.3.3.36
3.3.3.37
ES to BGP Gates : Ready
ES to L2FIB Gates : Ready
Main port :
Interface name : Bundle-Ether100
Interface MAC : 008a.9644.d8dd
IfHandle : 0x0800001c
State : Up
Redundancy : Not Defined
ESI type : 0
Value : 36.3700.0000.0000.1100
ES Import RT : 3637.0000.0000 (from ESI)
Source MAC : 0000.0000.0000 (N/A)
Topology :
Operational : MH, All-active
Configured : All-active (AApF) (default)
Service Carving : Auto-selection
Peering Details : 3.3.3.36[MOD:P:00] 3.3.3.37[MOD:P:00]
Service Carving Results:
Forwarders : 1
Permanent : 0
Elected : 1
EVI E : 100
Not Elected : 0
MAC Flushing mode : STP-TCN
Peering timer : 3 sec [not running]
Recovery timer : 30 sec [not running]
Carving timer : 0 sec [not running]
Local SHG label : 64005
Remote SHG labels : 1
64005 : nexthop 3.3.3.37
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 26
R36: RT-4 Ethernet Segment Router
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 27
EVPN – BUM Ingress Replication
Two service labels per EVPN instance
BUM Label – to forward Broadcast, Unknown Unicast and Multicast
Unicast Label – to forward Unicast
SP1 SP2
L1 L2 L3 L4
C1 C2
VM VM VM VM
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 28
R36: RT-3 Inclusive Multicast
R36#show bgp l2vpn evpn rd 3.3.3.36:100 [3][0][32][3.3.3.36]/80
Mon Oct 15 13:10:17.010 UTC
BGP routing table entry for [3][0][32][3.3.3.36]/80, Route Distinguisher: 3.3.3.36:100
Versions:
Process bRIB/RIB SendTblVer RT-3
Speaker 39774 39774
Last Modified: Aug 31 01:37:02.399 for 6w3d
Paths: (1 available, best #1)
Advertised to update-groups (with more than one peer):
0.2
Path #1: Received by speaker 0
Advertised to update-groups (with more than one peer):
0.2
Local
0.0.0.0 from 0.0.0.0 (3.3.3.36)
Origin IGP, localpref 100, valid, redistributed, best, group-best, import-candidate
Received Path ID 0, Local Path ID 1, version 39774
Extended community: RT:1:100 EVI 100 Route-Target
PMSI: flags 0x00, type 6, label 64120, ID 0x03030324
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 29
EVPN – Split Horizon
Challenge:
How to prevent flooded traffic from echoing back to a multi-homed Ethernet
Segment?
Transport
BUM Label Label
SP1 SP2
SH Label
L1 L2
C1 Echo !
VM VM
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 30
EVPN – Split Horizon
Challenge:
How to prevent flooded traffic from echoing back to a multi-homed Ethernet
Segment?
Transport
BUM Label Label
SP1 SP2
SH Label
L1 L2
C1 Echo !
C11
VM VM VM VM
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 31
EVPN – MAC Mass-Withdraw
Challenge:
How to inform other Leafs of a failure affecting many MAC addresses quickly while
the control-plane re-converges?
L1 L2 L3 L4
MAC1 can NOT be
reached via ESI1
C1 C2
VM VM VM VM
ESI1 MAC1
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 32
R36: RT-1 Per ESI Ethernet Auto-Discovery
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 33
R36, R37, R38, R39 - EVPN Startup
R36 - Example
1. RT4: DF Election & Multi-Homed Ethernet
Segment Auto-Discovery
LACP R39
Service Carving: 100 modulo 2 = 0 H2
R36 is DF for EVI-100
R38 R35
RT-4 - DF Election
H1 ESI: 0036.3700.0000.0000.1100
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 34
R36, R37, R38, R39 - EVPN Startup
R36 - Example
1. RT4: DF Election & Multi-Homed Ethernet
Segment Auto-Discovery
LACP R39
2. RT1: Per ESI Ethernet Auto-Discovery
(Split-Horizon, Mass-Withdraw) H2
RT-1 - Per ESI Ethernet AD
R38 R35
RD: 1.1.1.36:1
ESI: 0036.3700.0000.0000.1100
R36
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 35
R36, R37, R38, R39 - EVPN Startup
R36 - Example
1. RT4: DF Election & Multi-Homed Ethernet
Segment Auto-Discovery
LACP R39
2. RT1: Per ESI Ethernet Auto-Discovery
(Split-Horizon, Mass-Withdraw) H2
3. RT3: Inclusive Multicast RT-3 - Inclusive Multicast
R38 R35
RD: 1.1.1.36:100
Ext-Com: Type 6 Ingress-Replication
Multicast(BUM) Label: 64120
LACP R37 R34
Ext-Com: 1:100 (RT)
H1
R36
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 36
BUM Forwarding
BUM - Traffic
IR BUM - Traffic
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 37
BUM Forwarding
X
LACP R37 R34
Transport Label R37
H1 BUM Label R37/EVI100
BUM - Traffic
IR BUM - Traffic
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 38
R36: RT-2 MAC Advertisement
R36#show bgp l2vpn evpn rd 3.3.3.36:100 [2][0][48][0062.ec71.fbd7][0]/104
Mon Oct 15 04:33:39.527 UTC
BGP routing table entry for [2][0][48][0062.ec71.fbd7][0]/104, Route Distinguisher: 3.3.3.36:100
Versions:
Process bRIB/RIB SendTblVer
Speaker 83317 83317 RT-2 Advertised MAC
Local Label: 64004
3.3.3.37 (metric 30) from 3.3.3.103 (3.3.3.37)
Received Label 64004
Origin IGP, localpref 100, valid, internal, import-candidate, imported, rib-install
Received Path ID 0, Local Path ID 0, version 0
Extended community: SoO:3.3.3.37:100 RT:1:100
R37 MAC DP Learned and
Originator: 3.3.3.37, Cluster list: 3.3.3.103 Advertised
EVPN ESI: 0036.3700.0000.0000.1100
Source AFI: L2VPN EVPN, Source VRF: default, Source Route Distinguisher: 3.3.3.37:100
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 39
R36: RT-2 MAC Advertisement
R36#show evpn evi mac
Mon Oct 15 20:57:14.505 UTC
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 40
R36, R37, R38, R39 - EVPN Startup
R36 - Example
1. RT4: DF Election & Multi-Homed Ethernet
Segment Auto-Discovery
LACP R39
2. RT1: Per ESI Ethernet Auto-Discovery
(Split-Horizon, Mass-Withdraw) H2
3. RT3: Inclusive Multicast RT-2 - MAC Advertisement
ESI: 0036.3700.0000.0000.1100
H1 Label: 64004
L2 Frame SMAC:
0062.ec71.fbd7
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 41
Unicast Forwarding
L2 Frame Flow1
Transport Label R36
1. RT4: DF Election & Multi-Homed Ethernet DMAC: H1
H1
R36
L2 Frame Flow1
DMAC: H1
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 42
EVPN – Aliasing
Challenge:
How to load-balance traffic towards a multi-homed device across multiple Leafs
when MAC addresses are learnt by only a single Leaf?
L1 L2 L3 L4
MAC1 can be
reached via ESI1
C1 C2
VM VM VM VM
ESI1 MAC1
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 43
R36: RT-1 Per EVI Ethernet Auto-Discovery
RP/0/RP0/CPU0:R36#show bgp l2vpn evpn rd 3.3.3.36:100 [1][0036.3700.0000.0000.1100][0]/120
Mon Oct 15 03:35:13.604 UTC
BGP routing table entry for [1][0036.3700.0000.0000.1100][0]/120, Route Distinguisher: 3.3.3.36:100
Versions:
Ethernet Segment Identifier (ESI)
Process bRIB/RIB SendTblVer RT-1
Speaker 79640 7964
Last Modified: Oct 12 17:40:06.399 for 2d09h
Paths: (2 available, best #1)
Advertised to update-groups (with more than one peer):
0.2
Path #1: Received by speaker 0
Advertised to update-groups (with more than one peer):
0.2
Local
0.0.0.0 from 0.0.0.0 (3.3.3.36)
Origin IGP, localpref 100, valid, redistributed, best, group-best, import-candidate, rib-install
Received Path ID 0, Local Path ID 1, version 39769
Path #2: Received by speaker 0
Not advertised to any peer
Local
3.3.3.37 (metric 30) from 3.3.3.103 (3.3.3.37)
Received Label 64004 Aliasing Label allocated by R37 for EVI 100
Origin IGP, localpref 100, valid, internal, import-candidate, imported, rib-install
Received Path ID 0, Local Path ID 0, version 0
Extended community: RT:1:100
Originator: 3.3.3.37, Cluster list: 3.3.3.103
EVI 100 Route-Target
Source AFI: L2VPN EVPN, Source VRF: default, Source Route Distinguisher: 3.3.3.37:100
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 44
R36, R37, R38, R39 - EVPN Startup
R36 - Example
1. RT4: DF Election & Multi-Homed Ethernet
Segment Auto-Discovery
LACP R39
2. RT1: Per ESI Ethernet Auto-Discovery
(Split-Horizon, Mass-Withdraw) H2
3. RT3: Inclusive Multicast RT-1 - Per EVI Ethernet AD
R36
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 45
Unicast Forwarding
L2 Frame Flow1
Transport Label R36
1. RT4: DF Election & Multi-Homed Ethernet DMAC: H1
H1
R36
L2 Frame Flow1
DMAC: H1
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 46
Unicast Forwarding
L2 Frame Flow2
DMAC: H1
L2 Frame Flow1
Transport Label R36
1. RT4: DF Election & Multi-Homed Ethernet DMAC: H1
H1
R36
L2 Frame Flow1
DMAC: H1
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 47
Unicast Forwarding
L2 Frame Flow2
DMAC: H1
L2 Frame Flow1
Transport Label R36
1. RT4: DF Election & Multi-Homed Ethernet DMAC: H1
H1
Per Flow Balancing via R36 and R37 - Aliasing
R36
L2 Frame Flow1
DMAC: H1
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 48
EVPN – MAC Mobility
Challenge:
How to detect the correct location of MAC after the movement of host from one Ethernet
Segment to another also called “MAC move”?
C1 C2
VM
Host move
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 49
EVPN Single-Active
EVPN - Load-Balancing Modes
All-Active Single-Active Port-Active
(per flow) (per VLAN) (per port)
V1 V1 V1 V2 V1, V2
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 51
EVPN - Testbed
RR103 RR104
Single-Active
R39
H2
R38 R35
H1
R36
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 52
All-Active R36#show evpn internal-label
Example
VPN-ID Encap Ethernet Segment Id EtherTag Label
---------- ------ --------------------------- -------- --------
100 MPLS 0038.3900.0000.0000.1100 0 68103
Summary pathlist:
0x02000001 3.3.3.38 68096
0x02000002 3.3.3.39 68096
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 53
Single-Active – Configuration and Verification
Remote R38/R39
R36#show evpn internal-label
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 54
Single-Active ethernet-segment carving detail
R38#show evpn ethernet-segment esi 0038.3900.0000.0000.1100 carving detail
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 55
EVPN Port-Active
EVPN - Load-Balancing Modes
All-Active Single-Active Port-Active
(per flow) (per VLAN) (per port)
V1 V1 V1 V2 V1, V2
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 57
EVPN - Testbed
RR103 RR104
LACP R39
H2
R38 R35
R36/R37
LACP R37 R34
evpn
interface Bundle-Ether100
ethernet-segment H1
load-balancing-mode port-active
!
!
R36
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 58
Port-Active –Verification
R36#show bundle R37#show bundle
Bundle-Ether100 Bundle-Ether100
Status: Up Status: LACP OOS (out of service)
Local links <active/standby/configured>: 1 / 0 / 1 Local links <active/standby/configured>: 0 / 1 / 1
Local bandwidth <effective/available>: 10000000 (10000000) kbps Local bandwidth <effective/available>: 0 (0) kbps
MAC address (source): 008a.9644.d8de (Chassis pool) MAC address (source): 008a.9644.08de (Chassis pool)
Inter-chassis link: No Inter-chassis link: No
Minimum active links / bandwidth: 1 / 1 kbps Minimum active links / bandwidth: 1 / 1 kbps
Maximum active links: 64 Maximum active links: 64
Wait while timer: 2000 ms Wait while timer: 2000 ms
Load balancing: Load balancing:
Link order signaling: Not configured Link order signaling: Not configured
Hash type: Default Hash type: Default
Locality threshold: None Locality threshold: None
LACP: Operational LACP: Operational
Flap suppression timer: Off Flap suppression timer: Off
Cisco extensions: Disabled Cisco extensions: Disabled
Non-revertive: Disabled Non-revertive: Disabled
mLACP: Not configured mLACP: Not configured
IPv4 BFD: Not configured IPv4 BFD: Not configured
IPv6 BFD: Not configured IPv6 BFD: Not configured
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 59
EVPN L2 &
L3 Integration
Distributed vs Centralized Routing
Layer2 Bridging mandatory between Leaves only Layer2 Bridging mandatory between Leaves and DCI
IRB
L4 X.X.X.H2/24 L4 X.X.X.H2/24
H2 H2
IRB
CO IRB
CO
IRB
L2 L2
DCI1 SP1 DCI1 SP1
H1 H1
X.X.X.H1/24 X.X.X.H1/24
L1 IRB L1
• Optimized forwarding of east-west traffic • All east<->west routed traffic traverses to centralized gateways
• ARP/MAC state localized to Leafs • Centralized gateways have full ARP/MAC state in the DCI
• Helps with horizontal scaling of DC • Scale challenge
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 61
EVPN Distributed
L3 Anycast Gateway
EVPN – Distributed Symmetric Anycast Gateway
Leaves run Multi-Protocol BGP to advertise & learn MAC + HOST IP addresses over the Network
MAC + IP addresses are advertised to rest of Leaves
L3/4 – Learn MAC + IP HOST address advertised by L1
-> L2/L3 update MAC address table + IP Forwarding table
L2 – uses MAC address advertised by L1 to synchronize MAC address table
-> L2 forwards MAC via local ETH interface represented by same Ethernet Segment between L1 and L2
L2 – uses MAC + IP HOST address advertised by L1 to synchronize ARP/ND information
-> L2 forwards IP via local ETH interface
Identical Anycast Gateway Virtual IP
Distributed Anycast Gateway serves and MAC address are configured
as the gateway for connected hosts SP1 SP2 on all the Leafs
L1 L2 L3 L4
All the BVIs perform active forwarding
in contrast to active/standby like First-
hop routing protocol
C1 C2
VM VM VM VM
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 63
EVPN – IRB in Network Fabric
Intra-subnet
Forwarding
Inter-subnet
Forwarding
SP1 SP2
L1 L2 L3 L4
C1 C2 C3 C4
VM VM VM VM
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 64
EVPN Distributed L3 Anycast GW - Symmetric IRB
Anycast IRB 192.168.2.1/24
RR103 RR104
IRB
LACP R39
R38 R35
IRB
H1: 192.168.1.10/24 H1
IRB
R36
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 65
EVPN Configuration - IRB
evpn
no evi 100
no advertise-mac
!
interface BVI100
host-routing MAC/IP RT2
vrf a
ipv4 address 192.168.1.1 255.255.255.0
mac-address 3637.3637.3637 Anycast Distributed IRB: Same IP and MAC
! R36,R37
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 66
EVPN Configuration - BGP VRF
router bgp 1
bgp router-id 3.3.3.36
address-family vpnv4 unicast
!
address-family l2vpn evpn
!
neighbor-group rr
remote-as 1
update-source Loopback0
address-family l2vpn evpn
!
neighbor 3.3.3.103
use neighbor-group rr
!
neighbor 3.3.3.104
use neighbor-group rr
!
vrf a
rd auto
address-family ipv4 unicast
additional-paths receive
maximum-paths ibgp 2 BGP Multi-Path for Inter-subnet forwarding
redistribute connected
!
!
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 67
R36: RT-2 MAC/IP Advertisement
R36#show bgp l2vpn evpn rd 3.3.3.36:100 [2][0][48][0062.ec71.fbd7][32][19$
Tue Oct 16 02:47:45.576 UTC
BGP routing table entry for [2][0][48][0062.ec71.fbd7][32][192.168.1.10]/136, Route Distinguisher: 3.3.3.36:100
Versions:
Process bRIB/RIB SendTblVer
Speaker 84847 84847
Last Modified: Oct 15 23:14:52.399 for 03:32:53 RT-2 Advertised MAC IP
Paths: (2 available, best #1)
Advertised to update-groups (with more than one peer):
0.2
Path #1: Received by speaker 0
Advertised to update-groups (with more than one peer):
0.2
Local
0.0.0.0 from 0.0.0.0 (3.3.3.36)
Second Label 64008
Origin IGP, localpref 100, valid, redistributed, best, group-best, import-candidate, rib-install
Received Path ID 0, Local Path ID 1, version 84838
Extended community: SoO:3.3.3.37:100 RT:1:100 RT:100:100
EVPN ESI: 0036.3700.0000.0000.1100
Path #2: Received by speaker 0
RT EVI 100 and RT VRF A
Not advertised to any peer
Local
RT-2 per-BD label
3.3.3.37 (metric 30) from 3.3.3.103 (3.3.3.37)
Received Label 64004, Second Label 64008
Origin IGP, localpref 100, valid, internal, import-candidate, imported, rib-install
Received Path ID 0, Local Path ID 0, version 0 VRF Agg label
Extended community: SoO:3.3.3.37:100 RT:1:100 RT:100:100 RT EVI 100 and RT VRF A
Originator: 3.3.3.37, Cluster list: 3.3.3.103
EVPN ESI: 0036.3700.0000.0000.1100
Source AFI: L2VPN EVPN, Source VRF: default, Source Route Distinguisher: 3.3.3.37:100
RP/0/RP0/CPU0:R36#
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 68
R36: RT-2 MAC/IP
R36#show evpn evi mac
Tue Oct 16 02:52:22.437 UTC
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 69
R36: VRF Routes
R36#show route vrf a
Tue Oct 16 02:46:34.463 UTC
EVPN Learned Route BGP Multi Path to H2 connected to R38 and R39
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 70
R36, R37, R38, R39 - EVPN Startup
R36 - Example Anycast IRB 192.168.2.1/24
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 71
EVPN
Centralized GW
CGW
EVPN Centralized Gateway (CGW)
CGW - Configuration
evpn
virtual access-evi
ethernet-segment
A1 identifier type 0 77.77.77.77.77.77.77.77.77
l2vpn
bridge group test
CE1 bridge-domain test
access-evi 300
routed interface BVI300
A2 CGW1
L2 EVPN L3 VPN
Core
l2vpn
A4 bridge group test
bridge-domain test
interface Bundle-Ether100
!
evi 300
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 73
EVPN Centralized Gateway (CGW)
R28#show evpn ethernet-segment
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 74
Distributed vs Centralized Gateway
• Distributed Anycast Gateway is our priority!
• Best Scalable solution
• Optimal L2/L3 forwarding
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 75
BGP Layer3
Interconnect
BGP Layer3 Interconnect
Principles
H2
CE1
PE/DCI
3 CORE CO
IRB
L2
DCI1 SP1
H1
X.X.X.H1/24
L1 IRB
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 77
BGP Layer3 Interconnect
DCI/BL Summarization
Host-Routes are not required outside CO/DC
L3/4 VRF FIB:
PE/DCI3 VRF FIB: DCI1/2 VRF FIB: X.X.X.H1 -> L1, L2
X.X.X.H1 -> DC1, DCI2 X.X.X.H1 -> L1, L2 X.X.X.H2 -> IRB(local)
X.X.X.H2 -> DCI1, DCI2 X.X.X.H2 -> L3, L4 X.X.X.0/24 -> IRB(local)
X.X.X.0/24 -> DC1, DCI2 X.X.X.0/24 -> L1, L2, L3, L4 Z.Z.Z.0/24 -> DCI1, DCI2
Z.Z.Z.0/24 -> CE1 Z.Z.Z.0/24 -> PE3
IRB
L4 X.X.X.H2/24
H2
X.X.X.H1/24
L1 IRB
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 78
BGP Layer3 Interconnect
Control Plane
BGP - L3VPN VPNv4/6 BGP - L3VPN VPNv4/6 Option #1 – VPNv4/6 & VPNv4/6
BGP – EVPN L3 BGP – EVPN L3
Option #2 – EVPN & EVPN
BGP - L3VPN VPNv4/6 BGP – EVPN L3
Option #3 – VPNv4/6 & EVPN
IRB
L4 X.X.X.H2/24
H2
CE1
PE/DCI
3 CORE CO
IRB
L2
DCI1 SP1
H1
L1 IRB
X.X.X.H1/24
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 79
BGP Layer3 Interconnect
Option #1 – VPNv4/6 & VPNv4/6
BGP - L3VPN VPNv4/6 BGP - L3VPN VPNv4/6
VPNv4: Z.Z.Z.0/24 VPNv4: Z.Z.Z.0/24
H2
CE1
PE/DCI
3 CORE CO
IRB
L2
DCI1 SP1
H1
L1 IRB
X.X.X.H1/24
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 80
BGP Layer3 Interconnect
Option #2 – EVPN & EVPN
BGP – EVPN L3 BGP – EVPN L3
RT5: Z.Z.Z.0/24 RT5 Prefix: Z.Z.Z.0/24
H2
CE1
PE/DCI
3 CORE CO
IRB
L2
DCI1 SP1
H1
X.X.X.H1/24
L1 IRB
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 81
BGP Layer3 Interconnect
Option #3 – VPNv4/6 & EVPN
BGP - L3VPN VPNv4/6 BGP – EVPN L3
VPNv4: Z.Z.Z.0/24 RT5 Prefix: Z.Z.Z.0/24
H2
CE1
PE/DCI
3 CORE CO
IRB
L2
DCI1 SP1
H1
X.X.X.H1/24
L1 IRB
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 82
BGP Layer3 Interconnect
Control Plane Options Highlight
• Option #1 – VPNv4/6 & VPNv4/6
+ VPNv4/6 Industry proved solution for Layer3 VPN
+ DCI doesn’t need to understand BGP EVPN AF
- Leaf has to peer with Route-Reflector via both BGP EVPN and VPNv4/6 AF
EVPN AF to support L2 stretch (MAC advertisement) across DC/CO between Leaves
EVPN AF to sync ARP/ND for Multi-Homed All-Active
- DC/CO Route-Reflector has to support both BGP EVPN and VPNv4/6 AF
- Leaf has to advertise VM Host-Routes via VPNv4/6
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 83
R36: BGP Configuration - RT-5
router bgp 1
bgp router-id 3.3.3.36
address-family vpnv4 unicast
!
address-family l2vpn evpn
!
neighbor-group rr
remote-as 1
update-source Loopback0
address-family l2vpn evpn
advertise vpnv4 unicast
!
vrf a
rd auto
RT-5
address-family ipv4 unicast
additional-paths receive
maximum-paths ibgp 2
!
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 84
R36: RT-5 Route
R36#show bgp l2vpn evpn rd 3.3.3.37:0 [5][0][24][192.168.1.0]/80
Tue Oct 16 03:35:06.480 UTC
BGP routing table entry for [5][0][24][192.168.1.0]/80, Route Distinguisher: 3.3.3.37:0
Versions:
Process bRIB/RIB SendTblVer
Speaker 84912 84912
Last Modified: Oct 16 03:23:18.399 for 00:11:48
Paths: (2 available, best #1) RT-5 prefi VRF A R37 RD
Not advertised to any peer x
Path #1: Received by speaker 0
Not advertised to any peer
Local
3.3.3.37 (metric 30) from 3.3.3.103 (3.3.3.37) VRF Agg label
Received Label 64008
Origin incomplete, metric 0, localpref 100, valid, internal, best, group-best, import-candidate, not-in-vrf
Received Path ID 0, Local Path ID 1, version 84912
Extended community: Flags 0x6: RT:100:100
Originator: 3.3.3.37, Cluster list: 3.3.3.103
EVPN ESI: 0000.0000.0000.0000.0000, Gateway Address : 0.0.0.0
Path #2: Received by speaker 0
VRF A Route-Target
Not advertised to any peer
Local
3.3.3.37 (metric 30) from 3.3.3.104 (3.3.3.37) VRF Agg label
Received Label 64008
Origin incomplete, metric 0, localpref 100, valid, internal, not-in-vrf
Received Path ID 0, Local Path ID 0, version 0
Extended community: Flags 0x6: RT:100:100
Originator: 3.3.3.37, Cluster list: 3.3.3.104 VRF A Route-Target
EVPN ESI: 0000.0000.0000.0000.0000, Gateway Address : 0.0.0.0
RP/0/RP0/CPU0:R36#
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 85
R36: VRF A - Routing Table
R36#show route vrf a
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 86
EVPN Routes
Summary
EVPN Routes – Cheat Sheet
BGP Signaling PE1 – Advertises:
PE2 PE4
PE1 RT-4 Ethernet Segment Route
CE1 MPLS CE2 • I have ESI1 in case when someone needs this information for
EVI1-L Designated Forwarder(DF) Election
PE1 PE3
BE1-SHL
Data Plane
EVI1-BUML RT-1 Per ESI Ethernet Auto-Discovery (AD) Route
L2 Frame Transport L2 Frame
MPLS Label • I have ESI1
Service
• ESI1 is All-Active
BGP Label
L2 Frame
BD1 EVI1 • AC with ESI1 is connected to EVI1 and EVI2
BD1 MAC • My Split Horizon Label for ESI1 is BE1-SHL
MAC-A
BVI1
MAC-A -> BE1.1
IP-A VRF1 ARP RT-1 Per EVI Ethernet Auto-Discovery (AD) Route(s)
BE1 - ESI1
Vlan1 IP-A MAC-A -> BVI1 • EVI1 per-EVI (Aliasing) Label is EVI1-L
VRF1 IP-B MAC-B -> BVI2 • EVI2 per-EVI (Aliasing) Label is EVI2-L
Vlan2 VRF1-AGGL
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 88
EVPN-VPWS
Multihomed Service
EVPN vs EVPN-VPWS - Balancing Mode
Single-Active
• Both EVPN and EVPN-VPWS advertise RT1(per-ESI) PE2 PE4
• Signal All-Active or Single-Active CE1 MPLS CE2
PE1 PE3
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 90
EVPN-VPWS Layer 2 Attributes
Extended Community
+-------------------------------------------+
+-------------------------------------------+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+-------------------------------------------+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| L2 MTU (2 octets) |
+-------------------------------------------+ Control-Word(C) = 4
| Reserved (2 octets) | Primary(P) = 2
Backup(B) = 1
+-------------------------------------------+
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 91
EVPN-VPWS
All-Active
EVPN-VPWS - Testbed
Startup Sequence is almost identical with EVPN except:
RT3 and RT2 are not required
R36
R37 R34 l2vpn
xconnect group 500
p2p 500
interface Bundle-Ether100
neighbor evpn evi 500 service 333
H1 R36 !
!
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 93
R36: L2vpn xconnect status & Data Plane verification
R36#show l2vpn xconnect
Legend: ST = State, UP = Up, DN = Down, AD = Admin Down, UR = Unresolved,
SB = Standby, SR = Standby Ready, (PP) = Partially Programmed
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 94
R36: RT-1 Per EVI Ethernet Auto-Discovery
R36#show bgp l2vpn evpn rd 3.3.3.36:500 [1][0038.3900.0000.0000.1100][3839]/120
Control-Word(C) = 4
BGP routing table entry for [1][0038.3900.0000.0000.1100][3839]/120, Route Distinguisher: 3.3.3.36:500 Primary(P) = 2
Versions:
Process bRIB/RIB SendTblVer RT-1
Backup(B) = 1
Speaker 316 316 ESI R38/R39 AC-ID
Last Modified: Jan 27 08:24:37.527 for 00:01:42
Paths: (2 available, best #1)
Not advertised to any peer
Path #1: Received by speaker 0
Not advertised to any peer Control-Word + Primary
Local
3.3.3.38 (metric 30) from 3.3.3.103 (3.3.3.38) MTU 1500B
Received Label 68107
Origin IGP, localpref 100, valid, internal, best, group-best, import-candidate, imported, rib-install
Received Path ID 0, Local Path ID 1, version 314
Extended community: EVPN L2 ATTRS:0x06:1500 RT:1:500
Originator: 3.3.3.38, Cluster list: 3.3.3.103
Source AFI: L2VPN EVPN, Source VRF: default, Source Route Distinguisher: 3.3.3.38:500
Path #2: Received by speaker 0
Not advertised to any peer Control-Word + Primary
Local
3.3.3.39 (metric 30) from 3.3.3.103 (3.3.3.39) MTU 1500B
Received Label 68107
Origin IGP, localpref 100, valid, internal, import-candidate, imported, rib-install
Received Path ID 0, Local Path ID 0, version 0
Extended community: EVPN L2 ATTRS:0x06:1500 RT:1:500
Originator: 3.3.3.39, Cluster list: 3.3.3.103
Source AFI: L2VPN EVPN, Source VRF: default, Source Route Distinguisher: 3.3.3.39:500
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 95
R36: EVPN-VPWS Instance View
R36#show evpn evi vpn-id 500 detail
Statistics:
Packets Sent Received
Total : 0 0
Unicast : 0 0
BUM : 0 0
Bytes Sent Received
Total : 0 0
Unicast : 0 0
BUM : 0 0
RD Config: none
RD Auto : (auto) 3.3.3.36:500
RT Auto : 1:500
Route Targets in Use Type
------------------------------ ---------------------
1:500 Import
1:500 Export
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 96
EVPN-VPWS
Single-Active
EVPN-VPWS - Testbed
Startup Sequence is almost identical with EVPN except:
RT3 and RT2 are not required
RR103 RR104
Single-Active
R39
H2
R38 R35
H1
R36
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 98
Config: EVPN-VPWS
R36 R38/R39
l2vpn l2vpn
xconnect group 500 xconnect group 500
p2p 500 p2p 500
interface Bundle-Ether100 interface Bundle-Ether100
neighbor evpn evi 500 target 3839 source 3637 neighbor evpn evi 500 target 3637 source 3839
! !
! !
! !
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 99
R36: L2vpn xconnect status & Data Plane verification
R36#show l2vpn xconnect
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 100
R36: RT-1 Per EVI Ethernet Auto-Discovery
R36#show bgp l2vpn evpn rd 3.3.3.36:500 [1][0038.3900.0000.0000.1100][3839]/120
Tue Apr 14 07:47:20.033 UTC Control-Word(C) = 4
BGP routing table entry for [1][0038.3900.0000.0000.1100][3839]/120, Route Distinguisher: 3.3.3.36:500 Primary(P) = 2
Versions:
Process bRIB/RIB SendTblVer RT-1
Backup(B) = 1
Speaker 430 430 ESI R38/R39 AC-ID
Last Modified: Apr 14 07:47:09.651 for 00:00:10
Paths: (2 available, best #1)
Not advertised to any peer
Path #1: Received by speaker 0
Not advertised to any peer Control-Word + Backup
Local
3.3.3.38 (metric 30) from 3.3.3.103 (3.3.3.38) MTU 1500B
Received Label 28127
Origin IGP, localpref 100, valid, internal, best, group-best, import-candidate, imported, rib-install
Received Path ID 0, Local Path ID 1, version 428
Extended community: EVPN L2 ATTRS:0x05:1500 RT:1:500
Originator: 3.3.3.38, Cluster list: 3.3.3.103
Source AFI: L2VPN EVPN, Source VRF: default, Source Route Distinguisher: 3.3.3.38:500
Path #2: Received by speaker 0
Not advertised to any peer Control-Word + Primary
Local
3.3.3.39 (metric 30) from 3.3.3.103 (3.3.3.39) MTU 1500B
Received Label 28127
Origin IGP, localpref 100, valid, internal, import-candidate, imported, rib-install
Received Path ID 0, Local Path ID 0, version 0
Extended community: EVPN L2 ATTRS:0x06:1500 RT:1:500
Originator: 3.3.3.39, Cluster list: 3.3.3.103
Source AFI: L2VPN EVPN, Source VRF: default, Source Route Distinguisher: 3.3.3.39:500
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 101
VPLS to EVPN
Seamless Migration
VPLS & EVPN Seamless Integration - Migration
VFI1 is by default in Split Horizon Group 1
CE2 R37 R39 CE4
• SHG1 protects loops in MPLS Core
• Full Mesh of pseudowires(PW) is required
for Any-to-Any forwarding
R36 MPLS
VFI1
PW_R37 UP
BD1 PW_R38 UP
PW_R39 UP
CE1
R38 CE3
l2vpn
bridge group 100
bridge-domain 100
vfi 1
neighbor x.x.x.37 pw-id 37
!
neighbor x.x.x.38 pw-id 38
!
neighbor x.x.x.39 pw-id 39
!
!
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 103
VPLS & EVPN Seamless Integration - Migration
VFI1 is by default in Split Horizon Group 1
CE2 R37 R39 CE4
• SHG1 protects loops in MPLS Core
• Full Mesh of pseudowires(PW) is required
for Any-to-Any forwarding
R36 MPLS
VFI1
PW_R37 UP
EVI100 is also by default in Split Horizon Group 1
BD1 PW_R38 UP • R36 doesn’t forward data between VFI1 and EVI100
CE1 X PW_R39 UP
l2vpn
bridge group 100
bridge-domain 100
vfi 1
neighbor x.x.x.37 pw-id 37
!
neighbor x.x.x.38 pw-id 38
!
neighbor x.x.x.39 pw-id 39
!
evi 100
!
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 104
VPLS & EVPN Seamless Integration - Migration
VFI1 is by default in Split Horizon Group 1
CE2 R37 R39 CE4
• SHG1 protects loops in MPLS Core
• Full Mesh of pseudowires(PW) is required
for Any-to-Any forwarding
R36 MPLS
VFI1
PW_R37 UP
EVI1 is also by default in Split Horizon Group 1
BD1 PW_R38 DOWN • R36 doesn’t forward data between VFI1 and EVI100
CE1 X PW_R39 UP
BGP EVPN
EVI100 R38 CE3 R36&R38 run BGP EVPN
• PW_R38 goes DOWN
• Data Forwarding between R36 and R38 via EVI100
l2vpn
bridge group 100
bridge-domain 100
vfi 1
neighbor x.x.x.37 pw-id 37
!
neighbor x.x.x.38 pw-id 38
!
neighbor x.x.x.39 pw-id 39
!
evi 100
!
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 105
PW to EVPN-VPWS
Seamless Migration
EVPN-VPWS/Legacy-PW Seamless Migration
Supported Modes
CE1 PE38 MPLS PE39 CE2 Discovery: Static/BGP-AD
Signaling: LDP, BGP
LDP based PW
R38 Configuration
l2vpn
xconnect group test
p2p test
interface TenGigE0/0/0/0
neighbor ipv4 3.3.3.39 pw-id 10
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 107
EVPN-VPWS/Legacy-PW Seamless Migration
CE1 PE38 MPLS PE39 CE2
LDP based PW
R38 Configuration
l2vpn
xconnect group test Allows Tengig0/0/0/0 to be migrated
p2p test
vpws-seamless-integration Existing LDP based PW is UP and forwarding data
interface TenGigE0/0/0/0
neighbor ipv4 3.3.3.39 pw-id 10
New EVPN-VPWS service is ready and is signaled via BGP EVPN AF
p2p test-new
interface TenGigE0/0/0/0
neighbor evpn evi 1000 service 10
R38#show l2vpn xconnect
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 108
EVPN-VPWS/Legacy-PW Seamless Migration
CE1 PE38 MPLS PE39 CE2
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 109
EVPN & VPLS
Interconnect
EVPN & VPLS Interconnect
R36 PE1
CE1 A1
VPLS EVPN
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 111
Summary
Summary
• Extra Offline Learning:
• ETREE
• EVPN Fast Re-Route (FRR)
• EVPN All-Active Multihomed Service with Distributed Anycast Gateway & Integration
to L3VPN simplifies SPDC/NextGen-CO/WAN Integration
• EVPN is not strictly a replacement of “traditional” VPNv4/6
• EVPN and VPNv4/6 can coexist
• Service Layer is Data Plane independent, but the right Data Plane (encapsulation)
selection decreases complexity and provides additional capabilities
• Stay up to date https://e-vpn.io/
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 113
#CiscoLiveAPJC © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 114
Complete Your Session Evaluations
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 115
• Visit the Cisco Showcase
for related demos
BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 116
Thank you
#CiscoLiveAPJC
Extra Offline
Learning
EVPN ETREE
EVPN ETREE – RT Constrains (Scenario 1a)
• Host connected to Leaf can talk ONLY to device connected to Root
Leaf3
MPLS Root1 H4
H2
Leaf2 Leaf Configuration
evpn
evi 100
H1 bgp
route-target export 1:100
route-target import 1:1000
!
Leaf1 etree
rt-leaf <- MAC Synchronization
!
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 120
EVPN ETREE Leaf Label (Scenario 1b)
Root Configuration
No specific Root Configuration
l2vpn
bridge group test • ASR9k/NCS add Leaf ACs to SHG2 automatically
Leaf4 bridge-domain test => Prevents local Leaf to Leaf AC forwarding
interface Bundle-Ether100
!
evi 300
H3
Leaf3
MPLS Root1 H4
H2
Leaf2
Leaf Configuration
l2vpn
H1 bridge group test
bridge-domain test
etree
leaf
Leaf1 !
interface Bundle-Ether100
!
evi 300
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 121
EVPN ETREE Leaf Label (Scenario 1b) - BUM
Leaf Configuration
l2vpn Each Leaf (device with at least one Leaf AC) advertises RT1 per-ESI
bridge group test with ESI 0 with ETREE extended community to distribute ETREE Label
bridge-domain test
etree R28#show bgp l2vpn evpn rd 1.1.1.28:0 [1][1.1.1.28:1][0000.0000.0000.0000.0000][4294967295]/184
leaf Wed Mar 23 03:41:36.734 UTC
! BGP routing table entry for [1][1.1.1.28:1][0000.0000.0000.0000.0000][4294967295]/184, Route Distinguisher: 1.1.1.28:0
Versions:
interface Bundle-Ether100 Process bRIB/RIB SendTblVer
! Speaker 1481327 1481327
evi 300 Local Label: 0
Last Modified: Mar 23 03:21:20.580 for 00:20:17
Paths: (1 available, best #1)
Advertised to update-groups (with more than one peer):
0.2
Path #1: Received by speaker 0
Leaf4 Advertised to update-groups (with more than one peer):
0.2
Local
0.0.0.0 from 0.0.0.0 (1.1.1.28)
Origin IGP, localpref 100, valid, redistributed, best, group-best, import-candidate, rib-install
H3 Received Path ID 0, Local Path ID 1, version 1481327
Extended community: EVPN E-TREE:0x00:24010 RT:1:3000
Leaf1
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 122
EVPN ETREE Leaf Label (Scenario 1b) - Unicast
Leaf Configuration
l2vpn Leaf Advertises local MAC with ETREE extended community
bridge group test Same extended community was used to distribute ETREE Label
bridge-domain test
etree RP/0/RSP0/CPU0:R28#show bgp l2vpn evpn bridge-domain test [2][0][48][682c.7b24.c63d][0]/104
Wed Mar 23 04:13:10.244 UTC
leaf BGP routing table entry for [2][0][48][682c.7b24.c63d][0]/104, Route Distinguisher: 1.1.1.28:300
! Versions:
interface Bundle-Ether100 Process bRIB/RIB SendTblVer
Speaker 1481349 1481349
! Local Label: 24012
evi 300 Last Modified: Mar 23 03:21:48.580 for 00:51:22
Paths: (1 available, best #1)
Advertised to update-groups (with more than one peer):
0.2
Path #1: Received by speaker 0
H1
Leaf1
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 123
EVPN ETREE Leaf Label (Scenario 2) per-AC
Root/Leaf Configuration
l2vpn
bridge group test
bridge-domain test
interface Bundle-Ether100 <- interface to H4
Leaf4 interface Bundle-Ether200 <- interface to H5
etree
leaf
!
H3 !
evi 300
H5
Leaf3
MPLS
H2 Root
Leaf2 Leaf H4 Leaf Configuration
Same as Scenario 1b
H1
l2vpn
bridge group test
bridge-domain test
Leaf1 etree
leaf
!
interface Bundle-Ether100
!
evi 300
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 124
EVPN ETREE Summary
Scenario 1a: RT Constrains is simple and HW “friendly”
Unicast/BUM filtering by ingress node => scale benefit
Scenario 1b: Simple configuration, but additional ETREE label must be imposed for BUM
BUM filtered by egress node
Support IRB
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 125
EVPN Fast Re Route (FRR)
Fast Convergence (FRR Data Plane) - Core
Core Failure (Link/Node) – PIC Core
Technology: RSVP-TE/LFA/rLFA/TI-LFA
Transport: IGP -> MPLS, SRv6
Overlay Service: Service Independent
Device: P-Router, Spine
PE2 PE4 L2
P2 S2
X
P1 X
S1
PE1 PE3 L1
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 127
Fast Convergence (FRR Control Plane) – DC Leaf/TOR
MAC Mobility
VM/MAC Move
Technology: EVPN Mac Mobility (EVPN RT-2)
Transport: Transport Independent
Overlay Service: EVPN MAC IP ESI Seq. Next-
Device: Leaf/TOR Hop
MAC-1 IP-1 0 1 Leaf-3/4
Sequence number is incremented and
L4 Next-hop is changed to Leaf-3/4
VM1
Move
value will be changed after the host
move
L2 S1
VM1
MAC IP ESI Seq. Next-
Hop
L1
MAC-1 IP-1 0 0 Leaf-1/2
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 128
Fast Convergence (FRR CP/DP) – Edge/Leaf/TOR
Leaf/TOR Failure (Link) – EVPN Mass Withdraw
Technology: EVPN RT1 Mass Withdraw
Transport: Transport Independent
Overlay Service: EVPN
Device: Leaf/TOR/Access/Edge
PE2
MAC-CE1 -> ESI1 -> PE1
PE4 X
-> PE2
P2
CE1
P1
PE1 PE3
RT1 ESI1 Mass Withdraw
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 129
Fast Convergence (FRR Data Plane) – Edge L3VPN
Edge Failure (Link) – BGP PIC Edge
Technology: BGP PIC Edge
Transport: MPLS, SRv6 (Transport Independent)
Overlay Service: L3VPN
Device: Access/PE
BGP CE-PE is mandatory!!!
PE2
P2
CE1 L3VPN
P1
PE1
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 130
Fast Convergence (FRR Data Plane) – Edge L2VPN
Edge Failure (Link) – EVPN FRR
Technology: EVPN FRR
Transport: Transport Independent
Overlay Service: EVPN
Device: Access/PE/Leaf/TOR
All-Active Single-Active
PE2 PE2
P2 P2
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 131
Fast Convergence (EVPN FRR Data Plane) – Edge
• Solution is to bypass NDF => Only redirected packet can bypass NDF!
• Extra FRR label is used to bypass NDF
• FRR Label is used for both All-Active and Single-Active access
All-Active Single-Active
PE2 PE2
P2 P2
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 132
Solving the EVPN DF Election Problem on Recovery
Failure Recovery
PE2 PE2
P2 P2
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 133
EVPN FRR - Configuration
All-Active Single-Active
evpn evpn
interface Bundle-Ether100 interface Bundle-Ether100
ethernet-segment ethernet-segment
identifier type 0 36.37.36.37.36.37.36.37.01 identifier type 0 36.37.36.37.36.37.36.37.01
convergence load-balancing-mode single-active
reroute convergence
reroute
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 134
DF Election Convergence Improvements
evpn
interface Bundle-Ether100
ethernet-segment
identifier type 0 36.37.36.37.36.37.36.37.01 BGP Next-Hop Tracking for RT4
load-balancing-mode single-active
convergence
Node Failure Convergence
nexthop-tracking Improvement
reroute
NTP Timestamping for RT4
#CiscoLiveAPJC BRKMPL-2253 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 135
Thank you
#CiscoLiveAPJC
#CiscoLiveAPJC