Professional Documents
Culture Documents
BRKDCT 2949
BRKDCT 2949
BRKDCT 2949
How
1. Find this session in the Cisco Live Mobile App
2. Click “Join the Discussion”
3. Install Spark or go directly to the space
4. Enter messages/questions in the space
cs.co/ciscolivebot#BRKDCT-2949
© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public
Session Objective
• A short Overview on Data Center Fabric
• A close look at Single Fabric Overlay and Underlay
• Details on Single Fabric Control- & Data-Plane
• Multi-Tenancy in VXLAN BGP EVPN environments
• First-Hop Gateway with Distributed Anycast Gateway
• Multi-Homing with Virtual Port-Channel (VPC) for VXLAN
BRKDCT-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 5
Agenda
• A Deployment Story
Introduction to Data Center Fabrics
Data Center “Fabric” Journey (Standalone)
Layer-3 HSRP HSRP
Layer-2
Spanning-Tree
Baremet al Hypervisor Hypervisor Hypervisor Baremet al Hypervisor Baremet al Baremet al Hypervisor Hypervisor
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 8
Agenda
• A Deployment Story
The Leaf / Spine Topology (Clos* Network)
• High Redundancy
• On Node or Link Failure
*Clos, Charles (1953) "A study of non-blocking switching networks" BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 10
A Scale Out Architecture
• Spines
• Wide vs. Big
Leaf Leaf Leaf Leaf Leaf Leaf Leaf
• Uplinks
• Symmetric to all Spines or Pods
More Leaf – More Ports – More Capacity
• SAYG: Scale as You Grow
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 11
The Super-Spine
SuperSpine
SuperSpine SuperSpine
Leaf Leaf Leaf Leaf Leaf Leaf Leaf Leaf Leaf Leaf Leaf Leaf Leaf Leaf
POD 1 POD 2
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 12
The Super-Spine
SuperSpine
• Scale Out
SuperSpine SuperSpine
POD 1 POD 2
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 13
Data Center Fabric Properties
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 14
Overlay Based Data Center: Fabrics
• Mobility
• Segmentation
Spine Spine Spine Spine
Overlay • Scale
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 15
Overlay Based Data Center: Edge Devices
Network Overlays Host Overlays
Overlay Overlay
VTEP VTEP VTEP VTEP - - - -
Hybrid Overlays
VTEP VTEP VTEP VTEP
Baremetal Baremetal Baremetal Baremetal Hypervisor Hypervisor Hypervisor Hypervisor
• Router/Switch End-Points
• Virtual End-Points only
• Protocols for Resiliency/Loops Overlay • Single Admin Domain
• Traditional VPNs
• VXLAN, NVGRE, STT
• VXLAN, OTV, VPLS, LISP, FP - - VTEP VTEP
VTEP VTEP
Hypervisor Hypervisor Baremetal Baremetal
• A Deployment Story
Overlay Taxonomy - Underlay
Layer-3
Interface Spine Spine Spine Spine
Peering
Underlay
Edge Device Leaf Leaf Leaf Leaf Leaf Leaf Leaf
LAN
Segment
Virtual
Server Physical
Server
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 18
Overlay Taxonomy - Overlay
Tunnel Encapsulation
Spine
(VNI Namespace)
Spine Spine Spine
Overlay
VTEP VTEP VTEP VTEP VTEP VTEP VTEP VTEP
LAN
Segment
Virtual
Server Physical VTEP: VXLAN Tunnel End-Point
Server VNI/VNID: VXLAN Network Identifier
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 19
Understanding Overlay Technologies
Overlay Services
• Layer-2 Underlay Transport
Tunnel Encapsulation
• Layer-3 Network
• Layer-2 and Layer-3
Data-Plane
Control-Plane • Overlay Layer-2/Layer-3 Unicast Traffic
• Peer-Discovery • Overlay Broadcast, Unknown Unicast,
• Route Learning and Distribution Multicast traffic (BUM traffic)
• Local Learning forwarding
• Remote Learning • Ingress Replication (Unicast)
• Multicast
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 20
VXLAN Evolves as the Control Plane Evolves!
Back Then
Yet Another Encapsulation
Flood & Learn (Multicast-based)
Data-Plane only 4 Years ago
VXLAN for the Data Center – Intra-DC
Control-Plane
Active VTEP Discovery
Multicast and Unicast
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 21
A single Fabric with Overlay
POD 1
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 22
What is the Elephant in the Room?
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 23
The Super-Spine and the Overlay (Multi-POD)
SuperSpine
SuperSpine SuperSpine
Spine Overlay
Spine Spine Spine Spine Overlay
Spine Spine Spine
Leaf Leaf Leaf Leaf Leaf Leaf Leaf Leaf Leaf Leaf Leaf Leaf Leaf Leaf
POD 1 POD 2
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 24
The Super-Spine and the Overlay (Multi-POD)
SuperSpine
SuperSpine SuperSpine
• Still, a Single Overlay Domain
• End-to-End Encapsulation
• Closest to the Source
• Closest to the Destination
Spine Overlay
Spine Spine Spine • External Connectivity
OverlaySpine Spine Spine Spine
Super-Spine
POD 1 POD 2
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 25
Attributes of Multi-POD in VXLAN BGP EVPN
SuperSpine
• Underlay
•
SuperSpine SuperSpine
• Overlay
• End-to-End Encapsulation, Flat, No Hierarchy
• Single Control-Plane ”reach” – all in one ”kitchen sink”
Leaf Leaf Leaf Leaf Leaf Leaf Leaf Leaf Leaf Leaf Leaf Leaf Leaf Leaf
POD 1 POD 2
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 26
The Super-Spine and the Overlay (Multi-POD)
SuperSpine
SuperSpine SuperSpine
• Domain Normalization
(Coexistence and/or Migration)?
Leaf Leaf Leaf Leaf Leaf Leaf Leaf Leaf Leaf Leaf Leaf Leaf Leaf Leaf
POD 1 POD 2
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 27
VXLAN Evolves as the Control Plane Evolves!
Back Then
Yet Another Encapsulation
Flood & Learn (Multicast-based)
Data-Plane only 4 Years ago
VXLAN for the Data Center – Intra-DC
Control-Plane
Active VTEP Discovery
Today
Multicast and Unicast
VXLAN for DCI – Inter-DC
Multi-Site
Control- & Data-Plane Separation
Failure Domain Isolation
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 28
Use-Cases for ”DCI” Connectivity
Scale-Out Model to Build a Large Intra-
DC Network
Domain Normalization
(Coexistence and/or Migration)
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 29
VXLAN for Interconnecting Networks
EVPN Control-
Fabric #1 BGP EVPN EVPN Control-
Fabric #2 EVPNFabric
Control-Plane
#1 EVPNFabric
Control-Plane
#2
Plane Domain 1 Plane Domain 2 Domain 1 Domain 2
DCI
Single Data-Plane – End-to-End Data-Plane Domain 1 Data-Plane Domain 2
Data-Plane
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 30
VXLAN for Interconnecting Networks
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 31
VXLAN for Interconnecting Networks
DCI DCI
Single Data-Plane – End-to-End Data-Plane Domain 1 Data-Plane Domain 2 Data-Plane Domain 1 Data-Plane Domain 2
Data-Plane Data-Plane
Single Fabric with End-to-End Multiple Fabrics – Normalized Multiple Fabrics with
Encapsulation through Ethernet Integrated DCI
Build Hierarchy in the Underlay Multiple Fabrics Interconnect Integrated DCI – Scaling
– Flatten it in the Overlay using DCI (Layer 2 and Layer 3) within and between Fabrics
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 32
VXLAN Multi-Site – Introducing Overlay Hierarchies
SuperSpine
Border Gateways (BGW) SuperSpine SuperSpine
(Key Functional Components of
VXLAN Multi-Site Architecture) Multi-Site Overlay
VTEP VTEP
Spine Overlay
Spine Spine Spine Spine Overlay
Spine Spine Spine
Leaf Leaf Leaf Leaf Leaf Leaf Leaf Leaf Leaf Leaf Leaf Leaf Leaf Leaf
Site 1 Site 2
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 33
VXLAN Multi-Site – Introducing Overlay Hierarchies
SuperSpine
• Multiple Overlay Domains
SuperSpine SuperSpine
• Per-Site Encapsulation
Multi-Site Overlay
• Closest to the Source
• Closest to the Destination
VTEP • Exit/Transit via Border Gateway
VTEP
(BGW)
Spine Overlay
Spine Spine Spine Spine Overlay
Spine Spine Spine
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 34
VXLAN Multi-Site for Interconnecting Networks
• A Deployment Story
MTU and Overlays
• Data Center often require Jumbo
MTU
• Most Server NIC support up to
9000 Bytes
• Avoid Fragmentation
• Adjust the Transport Network with
appropriate MTU
*Cisco Nexus 5600 only supports a MTU of 9192 Byte for Layer-3 Traffic BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 37
Interface Principles
*NVE: Network Virtualization Edge BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 38
IP Addressing Principles Routing
Identifier Rendezvous
• Prepare a IP Addressing Plan p2p* Links / IP Point
Unnumbered
• Separate Interface functions Spine Spine Spine Spine
through IP Addressing
(Aggregates) Underlay
• Unicast Routing – Routing
Protocol Peering (p2p*) Leaf Leaf Leaf Leaf Leaf Leaf Leaf
interface ethernet1/49
description p2p-to-Spine
ip address 10.1.1.1/30 Underlay
Leaf Leaf Leaf Leaf Leaf Leaf Leaf
interface loopback0
description RID
ip address 10.10.10.101/32 interface loopback1
Hypervisor Baremetal description VTEP
Hypervisor Hypervisor Baremetal Hypervisor Baremetal
p2p Agg: 10.1.1.0/24
Baremetal
ip address 10.200.200.101/32
RID Agg: 10.10.10.0/24
VTEP Agg: 10.200.200.0/24
RP Agg: 10.254.254.0/24
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 40
Some Math – IP Addressing Principles (P2P)
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 41
Simplifying the Math – IP Unnumbered
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 42
Unicast Routing – OSPF and IS-IS
• OSPF – watch your Network Type • IS-IS – what was this CLNS?
• Independent of IP (CLNS)
• Network Type Point-2-Point • Well suited for routed
• Preferred (only LSA type-1) interfaces/ports
• No DR/BDR election • No SPF calculation on Link change;
• Suits well for routed interfaces/ports only if Topology changes
(optimal from a LSA DB perspective) • Fast Re-convergence
• Full SPF calculation on Link Change • Not everyone is familiar with it
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 43
Unicast Routing – BGP
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 44
Unicast Routing – eBGP Two-AS Model
All-Spine AS#65500
• eBGP Two-AS, yes it works!
Spine Spine Spine Spine
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 45
Unicast Routing – eBGP Multi-AS Model
• eBGP Two-AS, yes it works!
All-Spine AS#65500
Spine Spine Spine Spine
• eBGP peering for Underlay
• Spine is not a Route-Reflector
(eBGP) – Retain Route-Targets
Underlay • Disable BGP AS-Path check
• Next-Hop needs to be
VTEP VTEP VTEP VTEP VTEP VTEP VTEP
Unchanged
• Underlay is Reachability!
• Advertise your Loopbacks
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 46
Unicast Routing – eBGP Model
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 47
Unicast Routing – Why two different BGP Peering?
1) Interface Down – BGP Down
BGP Peering
Spine • Point-2-Point
(IPv4/IPv6) Link Fails
BGP Peering
(IPv4/IPv6)
• BGP Peering is teared down
• Lights-Out Event or BFD
Leaf
• Fast reaction
Leaf
to Routing Table
AS#65500
• Underlay Network Converges
• ECMP kicks in if
available/configured
Spine
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 48
Unicast Routing – Why two different BGP Peering?
1) Interface Down – BGP Down
• Point-2-Point
BGP Peering
Link Fails
Spine
2) Interface Down – BGP Not Down (EVPN)
• Loopback to Loopback Peering
remains Up
• If Alternate Path available
Leaf • Timers should
Leaf allow Time for
AS#65500 Network Re-Convergence
• No BFD
Spine
• Unchanged Overlay Reachability
• No Mass Delete/Re-Learn
• Underlay Path change only
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 49
Unicast Routing – Why two different BGP Peering?
1) Interface Down – BGP Down
• Leaf and p2p Interfaces Fail
2) Interface Down – BGP Not Down
Spine
• Either IGP or BGP converges
*RNH: Recursive Next-Hop BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 50
Underlay - Unicast Routing and Overlay
IGP + BGP for
• Generic Concept for Underlay / true Protocol
Overlay Separation Separation
• Use Different Routing Protocol BGP for single
• Use Same Routing Protocol Routing Protocol
Specific to BGP approach
as a Overlay • RNH* for Overlay works with ALL
Control-Protocol Underlay Routing Protocols
• Ensure /32-Reachability for
BGP Knobs can VTEPs
Help here • Other Routes can impact
(Aggregates, Default-Route)
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 51
Underlay - Multicast Routing and Rendezvous-Point
• RP Redundancy • RP Redundancy
• PIM Anycast-RP or MSDP • Phantom-RP
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 52
Underlay – PIM ASM with PIM Anycast-RP
RP RP
Spine Spine Spine Spine
S,G S,G
S,G S,G
Underlay S,G
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 53
PIM ASM – S,G for 5 VTEP
S,G
S=VTEP1 S,G
S=VTEP2 S=VTEP3
S,G
S,G S=VTEP4
S=VTEP7
S,G
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 54
Underlay – PIM ASM with PIM Anycast-RP
ip pim anycast-rp 10.254.254.1 10.10.10.201
ip pim anycast-rp 10.254.254.1 10.10.10.202
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 55
Underlay - Multicast Routing and Rendezvous-Point
• The Spine makes a good
Rendezvous-Point (RP)
• Use multiple RP for Redundancy
• Watch your Multicast-Group and
OIF* scale
*OIF: Outgoing Interface BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 59
Underlay – Ingress Replication
• A Packet Multiplication
• EVPN assists, VNI Topology
Spine Spine Spine Spine
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 60
VXLAN with BGP EVPN
Agenda
• A Deployment Story
What is … ?
• VXLAN • EVPN
• Standards based Encapsulation • Standards based Control-Plane
• RFC 7348 • RFC 7432
• Uses UDP-Encapsulation • Uses Multiprotocol BGP
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 63
Introducing Ethernet VPN (EVPN)
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 64
VXLAN and EVPN related RFCs & Drafts (IETF)
ID Title Category
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 65
Multiprotocol BGP (MP-BGP) Primer
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 66
Multiprotocol BGP (MP-BGP) Primer
vrf context A vrf context A
rd 10.10.10.101:3 rd 10.10.10.102:8
address-family ipv4 unicast address-family ipv4 unicast
route-target import 65500:5000
route-target export 65500:5000
Spine
• VPNroute-target
Segmentation
route-target
import 65500:5000
for 65500:5000
export Tenant
Routing
• Route Distinguisher (RD)
Leaf • 8-byte field
Leaf
AS#65500
• A Value to make a VPN Prefix
unique
Spine
• RD + VPN Prefix
• [10.10.10.101:5000 + 192.168.10.0/24]
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 67
Multiprotocol BGP (MP-BGP) Primer
vrf context A vrf context A
rd auto rd auto
address-family ipv4 unicast address-family ipv4 unicast
route-target import 65500:5000 Spine route-target import 65500:5000
route-target export 65500:5000 route-target export 65500:5000
• Cisco provides automated Route
Distinguisher derivation
Leaf • Macros uses Type 1 format Leaf
AS#65500 • 4-byte Router ID (RID)
• 4-byte VRF ID (internal number)
• Example of auto derived RD:
Spine
• 10.10.10.101:3
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 68
Multiprotocol BGP (MP-BGP) Primer
vrf context A vrf context A
rd auto rd auto
address-family ipv4 unicast • VPNaddress-family
Segmentation forunicast
ipv4 Tenant
route-target import 65500:5000 Spine route-target import 65500:5000
route-target export 65500:5000 Routing
route-target export 65500:5000
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 69
Multiprotocol BGP (MP-BGP) Primer
vrf context A vrf context A
rd auto rd auto
address-family ipv4 unicast address-family ipv4 unicast
route-target import auto Spine route-target import auto
route-target export auto • Cisco provides automated
route-target export auto Route
Target derivation
• Macros uses following values
•
Leaf Leaf
AS#65500 4-byte Autonomous System
• 4-byte VNI
• Example of auto derived RD:
• Import, Export or Both
Spine
• 65500:5000
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 70
Multiprotocol BGP (MP-BGP) Primer
vrf context A vrf context A
rd 10.10.10.101:3 rd 10.10.10.102:8
address-family ipv4 unicast address-family ipv4 unicast
route-target import 65500:5000 Spine route-target import 65500:5000
route-target export 65500:5000 route-target export 65500:5000
Spine
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 71
Multiprotocol BGP (MP-BGP) Primer
vrf context A vrf context A
rd 10.10.10.101:3 rd 10.10.10.102:8
address-family ipv4 unicast address-family ipv4 unicast
route-target import 65500:5000 Spine route-target import 65500:5000
route-target export 65500:5000 route-target export 65500:5000
Spine
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 72
Multiprotocol BGP (MP-BGP) Primer
vrf context A vrf context A
rd 10.10.10.101:3 rd 10.10.10.102:8
address-family ipv4 unicast address-family ipv4 unicast
route-target import 65500:5000 Spine route-target import 65500:5000
route-target export 65500:5000 route-target export 65500:5000
Spine
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 73
Multiprotocol BGP (MP-BGP) Primer
vrf context A vrf context A
rd 10.10.10.101:3 rd 10.10.10.102:8
address-family ipv4 unicast address-family ipv4 unicast
route-target import 65500:5000 Spine route-target import 65500:5000
route-target export 65500:5000 route-target export 65500:5000
Leaf Leaf
AS#65500
Next-Hop:
Spine 5 192.168.10.0/24
10.200.200.101
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 74
EVPN - Host and Subnet Route Distribution
• Host Route Distribution
RR RR decoupled from the Underlay
Spine Spine Spine Spine
protocol
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 75
EVPN Control Plane - Host and Subnet Routes
• BGP EVPN NLRI*
*NLRI: Network Layer Reachability Information (BGP Update Format) BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 76
Host Advertisements
Type MAC / Length L2VNI / RT IP / Length L3VNI / RT Next-Hop Seq.
Overlay
Leaf Leaf Leaf Leaf Leaf Leaf Leaf
*L2VNI: VNI for all Bridging operation (”VLAN-VNI”) BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 77
Host Advertisements
Type MAC / Length L2VNI / RT IP / Length L3VNI / RT Next-Hop Seq.
*L2VNI: VNI for all Bridging operation (”VLAN-VNI”) BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 78
Ethernet Tag
Ethernet Identifier
V2# show bgp l2vpn evpn 0000.3001.1101 (Ethtag)
Segment
Identifier (ESI) MAC Address MAC
Route Type: Length Address
BGP routing table information
MAC/IP for VRF default, address family L2VPN EVPN
Route Distinguisher: 10.10.10.101:32777
BGP routing table entry for [2]:[0]:[0]:[48]:[0000.3001.1101]:[0]:[0.0.0.0]/216,
version 4
Paths: (1 available, best #1)
Flags: (0x000202) on xmit-list, is not in l2rib/evpn, is locked
Advertised path-id 1
Next-Hop
IP Address
Path type: internal, path
L2VNIis valid, is best path, no labeled nexthop
AS-Path: NONE, path(MPLS
sourced internal to AS
Label1)
10.200.200.101 (metric 3) fromL2VNI
10.10.10.201 (10.10.10.201)
Encap:8
Route Target VXLAN
Origin IGP, MED not set, localpref 100, weight 0
Received label 3001
Extcommunity: RT:65500:3001 ENCAP:8
Originator: 10.10.10.101 Cluster list: 10.10.10.201
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 79
Host Advertisements
Type MAC / Length L2VNI / RT IP / Length L3VNI / RT Next-Hop Seq.
Overlay
Leaf Leaf Leaf Leaf Leaf Leaf Leaf
*L3VNI: VNI for all Routing operation (”VRF-VNI”) BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 80
Host Advertisements
Type MAC / Length L2VNI / RT IP / Length L3VNI / RT Next-Hop Seq.
*L3VNI: VNI for all Routing operation (”VRF-VNI”) BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 81
Ethernet Tag
Ethernet Identifier
V2# show bgp l2vpn evpn 0000.3001.1101 (Ethtag)
Segment
Identifier (ESI) MAC Address MAC
Route Type: Length Address
BGP routing table information
MAC/IP for VRF default, address family L2VPN EVPN
Route Distinguisher: 10.10.10.101:32777
BGP routing table entry for [2]:[0]:[0]:[48]:[0000.3001.1101]:[32]:[192.168.10.101]/272,
version 4
Paths: (1 available, best #1) IP Address
Length
Flags: (0x000202) on xmit-list, is not in l2rib/evpn, is locked IP Address
Advertised path-id 1
Next-Hop L3VNI
IP Address
Path type: internal,L2VNI
path is (MPLS
valid, is best path, no labeled nexthop
Label2)
AS-Path: NONE, path
(MPLSsourced
Label1) internal to AS
10.200.200.101 (metric 3) from 10.10.10.201 (10.10.10.201)
Encap:8
Origin IGP, MED not set, localpref 100, weight 0 VXLAN
Received label 3001 5000
Extcommunity: RT:65500:3001 RT:65500:5000 ENCAP:8 Router MAC:0200.0ade.de01
Originator: 10.10.10.101 Cluster list: 10.10.10.201
L2VNI L3VNI
Route Target Router MAC
Route Target
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 82
Subnet Route Advertisements
Type IP / Length L3VNI / RT Next-Hop Seq.
Router MAC
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 83
Subnet Route Advertisements
Type IP / Length L3VNI / RT Next-Hop Seq.
5 192.168.10.0 /24
Spine
5000, 65500:5000
Spine Spine
10.200.200.101
Spine
• IP Prefix Learning
5 192.168.10.0 /24 5000, 65500:5000 10.200.200.104
• via BGP with VRF-Lite
• via LISP on Nexus 7000/7700
5 192.168.20.0 /24
Overlay
5000, 65500:5000 10.200.200.107 • via other routing protocol (static
or dynamic)
Leaf Leaf Leaf Leaf Leaf Leaf Leaf
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 84
Ethernet Tag
Ethernet Identifier
Segment
V2# show bgp l2vpn evpn 192.168.10.0 (Ethtag)
Identifier (ESI) IP Address
Route Type: IP Address
Length family
BGP routing table information
IP Prefix for VRF default, address L2VPN EVPN
Route Distinguisher: 10.10.10.101:3
BGP routing table entry for [5]:[0]:[0]:[24]:[192.168.10.101]/224,
version 4
Paths: (1 available, best #1)
Flags: (0x000202) on xmit-list, is not in l2rib/evpn, is locked
Advertised path-id 1
Next-Hop
IP Address
Path type: internal, path
L3VNIis valid, is best path, no labeled nexthop
AS-Path: NONE, path(MPLS
sourced internal to AS
Label)
10.200.200.101 (metric 3) fromL3VNI
10.10.10.201 (10.10.10.201)
Encap:8
Origin IGP, MED not set, localpref 100, weight 0 Router MAC
Route Target VXLAN
Received label 5000
Extcommunity: RT:65500:5000 ENCAP:8 Router MAC:0200.0ade.de01
Originator: 10.10.10.101 Cluster list: 10.10.10.201
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 85
Introducing VXLAN
Outer MAC Outer IP UDP VXLAN Inner MAC Inner IP Payload CRC
*plus 4-byte if IEEE 802.1q exists as part of Inner MAC Header BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 86
VXLAN Frame Format – MAC in IP Encapsulation
Field Value Bites Total Field Value Bites Total
Dest. MAC Address Next-Hop MAC Address 48 Source Port L2/L3/L4 Hash 16
(4 Bytes Optional)
8 Bytes
Src. MAC Address Next-Hop MAC Address 48 Destination Port 4789 (UDP) 16
14 Bytes
VLAN Type 0x8100 16 UDP Length 16
8 Bytes
Reserved 24
Protocol 0x11 (UDP) 8
20 Bytes
Destination IP Dest. VTEP IP 32 BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 87
No Path Diversity
Spine
• Equal Cost Multi-Pathing (ECMP)
uses Header information to form
Path Diversity
Leaf
• Some Tunnel Protocol provide no
Leaf
101010110101010
10101010
Baremetal
AS#65500 diversity in IP or Protocol Header Baremetal
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 88
Introducing VXLAN – Entropy
Spine
• VXLAN provides variable UDP
Source Port in Outer Header
• Hash of the inner Layer-2/Layer-
VTEP VTEP
101010110101010
10101010
Baremetal
AS#65500 3/Layer-4 Headers of the original Baremetal
Ethernet Frame.
• Enables entropy for ECMP Load
Spine
balancing in the Network
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 89
Introducing VXLAN – Entropy
Spine
VTEP VTEP
AS#65500
Entropy Spine
happens here
Outer MAC Outer IP UDP VXLAN Inner MAC Inner IP Payload CRC
Data-Plane (VXLAN)
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 90
Difference between VXLAN (F&L) and VXLAN (EVPN)?
F&L – Flood & Learn • EVPN – BGP EVPN
• Data-Plane Encapsulation • Control-Plane + Data-Plane Solution
• Layer-2 MAC-in-IP Encapsulation • Layer-2 MAC-in-IP Encapsulation with
Reachability Protocol
• Follows Ethernet Semantics –
Learning through Flooding • Follows local/remote learning
through Control-Plane
• No Layer-3 • Learn Local, advertise to Remote
• First-Hop Gateway, Multi-Tenancy
• Integrated Layer-2 and Layer-3
• Uses Multicast for BUM • First-Hop Gateway, Multi-Tenancy
• BUM – Broadcast, Unknown Unicast,
Multicast • Uses Multicast or Ingress
• Some static Ingress Replication (IR) Replication for BUM
possible • Ingress Replication (IR) / Head-End
Replication (HER)
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 91
VXLAN and BGP EVPN – Putting it Together
Control-Plane (BGP EVPN)
Type MAC / Length L2VNI / RT IP / Length L3VNI / RT Next-Hop Seq.
3001 5000
2 0000.3001.1101/48 192.168.10.101/32 10.200.200.101
65500:3001 65500:5000
Outer MAC Outer IP UDP VXLAN Inner MAC Inner IP Payload CRC
Data-Plane (VXLAN)
Bridging
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 92
VXLAN and BGP EVPN – Putting it Together
Extended Community
Router MAC
Control-Plane (BGP EVPN) 0200.0ade.de01
3001 5000
2 0000.3001.1101/48 192.168.10.101/32 10.200.200.101
65500:3001 65500:5000
Outer MAC Outer IP UDP VXLAN Inner MAC Inner IP Payload CRC
Data-Plane (VXLAN)
Routing
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 93
Routing and the Router MAC – Ethernet
Router MAC
Switch Switch
SVI10 SVI20
192.168.10.1 192.168.20.1
Host A Host C
MAC: 0000.3001.1101 MAC: 0000.3002.2101
IP: 192.168.10.101 IP: 192.168.20.101
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 94
Routing and the Router MAC – VXLAN
Router MAC
SVI10 SVI20
192.168.10.1 VTEP
VXLAN VTEP 192.168.20.1
Host A Host C
MAC: 0000.3001.1101 MAC: 0000.3002.2101
IP: 192.168.10.101 IP: 192.168.20.101
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 95
Packet Walk – ARP Request
Type MAC / Length L2VNI / RT IP / Length L3VNI / RT Next-Hop Seq.
2 0000.3001.1101 / 48 3001, 65500:3001 10.200.200.101
SMAC: DMAC:
ARP Request for 192.168.10.102 0000.3001.1101 FFFF.FFFF.FFFF
SMAC: DMAC:
0000.3001.1101 FFFF.FFFF.FFFF
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 96
Packet Walk – ARP Response
Type
Type MAC
MAC/ Length
/ Length L2VNI
L2VNI/ RT
/ RT IPIP/ Length
/ Length L3VNI
L3VNI/ RT
/ RT Next-Hop
Next-Hop Seq.
Seq.
22 0000.3001.1101
0000.3001.1101/ 48
/ 48 3001,
3001,65500:3001
65500:3001 192.168.10.101/32 5000, 65500:5000 10.200.200.101
10.200.200.101
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 97
Packet Walk – Bridging
Type MAC / Length L2VNI / RT IP / Length L3VNI / RT Next-Hop Seq.
2 0000.3001.1101 / 48 3001, 65500:3001 192.168.10.101/32 5000, 65500:5000 10.200.200.101
2 0000.3001.1102 / 48 3001, 65500:3001 192.168.10.102/32 5000, 65500:5000 10.200.200.104
Spine Spine Spine Spine
0000.3001.1101 0000.3001.1102
Baremetal 192.168.10.101 192.168.10.102 Baremetal Baremetal
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 98
Packet Walk – Routing
Type MAC / Length L2VNI / RT IP / Length L3VNI / RT Next-Hop Seq.
2 0000.3001.1101 / 48 3001, 65500:3001 192.168.10.101/32 5000, 65500:5000 10.200.200.101
2 0000.3002.2102 / 48 3002, 65500:3002 192.168.20.101/32 5000, 65500:5000 10.200.200.107
Spine Spine Spine Spine
0000.3001.1101 2020.0000.AAAA
Baremetal 192.168.10.101 192.168.20.101 Baremetal Baremetal
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 99
Packet Walk – Routing (Silent Host)
Type MAC / Length L2VNI / RT IP / Length L3VNI / RT Next-Hop Seq.
2 0000.3001.1101 / 48 3001, 65500:3001 192.168.10.101 5000, 65500:5000 10.200.200.101
5 192.168.20.0/24 5000, 65500:5000 10.200.200.107
Spine Spine Spine Spine
0000.3001.1101 2020.0000.AAAA
Baremetal 192.168.10.101 192.168.20.101 Baremetal Baremetal
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 100
Packet Walk – Routing (Silent Host)
Type MAC / Length L2VNI / RT IP / Length L3VNI / RT Next-Hop Seq.
2 0000.3001.1101 / 48 3001, 65500:3001 192.168.10.101 5000, 65500:5000 10.200.200.101
5 192.168.20.0/24 5000, 65500:5000 10.200.200.107
Spine Spine Spine Spine
2 0000.3002.21o1 / 48 3002, 65500:3002 192.168.20.101 5000, 65500:5000 10.200.200.107
SMAC: DMAC:
0000.3002.2101 2020.0000.AAAA
SMAC: DMAC:
SMAC DMAC SIP DIP 2020.0000.AAAA FFFF.FFFF.FFFF
0000.3001.1101 2020.0000.AAAA
Baremetal 192.168.10.101 192.168.20.101 Baremetal Baremetal
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 101
Agenda
• A Deployment Story
What is Multi-Tenancy ?
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 103
Layer-2 Multi-Tenancy – Bridge Domains
• Bridge Domain
• Layer-2 Segment from End-Point
Spine Spine Spine Spine
to End-Point
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 104
Layer-3 Multi-Tenancy – Routing Domains
• Routing Domain
Spine Spine Spine Spine
• Multiple Subnets sharing the
same Layer-3 forwarding policy
Overlay
VNI 5000 (L3VNI) • Routing Domain in VXLAN
consists of
Leaf Leaf Leaf Leaf Leaf Leaf Leaf • The Routing Domain local to the
Edge Device (VRF)
• The Routing Domain (VPN)
across the Edge Devices
Baremetal Baremetal Baremetal
• Multi-Protocol BGP with EVPN
Host A Host B Host C
Address-Family
192.168.10.101 192.168.10.102 192.168.20.101
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 105
Agenda
• A Deployment Story
Distributed IP Anycast Gateway
• Distributed First-Hop Routing on
192.168.20.1
192.168.10.1 2020.0000.AAAA Edge Device
2020.0000.AAAA
•
Spine Spine Spine Spine
All Edge Device share same
Gateway IP and MAC address
Overlay • Pervasive Gateway approach
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 107
Distributed IP Anycast Gateway
• Distributed First-Hop Routing on
192.168.20.1
192.168.10.1 2020.0000.AAAA Edge Device
2020.0000.AAAA
•
Spine Spine Spine Spine
All Edge Device share same
Gateway IP and MAC address
Overlay • Pervasive Gateway approach
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 108
Anycast – One-to-Nearest Association
*L3VNI: VNI for all Routing operation (”VRF-VNI”) BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 109
Packet Walk – Symmetric IRB (A to C)
Type MAC / Length L2VNI / RT IP / Length L3VNI / RT Next-Hop Seq.
2 0000.3001.1101 / 48 3001, 65500:3001 192.168.10.101/32 5000, 65500:5000 10.200.200.101
2 0000.3002.2102 / 48 3002, 65500:3002 192.168.20.101/32 5000, 65500:5000 10.200.200.107
Spine Spine Spine Spine
0000.3001.1101 2020.0000.AAAA
Baremetal 192.168.10.101 192.168.20.101 Baremetal Baremetal
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 110
Packet Walk – Symmetric IRB (C to A)
Type MAC / Length L2VNI / RT IP / Length L3VNI / RT Next-Hop Seq.
2 0000.3001.1101 / 48 3001, 65500:3001 192.168.10.101/32 5000, 65500:5000 10.200.200.101
2 0000.3002.2102 / 48 3002, 65500:3002 192.168.20.101/32 5000, 65500:5000 10.200.200.107
Spine Spine Spine Spine
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 111
Agenda
• A Deployment Story
VPC Gateway Redundancy
• VPC – Virtual Port-Channel
• Multi-Chassis Link Aggregation
• Layer-2 Multihoming Spine Spine Spine Spine
• Host-side Overlay
• Dual-Connect Hosts VPC VPC
• Fabric-side
• Individual VTEPs
• Using a common Anycast VTEP
•
Baremetal Baremetal Baremetal
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 113
VPC Gateway Redundancy – A VXLAN perspective
Both sharing an
Overlay Anycast VTEP
VPC
VTEP VTEP
Baremetal
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 114
VPC Gateway Redundancy – A VXLAN perspective
Overlay
VPC
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 115
Host Advertisements with VPC
Type MAC / Length L2VNI / RT IP / Length L3VNI / RT Next-Hop Seq.
Overlay
VPC VPC
Leaf VTEP VTEP Leaf Leaf VTEP VTEP
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 116
Host Advertisements with VPC
Type MAC / Length L2VNI / RT IP / Length L3VNI / RT Next-Hop Seq.
• Independent Devices
2
in0000.3001.1101
the EVPN / 48 3001, 65500:3001 192.168.10.101 /32 5000, 65500:5000 10.200.200.123
Control-Plane Spine Spine Spine Spine
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 117
ECMP to the Anycast VTEP – Underlay
Spine
VTEP
VTEP
VPC
Baremetal
AS#65500 101010110101010
10101010
Baremetal
VTEP
Host A Host B
MAC: 0000.3001.1101 MAC: 0000.3001.1102
IP: 192.168.10.101 IP: 192.168.10.102
Spine
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 118
Bridging to a VPC Domain – VXLAN
SIP DIP VXLAN SMAC DMAC SIP DIP
Payload
10.200.200.104 10.200.200.123 3001 0000.3001.1102 0000.3001.1101 192.168.10.102 192.168.10.101
Spine
VTEP
VTEP
VPC
Baremetal
AS#65500 Baremetal
VTEP
Host A Host B
MAC: 0000.3001.1101 MAC: 0000.3001.1102
IP: 192.168.10.101 IP: 192.168.10.102
Spine
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 119
Routing to a VPC Domain – VXLAN
SIP DIP VXLAN SMAC DMAC SIP DIP
Payload
10.200.200.107 10.200.200.123 5000 0200.0ade.de01 2020.2323.2323 192.168.20.101 192.168.10.101
Spine
Local Station
or
VTEP Virtual MAC
VTEP
VPC
Baremetal
AS#65500 Baremetal
VTEP
Host A Host C
MAC: 0000.3001.1101 MAC: 0000.3002.2101
IP: 192.168.10.101 IP: 192.168.20.101
Spine
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 120
VPC Gateway Redundancy – A VXLAN perspective
• VPC provides Layer-2 Gateway
Redundancy
• From the VXLAN perspective,
the next-hop is always the
Anycast VTEP (VIP)
• Optimal for direct attached Hosts
• 1:1 Multicast-to-VNI mapping
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 121
Subnet Route Advertisement with VPC
Type IP / Length L3VNI / RT Next-Hop Seq.
Host B
Subnet Y MAC: 0000.3001.1102
192.168.22.0/24
IP: 192.168.10.102
Subnet X
192.168.11.0/24
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 122
Subnet Route Advertisement with VPC
SIP DIP VXLAN SMAC DMAC SIP DIP
Payload
10.200.200.107 10.200.200.123 5000 0200.0ade.de01 2020.2323.2323 192.168.20.101 192.168.11.101
Spine
VTEP
Subnet X VTEP
VPC
VTEP
Host C
MAC: 0000.3002.2101
IP: 192.168.20.101
Spine
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 123
VPC – Dual-Attach Networks
SIP DIP VXLAN SMAC DMAC SIP DIP
Payload
10.200.200.107 10.200.200.123 5000 0200.0ade.de01 2020.2323.2323 192.168.20.101 192.168.11.101
Spine
VTEP
Subnet X VTEP
VPC
VTEP
Host C
MAC: 0000.3002.2101
IP: 192.168.20.101
Layer-3 Point-2-Point Spine
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 124
VPC – Synchronizing the Routing
SIP DIP VXLAN SMAC DMAC SIP DIP
Payload
10.200.200.107 10.200.200.123 5000 0200.0ade.de01 2020.2323.2323 192.168.20.101 192.168.11.101
Spine
VTEP
Subnet X VTEP
VPC
VTEP
Host C
MAC: 0000.3002.2101
IP: 192.168.20.101
Session (per-VRF)
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 125
VPC – Advertise Subnet Individually (Advertise-PIP)
SIP DIP VXLAN SMAC DMAC SIP DIP
Payload
10.200.200.107 10.200.200.102 5000 0200.0ade.de07 0200.0ade.de02 192.168.20.101 192.168.11.101
Spine
VTEP
Subnet X VTEP
VPC
VTEP
Host C
MAC: 0000.3002.2101
IP: 192.168.20.101
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 126
VPC – Advertise Subnet Individually (Advertise-PIP)
SIP DIP VXLAN SMAC DMAC SIP DIP
VTEP
Subnet X VTEP
VPC
VTEP
Host C
MAC: 0000.3002.2101
IP: 192.168.20.101
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 127
Agenda
• A Deployment Story
A Deployment Story
Scalable Data Center Fabric
• VXLAN based Data Center Fabric
• BGP EVPN Control-Protocol (Overlay)
• OSPF for Underlay Routing (Unicast)
• PIM ASM with Anycast-RP for BUM Replication (Underlay)
• Distributed IP Anycast Gateway
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 130
p2p Agg: 10.1.1.0/24
RID Agg: 10.10.10.0/24
VTEP Agg: 10.200.200.0/24
A Deployment Story RP Agg: 10.254.254.0/24
Underlay
Leaf Leaf Leaf Leaf Leaf Leaf Leaf
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 131
p2p Agg: 10.1.1.0/24
RID Agg: 10.10.10.0/24
VTEP Agg: 10.200.200.0/24
A Deployment Story – Underlay Routing RP Agg: 10.254.254.0/24
interface loopback0 interface loopback0
ip address 10.10.10.101/32 ip address 10.10.10.201/32
ip router ospf UNDERLAY area 0.0.0.0 ip router ospf UNDERLAY area 0.0.0.0
interface Ethernet1/3
Hypervisor Baremetal Hypervisor Hypervisor Baremetal Hypervisor Baremetal Baremetal
mtu 9192
ip address 10.1.1.10/30
ip ospf network point-to-point
ip router ospf UNDERLAY area 0.0.0.0
ip pim sparse-mode
…
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 132
p2p Agg: 10.1.1.0/24
RID Agg: 10.10.10.0/24
VTEP Agg: 10.200.200.0/24
A Deployment Story – Underlay Routing RP Agg: 10.254.254.0/24
interface loopback0 interface loopback0
ip address 10.10.10.101/32 ip address 10.10.10.201/32
ip router ospf UNDERLAY area 0.0.0.0 ip router ospf UNDERLAY area 0.0.0.0
interface loopback0
router ospf UNDERLAY
ip address 10.10.10.102/32 router ospf UNDERLAY
router-id 10.10.10.101
ip router ospf UNDERLAY area 0.0.0.0 Spine Spine Spine Spine router-id 10.10.10.201
interface Ethernet1/1
router ospf UNDERLAY interface Ethernet1/1
mturouter-id
9192 10.10.10.102 mtu 9192
ip address 10.1.1.1/30
ipinterface
ospf network point-to-point
Ethernet1/1
Underlay ip address 10.1.1.2/30
ip ospf network point-to-point
ip mtu
router
9192ospf UNDERLAY area 0.0.0.0 ip router ospf UNDERLAY area 0.0.0.0
ip ip
pimaddress
sparse-mode
10.1.1.5/30 ip pim sparse-mode
… ip ospf network point-to-pointLeaf Leaf Leaf Leaf Leaf Leaf Leaf
ip router ospf UNDERLAY area 0.0.0.0 interface Ethernet1/2
ip pim sparse-mode mtu 9192
… ip address 10.1.1.6/30
ip ospf network point-to-point
ip router ospf UNDERLAY area 0.0.0.0
ip pim sparse-mode
interface Ethernet1/3
Hypervisor Baremetal Hypervisor Hypervisor Baremetal Hypervisor Baremetal Baremetal
mtu 9192
ip address 10.1.1.10/30
ip ospf network point-to-point
ip router ospf UNDERLAY area 0.0.0.0
ip pim sparse-mode
…
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 133
p2p Agg: 10.1.1.0/24
RID Agg: 10.10.10.0/24
VTEP Agg: 10.200.200.0/24
A Deployment Story – Underlay Routing RP Agg: 10.254.254.0/24
interface loopback0 interface loopback0
ip address 10.10.10.101/32 ip address 10.10.10.201/32
ip router ospf UNDERLAY area 0.0.0.0 ip router ospf UNDERLAY area 0.0.0.0
interface loopback0
router ospf UNDERLAY
ip address 10.10.10.102/32 router ospf UNDERLAY
router-id
ip router 10.10.10.101
ospf UNDERLAY area 0.0.0.0 Spine Spine Spine Spine router-id 10.10.10.201
interface loopback0
interface
router Ethernet1/1
ospf
ip addressUNDERLAY
10.10.10.103/32 interface Ethernet1/1
mturouter-id
9192
ip router10.10.10.102
ospf UNDERLAY area 0.0.0.0 mtu 9192
ip address 10.1.1.1/30
ipinterface
ospf
router network
ospf point-to-point
Ethernet1/1
UNDERLAY
Underlay ip address 10.1.1.2/30
ip ospf network point-to-point
ip mtu
router
9192ospf 10.10.10.103
router-id UNDERLAY area 0.0.0.0 ip router ospf UNDERLAY area 0.0.0.0
ip ip
pimaddress
sparse-mode
10.1.1.5/30 ip pim sparse-mode
… ipinterface
ospf network point-to-pointLeaf
Ethernet1/1 Leaf Leaf Leaf Leaf Leaf Leaf
ip mtu
router
9192ospf UNDERLAY area 0.0.0.0 interface Ethernet1/2
ip ip
pimaddress
sparse-mode
10.1.1.9/30 mtu 9192
… ip ospf network point-to-point ip address 10.1.1.6/30
ip router ospf UNDERLAY area 0.0.0.0 ip ospf network point-to-point
ip pim sparse-mode ip router ospf UNDERLAY area 0.0.0.0
… ip pim sparse-mode
interface Ethernet1/3
Hypervisor Baremetal Hypervisor Hypervisor Baremetal Hypervisor Baremetal Baremetal
mtu 9192
ip address 10.1.1.10/30
ip ospf network point-to-point
ip router ospf UNDERLAY area 0.0.0.0
ip pim sparse-mode
…
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 134
p2p Agg: 10.1.1.0/24
RID Agg: 10.10.10.0/24
VTEP Agg: 10.200.200.0/24
A Deployment Story – Underlay Routing RP Agg: 10.254.254.0/24
interface loopback0 interface loopback0
ip address 10.10.10.202/32 ip address 10.10.10.203/32
ip router ospf UNDERLAY area 0.0.0.0 ip router ospf UNDERLAY area 0.0.0.0
Hypervisor Baremetal
interface
Hypervisor
loopback0
Hypervisor Baremetal Hypervisor Baremetal Baremetal
ip address 10.10.10.101/32
ip router ospf UNDERLAY area 0.0.0.0
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 135
p2p Agg: 10.1.1.0/24
RID Agg: 10.10.10.0/24
VTEP Agg: 10.200.200.0/24
A Deployment Story – Underlay Routing RP Agg: 10.254.254.0/24
interface loopback0 interface loopback0
ip address 10.10.10.202/32 ip address 10.10.10.203/32
ip router ospf UNDERLAY area 0.0.0.0 ip router ospf UNDERLAY area 0.0.0.0
interface loopback0
ip address 10.10.10.102/32
ip router ospf Baremetal
UNDERLAY Hypervisor
area 0.0.0.0
Hypervisor Baremetal
interface
Hypervisor
loopback0
Hypervisor Baremetal Baremetal
ip address 10.10.10.101/32
ip pim rp-address 10.254.254.1
ip router ospf UNDERLAY area 0.0.0.0
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 136
p2p Agg: 10.1.1.0/24
RID Agg: 10.10.10.0/24
VTEP Agg: 10.200.200.0/24
A Deployment Story – Underlay Routing RP Agg: 10.254.254.0/24
interface loopback0 interface loopback0
ip address 10.10.10.202/32 ip address 10.10.10.203/32
ip router ospf UNDERLAY area 0.0.0.0 ip router ospf UNDERLAY area 0.0.0.0
interface loopback0
ip address 10.10.10.103/32
ip router ospf UNDERLAY area 0.0.0.0
interface loopback0
ip address 10.10.10.102/32
ip pim rp-address 10.254.254.1
ip router ospf Baremetal
UNDERLAY Hypervisor
area 0.0.0.0
Hypervisor Baremetal
interface
Hypervisor
loopback0
Hypervisor Baremetal Baremetal
ip address 10.10.10.101/32
ip pim rp-address 10.254.254.1
ip router ospf UNDERLAY area 0.0.0.0
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 137
p2p Agg: 10.1.1.0/24
RID Agg: 10.10.10.0/24
VTEP Agg: 10.200.200.0/24
A Deployment Story – the VTEP RP Agg: 10.254.254.0/24
Underlay
Leaf Leaf Leaf Leaf Leaf Leaf Leaf
interface loopback1
Hypervisor Baremetal
ip address
Hypervisor
10.200.200.101/32
Hypervisor Baremetal Hypervisor Baremetal Baremetal
interface nve1
source-interface loopback1
host-reachability protocol bgp
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 138
p2p Agg: 10.1.1.0/24
RID Agg: 10.10.10.0/24
VTEP Agg: 10.200.200.0/24
A Deployment Story – the VTEP RP Agg: 10.254.254.0/24
Underlay
Leaf Leaf Leaf Leaf Leaf Leaf Leaf
interface loopback1
ip address 10.200.200.102/32
interface loopback1
ip router ospf UNDERLAY area 0.0.0.0
Hypervisor Baremetal
ip address
Hypervisor
10.200.200.101/32
Hypervisor Baremetal Hypervisor Baremetal Baremetal
ip routerinterface
ospf UNDERLAY nve1 area 0.0.0.0
source-interface loopback1
interface nve1 host-reachability protocol bgp
source-interface loopback1
host-reachability protocol bgp
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 139
p2p Agg: 10.1.1.0/24
RID Agg: 10.10.10.0/24
VTEP Agg: 10.200.200.0/24
A Deployment Story – the VTEP RP Agg: 10.254.254.0/24
Underlay
Leaf Leaf Leaf Leaf Leaf Leaf Leaf
interface loopback1
ip address 10.200.200.103/32
interface loopback1
ip router ospf UNDERLAY area 0.0.0.0
ip address 10.200.200.102/32
interface loopback1
ip routerinterface
ospf UNDERLAY nve1 area 0.0.0.0
ip address 10.200.200.101/32
Hypervisor Baremetal Hypervisor Hypervisor
source-interface
Baremetal
loopback1
Hypervisor Baremetal Baremetal
ip routerinterface
ospf UNDERLAY nve1 area 0.0.0.0
host-reachability protocol bgp
source-interface loopback1
interface nve1 host-reachability protocol bgp
source-interface loopback1
host-reachability protocol bgp
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 140
p2p Agg: 10.1.1.0/24
RID Agg: 10.10.10.0/24
VTEP Agg: 10.200.200.0/24
A Deployment Story – Overlay Control-Plane RP Agg: 10.254.254.0/24
router bgp 65500 router bgp 65500
router-id 10.10.10.202 router-id 10.10.10.203
neighbor 10.10.10.0/24 remote-as 65500 neighbor 10.10.10.0/24 remote-as 65500
update-source loopback0 update-source loopback0
address-family l2vpn evpn address-family l2vpn evpn
send-community both send-community both
route-reflector-client Spine Spine Spine Spine
route-reflector-client
Underlay
Leaf Leaf Leaf Leaf Leaf Leaf Leaf
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 141
p2p Agg: 10.1.1.0/24
RID Agg: 10.10.10.0/24
VTEP Agg: 10.200.200.0/24
A Deployment Story – Overlay Control-Plane RP Agg: 10.254.254.0/24
router bgp 65500 router bgp 65500
router-id 10.10.10.202 router-id 10.10.10.203
neighbor 10.10.10.0/24 remote-as 65500 neighbor 10.10.10.0/24 remote-as 65500
update-source loopback0 update-source loopback0
address-family l2vpn evpn address-family l2vpn evpn
send-community both send-community both
route-reflector-client Spine Spine Spine Spine
route-reflector-client
Underlay
Leaf Leaf Leaf Leaf Leaf Leaf Leaf
update-source
neighbor 10.10.10.203 remote-as 65500 loopback0
update-source address-family
loopback0 l2vpn evpn
address-family send-community
l2vpn evpn both
send-community both
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 142
p2p Agg: 10.1.1.0/24
RID Agg: 10.10.10.0/24
VTEP Agg: 10.200.200.0/24
A Deployment Story – Overlay Control-Plane RP Agg: 10.254.254.0/24
router bgp 65500 router bgp 65500
router-id 10.10.10.202 router-id 10.10.10.203
neighbor 10.10.10.0/24 remote-as 65500 neighbor 10.10.10.0/24 remote-as 65500
update-source loopback0 update-source loopback0
address-family l2vpn evpn address-family l2vpn evpn
send-community both send-community both
route-reflector-client Spine Spine Spine Spine
route-reflector-client
Underlay
Leaf Leaf Leaf Leaf Leaf Leaf Leaf
router bgp 65500
router bgp router-id
65500 10.10.10.103
router-id neighbor
10.10.10.102 10.10.10.202 remote-as 65500
router bgp 65500
update-source loopback0
router-id neighbor
10.10.10.101 10.10.10.202 remote-as 65500
update-source address-family
loopback0 l2vpn evpn
neighbor 10.10.10.202 remote-as 65500
address-family send-community both
update-source loopback0 l2vpn evpn
send-communityneighbor 10.10.10.203 remote-as 65500
address-family l2vpn evpn both
neighbor update-source
10.10.10.203 loopback0
remote-as 65500
Hypervisor Baremetal send-community
Hypervisor both
Hypervisor Baremetal Hypervisor Baremetal Baremetal
update-source address-family
loopback0 l2vpn evpn
neighbor 10.10.10.203 remote-as 65500
address-family send-community both
update-source loopback0 l2vpn evpn
address-family l2vpn evpn both
send-community
send-community both
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 143
p2p Agg: 10.1.1.0/24
RID Agg: 10.10.10.0/24
VTEP Agg: 10.200.200.0/24
A Deployment Story – Layer-2 Service RP Agg: 10.254.254.0/24
vlan 100
vn-segment 30001
name Blue
vlan 200
vn-segment 30002
name Green
Spine Spine Spine Spine
evpn
vni 30001
Overlay rd auto
route-target both auto
vni 30002
rd auto
route-target both auto
Leaf Leaf Leaf Leaf Leaf Leaf Leaf
interface nve1
source-interface loopback1
host-reachability protocol bgp
member vni 30001
mcast-group 239.239.239.1
member vni 30002
mcast-group 239.239.239.2
Hypervisor Baremetal Hypervisor Hypervisor Baremetal Hypervisor Baremetal Baremetal
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 144
p2p Agg: 10.1.1.0/24
RID Agg: 10.10.10.0/24
VTEP Agg: 10.200.200.0/24
A Deployment Story – Layer-3 Service RP Agg: 10.254.254.0/24
vlan 2001 vrf context VRF-A
vn-segment 50001 vni 50001
rd auto
interface Vlan2001 address-family ipv4 unicast
mtu 9192 route-target both auto
vrf member VRF-A route-target both auto evpn
ip forward Spine Spine Spine Spine
address-family ipv6 unicast
no ip redirects route-target both auto
route-target both auto evpn
Overlay interface nve1
source-interface loopback1
host-reachability protocol bgp
member vni 50001 associate-vrf
Leaf Leaf Leaf Leaf Leaf Leaf Leaf
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 145
p2p Agg: 10.1.1.0/24
RID Agg: 10.10.10.0/24
VTEP Agg: 10.200.200.0/24
A Deployment Story – First-Hop Gateway RP Agg: 10.254.254.0/24
interface Vlan100 router bgp 65500
mtu 9192 vrf VRF-A
vrf member VRF-A address-family ipv4 unicast
ip address 192.168.1.1/24 tag 21921 advertise l2vpn evpn
fabric forwarding mode anycast-gateway redistribute direct route-map TAG
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 146
p2p Agg: 10.1.1.0/24
RID Agg: 10.10.10.0/24
VTEP Agg: 10.200.200.0/24
A Deployment Story RP Agg: 10.254.254.0/24
interface Ethernet 2/1.10
vrf member VRF-A interface Ethernet 1/15.21
ip address 172.16.0.1/30 vrf member VRF-A
encapsulation dot1q 5 ip address 172.16.0.2/30
encapsulation dot1q 5
interface Ethernet 2/1.20
vrf member VRF-B Spine Spine Spine Spine
interface Ethernet 1/15.22
ip address 172.16.0.1/30 vrf member VRF-B
encapsulation dot1q 6 ip address 172.16.0.2/30
router bgp 65500 Overlay encapsulation dot1q 6
vrf VRF-A router bgp 65599
address-family ipv4 unicast vrf VRF-A
advertise l2vpn evpn address-family ipv4 unicast
Leaf Leaf Leaf Leaf Leaf Leaf Leaf
aggregate-address 10.10.10.0/24 summary-only neighbor 172.16.0.1 remote-as 65500
aggregate-address 192.168.1.0/24 summary-only update-source Ethernet1/15.21
neighbor 172.16.0.1 remote-as 65599 address-family ipv4 unicast
update-source Ethernet2/1.10 …
address-family ipv4 unicast
…
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 147
Summary
Summary
• Multi-Tier Topologies based on Leaf and Spines (aka Clos)
• New paradigm with Hierarchical Overlays
• Overlays (VXLAN) for Network Virtualization
• Different flavors of Overlay Solution (Flood&Learn and BGP EVPN)
• Layer-3 in the Underlay – Defines the Topology
• Layer-2 and Layer-3 in the Overlay – Defines the Services
• End-Points State exists in the Overlay
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public
If you haven’t
had enough
VXLAN BGP
EVPN
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 150
Links & Resources
• VXLAN Multi-Site Intro
• https://blogs.cisco.com/datacenter/vxlan-innovations-vxlan-evpn-multi-site-part-2-of-2
• VXLAN Multi-Site @ Cisco Live online
• https://www.ciscolive.com/global/on-demand-library/?search=BRKDCN-2035#/
• ”eBGP” for EVPN
• https://learningnetwork.cisco.com/blogs/community_cafe/2017/11/02/vxlan-ebgp-evpn-
the-incarnation-of-a-hybrid-guest-post
• Configuration Example
• https://communities.cisco.com/community/technology/datacenter/data-center-
networking/blog/2015/05/19/vxlanevpn-configuration-example
BRKDCN-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 151
Cisco Spark
Questions?
Use Cisco Spark to communicate
with the speaker after the session
How
1. Find this session in the Cisco Live Mobile App
2. Click “Join the Discussion”
3. Install Spark or go directly to the space
4. Enter messages/questions in the space
cs.co/ciscolivebot#BRKDCN-2949
© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public
• Please complete your Online Complete Your Online
Session Evaluations after each
session
Session Evaluation
• Complete 4 Session Evaluations
& the Overall Conference
Evaluation (available from
Thursday) to receive your Cisco
Live T-shirt
• All surveys can be completed via
the Cisco Live Mobile App or the
Communication Stations
Don’t forget: Cisco Live sessions will be available
for viewing on-demand after the event at
www.ciscolive.com/global/on-demand-library/.
© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public
Continue Your Education
• Demos in the Cisco campus
• Walk-in Self-Paced Labs
• Tech Circle
• Meet the Engineer 1:1 meetings
• Related sessions
BRKDCT-2949 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 154
Thank you