Professional Documents
Culture Documents
Dcevpn 1619196632181
Dcevpn 1619196632181
Russ
Click to edit Master title style
A E
B F
C D
Click to edit Master title style
A E
B F
C D
Click to edit Master title style
Click to edit Master title style
A E
B F
C D
Click to edit Master title style
A E
B F
C D
Standards
Click to edit Master title style
• Requirements for Ethernet VPN (EVPN)
• RFC7209
• A Network Virtualization Overlay Solution Using
Ethernet VPN (EVPN)
• RFC8365
• Usage and Applicability of BGP MPLS-Based Ethernet
VPN
• RFC8388
Drafts
Click to edit Master title style
• EVPN multi-homing port-active load-balancing
• draft-ietf-bess-evpn-mh-pa
• EVPN Operations, Administration and Maintenance Requirements
and Framework
• draft-ietf-bess-evpn-oam-req-frmwk
• Preference-based EVPN DF Election
• draft-ietf-bess-evpn-pref-df
• IP Prefix Advertisement in EVPN
• draft-ietf-bess-evpn-prefix-advertisement
• Weighted Multi-Path Procedures for EVPN All-Active Multi-Homing
• draft-ietf-bess-evpn-unequal-lb
Click to edit Master title style
Russ
Click to edit Master title style
A B C D E
Click to edit Master title style
A B C D E
VxLAN Click to edit Master title style
https://tools.ietf.org/html/rfc7348
Click to edit Master title style
A B C D E F G H
1
A B C D
2
2
3
1
0
5
Click to edit Master title style
Route Types
Jeff
Basic Route Types
Click to edit Master title style
• RT-2 advertises MAC and MAC/IP(host)
• RT-3 advertises EVI membership (IMET)
• RT-5 - advertises IP prefix
EVPN Route Types
Click to edit Master title style
MP_REACH_NLRI
Flags
5: IP Prefix
Route Type
Route Length
Ethernet Tag ID
Route Type (IP Prefix, Type2) MAC Address Length (48)
Length MAC Address
1: Ethernet A-D
2: MAC-Advertisement Extended Community RT RT of the MAC-VRF or EVI
3: Inclusive Multicast
4: Ethernet Segment Tunnel Encap Community VXLAN
5: IP Prefix (optional)
PMSI Tunnel Attribute Multicast or Ingress
Junos
Click to edit Master title style
EOS
Route Type 5: IP Prefix Route
Click to edit Master title style
IPv4 Basic RT-5 Interface-less RT-5
Path Attribute MP_REACH_NLRI Path Attribute MP_REACH_NLRI
Next-hop IP is VTEP-IP Next-hop IP is VTEP-1
EOS
Multihoming Route Types
Click to edit Master title style
• RT-1 per ES – used for Mass Withdrawal
• RT-1 per EVI – used for aliasing, load-sharing
• RT-4 – DF election, AD of multihomed ES's
Click to edit Master title style
Route Type 1
Ethernet Auto-discovery Route
Click to edit Master title style
Route Type 4
Ethernet Segment Route
Click to edit Master title style
ESI types
T (ESI Type) is a 1-octet field (most significant octet) that
specifies the format of the remaining 9 octets (ESI Value)
Multicast Route Types
Click to edit Master title style
• RT-6 – Selective Multicast Route (SMET)
• RT-7 – IGMP/MLD Join Synch Route
• RT-8 – IGMP/MLD Leave Synch Route
EVPN service interfaces
Click to edit Master title style
Click to edit Master title style
A E
G
H
B F
A ARP to E
C
Click to edit Master title style
1 2 3 4
A E
G
H
B F
E response to ARP
C D
Click to edit Master title style
1 2 3 4
A E
G
H
B F
C D
C ARP to A
Click to edit Master title style
1 2 3 4
A E
G
H
B F
A E
G
H
B F
A E
G
H
B F
Segmentation
L2 segmentation
Click to edit Master title style
• Control plane
• Similar to L3VPN
• Provides uniqueness/multitenancy
• RD is prepended to MAC address, RD:MAC
• Data plane(L2VNI):
• Each VXLAN segment is identified through a 24-bit
segment ID, termed the "VXLAN Network Identifier
(VNI)"
• Allows up to 16M VXLAN segments to coexist within the
same administrative domain
L3 segmentation
Click to edit Master title style
• Control plane
• Similar to L3VPN
• Provides uniqueness/multitenancy
• RD is prepended to IP address, RD:IP
• Data plane(L3VNI):
• Each VXLAN segment is identified through a 24-bit
segment ID, termed the "VXLAN Network Identifier
(VNI)“
• Allows up to 16M VXLAN segments to coexist within the
same administrative domain
L3 – Asymmetric IRB
Click to edit Master title style
L3 - Asymmetric IRB
Asymmetric IRB performs bridging and routing on the ingress VTEP, but only bridging on the egress
VTEP.
Asymmetric IRB may sometimes be described as bridge-route-bridge. This refers to the lookups
performed when moving traffic between two layer 2 segments. The ingress VTEP performs a
bridging and routing operation, while the egress VTEP only performs a bridging operation.
Click to edit Master title style
1 2 3 4
A E
G
L3 - Asymmetric IRB
bridge-route-bridge
H
B F
In Symmetric IRB, there is a dedicated Layer 3 VNI that is used for all layer 3 routing between any two layer
2 VNIs for the same tenant. This results in more configuration for the devices, and it also requires an
additional hardware lookup when compared to Asymmetric IRB, but it is more scalable. Needed for
communicaiton with the external world!!!
A E
G
L3 - Symmetric IRB
bridge-route-route-bridge
H
B F
Mobility
Click to edit Master title style
1 2 3 4
A E
G
H
B F
E (old) D
Click to edit Master title style
1 2 3 4
A E
G
H
B F
E (old) D
Click to edit Master title style
1 2 3 4
A E
G
H
B F
C (new) D
MAC Mobility Dampening
Click to edit Master title style
• When advertising a mobility event
• Set a mobility timer (M)
• If a lot of mobility events detected
• Log
• Flush route
• Stop processing updates
Click to edit Master title style
1 2 3 4
A E
G
H
B F
C (pinned) D
Click to edit Master title style
1 2 3 4
A E
G
H
B F
C (pinned) D
Click to edit Master title style
ESI Multi-homing
Click to edit Master title style
1 2 3 4
A E
G
5 6 7 8
H
B F
ES
C
Click to edit Master title style
1 2 3 4
A E
G
5 6 7 8
H
B F
LACP/Static ES LACP/Static
C
Click to edit Master title style
1 2 3 4
A E
G
Route Type 4
Ethernet Segment Route – DF election
5 6 7 8
H
B F
ES
C
Click to edit Master title style
1 2 3 4
A E
G
5 6 7 8
H
B F
ES
C
Click to edit Master title style
1 2 3 4
A E
G
5 6 7 8
H
B F
ES
C
Click to edit Master title style
1 2 3 4
A E
G
Route Type 2
MAC or MAC/IP with ESI set
5 6 7 8
H
B F
ES
C
Click to edit Master title style
1 2 3 4
E
RT1 per ES(6-7):
ESI=00::01
A ETH-TAG=MAX-ET
All-active
G RT1 per EVI(6-7):
ESI=00::01
ETH-TAG!=MAX-ET
RT2(6 or 7):
ESI=00::01
MAC=C
RT4
5 6 7 8
H
B F
ES ESI=00::01
compressed 00:00:00:00:00:00:00:00:00:01
C
Click to edit Master title style
Basic Deployment
Click to edit Master title style
L2
1 2 3 4
L2 only VRRP
Intra-subnet Proxy ARP
Df-GW=VRRP-IP
192.168.1.x/24
5 6 7 8
L2
F
C D
Click to edit Master title style
1 2 3 4
SVI/IRB anycast
L2/L3
Inter-subnet
192.168.1.x/24
SVI/IRB anycast
192.168.2.z/24
5 6 7 8
C D
Click to edit Master title style
1 2 3 4
L3
Inter-subnet
192.168.1.x/32
192.168.1.x/32
5 6 7 8
192.168.2.x/24
F
C D
Click to edit Master title style
EVPN AFI/SAFI
WAN
IP/MPLS
DCI using GW - Independent Control Planes
Click to edit Master title style
RFC 8365, section-10.1, VNI/RT translation
EVPN/L3VPN/L2VPN
WAN
IP/MPLS
DCI using ASBR(similar to RFC4364 Inter-AS option B)
Click to edit Master title style
RFC 8365, section-10.2, VNI/RT translation
MPLS EVPN
WAN
IP/MPLS
Click to edit Master title style
A
G
H
B
C D
Click to edit Master title style
1 2 3 4
A
G
H
B
C D
Click to edit Master title style
1 2 3 4
A
G
H
B
C D
Click to edit Master title style
Troubleshooting
Troubleshooting - underlay
Click to edit Master title style
• For overlay to work – underlay must be fully functional
• Always start troubleshooting with underlay!
• Underlay routing must work properly
• VTEP IP's must be distributed
• BGP infra IP's must be distributed
• Number of implementations requires VTEP source != BGP
source – pay attention, your overlay might not work
• MTU – VXLAN encapsulation adds 50(54 with
802.1q)bytes. Make sure core facing interfaced are
configured to support additional overhead (=Jumbo)
Troubleshooting – EVPN
Click to edit Master title style
• Start with basic BGP:
• make sure EVPN capability has been exchanged between
peers and the session is "Established"
• On spines/super-spine
• Make sure next-hop unchanged has been set
• Make sure routes that have no local import are still
advertised (NX-OS retain route-target)
• Make sure import/export policies have been configured
(Junos)
Troubleshooting – EVPN, cont'd
Click to edit Master title style
• EVPN EVI (MAC VRF)
• Make sure RT import/export policies within respective
EVI's match
• Make sure to understand the differences between
different EVPN SI's and how they manifest in routes
• Make sure to understand how host routes(ARP/ND) are
represented (type 2 L3VNI vs type 5), differs per vendor
• If using MLAG/vPC – make sure to follow vendor's
specifics, every vendor has their own
• Every vendor has their own logic wrt RD generation
Troubleshooting – EVPN, cont'd
Click to edit Master title style
• EVPN EVI (MAC VRF)
• After an EVI has been configured – type 3 route for that
EVI must appear on every switch participating
• You will see 2 RT-2 per ARP/ND, MAC only + MAC/IP
• Mind vendor implementations:
• NX-OS/EOS/Cumulus - L2VNI/RT+L3VNI+RT
• Junos/Nokia - L2VNI/RT only
Troubleshooting – EVPN, cont'd
Click to edit Master title style
• EVPN VRF(IP VRF)
• Every unicast route imported (redistributed) into BGP
and exported becomes RT-5 (usually SVI's)
• It is possible to build RT-5 only design (ala L3VPN)
• In DCI cases – don't stretch L2 (unless absolutely
necessary), leak RT-5 only
• VRF-leaking – remember, leaked routes are not re-
advertised back into EVPN fabric (local only)
Troubleshooting – EVPN, cont'd
Click to edit Master title style
• EVPN ESI multihoming
• After ES has been configured and up:
• 1 RT-1 per ES per switch
• 1 RT-1 per EVI per ES per switch
• Mind vendors/EVNP SI
• Junos VLAN Aware SI – RT-1 ES = RT-1 EVI
• 1 RT-4 per ES per switch, imported only by ES owners
• Import RT (ES-Import) is derived from ESI and is auto-
generated
• Mind EOS – RT is manually configured
Click to edit Master title style
Telemetry Considerations
Click to edit Master title style
Self-healing
TE
Prov.
TSDB
Cent. CP
Orch.
DB
Analytics
DB
Dist. CP
DB
Apps
Set Goals
Click to edit Master title style
• Notify on link down, up, etc.
• Notify on changes in reachable destinations
• Notify on node failure
• Reconstruct the state of the network at the time of a
failure
• Decrease MTTR
• Understand “normal”
• Understand where to look to find problems quickly
Click to edit Master title style
Interface Errors
Route count
MTU Mismatch
Interface Errors
Down
Click to edit Master title style Change in delay from reroute
Interface Down
Click to edit Master title style
Neighbor Count
VRF IP Route Count
Underlay: topology is correct
Overlay: virtual topology is correct