Building DC With VxLAN EVPN Overlay
Building DC With VxLAN EVPN Overlay
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
© 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public
Session Reference
• BRKDCN-2304
• L4-L7 Service Integration in Multi-Tenant VXLAN EVPN Data Center Fabrics
• BRKDCN-2035
• VXLAN BGP EVPN based Multi-Pod, Multi-Fabric, Multi-Site
• BRKDCN-2125
• Overlay Management and Visibility with VXLAN
• Thursday, Jun 29, 10:30 am
• BRKDCN-2342
• Programmable Fabric Automation and Management with DCNM 10
• Thursday, Jun 29, 1:00 p.m.
BRKDCN-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 4
Agenda
• Introduction to Data Center Fabrics
• Leaf, Spine, Super-Spine (CLOS)
• Overlay
• Underlay
© 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public
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-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 7
VXLAN Evolves as the Control Plane Evolves!
Back Then
Yet Another Encapsulation
Flood & Learn (Multicast-based)
Data-Plane only Yesterday
VXLAN for the Data Center – Intra-DC
Control-Plane
Active VTEP Discovery
Multicast and Unicast
BRKDCN-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 8
Agenda
• Introduction to Data Center Fabrics
• Leaf, Spine, Super-Spine (CLOS)
• Overlay
• Underlay
© 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public
The Leaf / Spine Topology (Clos* Network)
• High Redundancy
• On Node or Link Failure
*Clos, Charles (1953) "A study of non-blocking switching networks" BRKDCN-3378 © 2017 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-3378 © 2017 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-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 12
The Super-Spine
SuperSpine
• Scale Out
SuperSpine SuperSpine
POD 1 POD 2
BRKDCN-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 13
Data Center Fabric Properties
BRKDCN-3378 © 2017 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-3378 © 2017 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
© 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public
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-3378 © 2017 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-3378 © 2017 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-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 20
Agenda
• Introduction to Data Center Fabrics
• Leaf, Spine, Super-Spine (CLOS)
• Overlay
• Underlay
© 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public
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-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 22
Interface Principles
*NVE: Network Virtualization Edge BRKDCN-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 23
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-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 25
Some Math – IP Addressing Principles (P2P)
BRKDCN-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 26
Simplifying the Math – IP Unnumbered
BRKDCN-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 27
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-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 28
Unicast Routing – BGP
BRKDCN-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 29
Unicast Routing – eBGP Two-AS Model
All-Spine AS#65500
• eBGP Two-AS, yes it works!
Spine Spine Spine Spine
BRKDCN-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 30
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-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 31
Unicast Routing – eBGP Model
BRKDCN-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 32
Unicast Routing – Why two different BGP Peering?
1) Interface Down – BGP Down
BGP Peering
Spine (IPv4/IPv6)
BGP Peering
(IPv4/IPv6)
Leaf Leaf
AS#65500
Spine
BRKDCN-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 33
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-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 34
Unicast Routing – Why two different BGP Peering?
1) Interface Down – BGP Down
Spine
BGP Peering
2) Interface Down – BGP Not Down (EVPN)
Leaf Leaf
AS#65500
Spine
BRKDCN-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 35
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-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 36
Unicast Routing – Why two different BGP Peering?
1) Interface Down – BGP Down
Spine
2) Interface Down – BGP Not Down
5 192.168.10.0/24
Spine
Next-Hop:
2 0000.3001.1101
10.200.200.102
2 0000.3001.1101, 192.168.10.101
*RNH: Recursive Next-Hop BRKDCN-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 37
Unicast Routing – Why two different BGP Peering?
1) Interface Down – BGP Down
Spine
2) Interface Down – BGP Not Down
5 192.168.10.0/24
Spine
Next-Hop:
2 0000.3001.1101
10.200.200.102
2 0000.3001.1101, 192.168.10.101
*RNH: Recursive Next-Hop BRKDCN-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 38
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-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 39
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-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 40
Underlay - Multicast Routing and Rendezvous-Point
• RP Redundancy • RP Redundancy
• PIM Anycast-RP or MSDP • Phantom-RP
BRKDCN-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 41
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-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 42
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-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 43
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-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 44
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-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 48
Underlay – Ingress Replication
• A Packet Multiplication
• EVPN assists no Peer, VNI Topology
Spine Spine Spine Spine
BRKDCN-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 49
VXLAN with BGP EVPN
Agenda
• Introduction to Data Center Fabrics
• Leaf, Spine, Super-Spine (CLOS)
• Overlay
• Underlay
© 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public
What is … ?
• VXLAN • EVPN
• Standards based Encapsulation • Standards based Control-Plane
• RFC 7348 • RFC 7432
• Uses UDP-Encapsulation • Uses Multiprotocol BGP
BRKDCN-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 52
Introducing Ethernet VPN (EVPN)
BRKDCN-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 53
VXLAN and EVPN related RFCs & Drafts (IETF)
ID Title Category
BRKDCN-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 54
Multiprotocol BGP (MP-BGP) Primer
Spine
Leaf Leaf
AS#65500
Spine
BRKDCN-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 55
Multiprotocol BGP (MP-BGP) Primer
BRKDCN-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 56
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-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 57
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
Spine
BRKDCN-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 58
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-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 59
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
Leaf Leaf
AS#65500
Spine
BRKDCN-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 60
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-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 61
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 route-target export auto
Leaf Leaf
AS#65500
Spine
BRKDCN-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 62
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-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 63
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
101010110101
01010101010 AS#65500
Spine
BRKDCN-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 64
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-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 65
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
Next-Hop:
Spine 5 192.168.10.0/24
10.200.200.101
BRKDCN-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 66
EVPN - Host and Subnet Route Distribution
• Host Route Distribution
RR RR decoupled from the Underlay
Spine Spine Spine Spine
protocol
BRKDCN-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 67
EVPN Control Plane - Host and Subnet Routes
• BGP EVPN NLRI*
*NLRI: Network Layer Reachability Information (BGP Update Format) BRKDCN-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 68
Host Advertisements
Type MAC / Length L2VNI / RT IP / Length L3VNI / RT Next-Hop Seq.
*L2VNI: VNI for all Bridging operation (”VLAN-VNI”) BRKDCN-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 69
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-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 70
Host Advertisements
Type MAC / Length L2VNI / RT IP / Length L3VNI / RT Next-Hop Seq.
Router MAC
*L3VNI: VNI for all Routing operation (”VRF-VNI”) BRKDCN-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 71
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-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 72
Subnet Route Advertisements
Type IP / Length L3VNI / RT Next-Hop Seq.
Router MAC
BRKDCN-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 73
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-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 74
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-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 75
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-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 76
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-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 77
No Path Diversity
Spine
Leaf Leaf
101010110101010
10101010
Baremetal
AS#65500 Baremetal
Spine
BRKDCN-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 78
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-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 79
Introducing VXLAN – Entropy
Spine
VTEP VTEP
101010110101010
10101010
Baremetal
AS#65500 Baremetal
Spine
BRKDCN-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 80
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-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 81
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-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 82
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-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 83
EVPN Layer-2 Services (1)
• Per EVI BGP Route Distinguisher / Router Target per EVI / VNI
• BGP Route-Target constrain mechanism to limit propagation (import/export)
• 1:1:1 mapping
• VNI to EVI to Single Broadcast
Domain (Bridge Domain)
• Ethernet Tag ID must be 0
VID = VLAN ID
VNI = VXLAN Network Identifier
EVI = EVPN Virtual Instance BRKDCN-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 84
EVPN Layer-2 Services (1)
(draft-ietf-bess-evpn-overlay – Section 5.1.2)
• VLAN-based
VID
VNI EVI
10
VID = VLAN ID
VNI = VXLAN Network Identifier
EVI = EVPN Virtual Instance BRKDCN-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 86
EVPN Layer-2 Services (1)
(draft-ietf-bess-evpn-overlay – Section 5.1.2)
• VLAN-based
VID
VNI EVI
10
VID = VLAN ID
VNI = VXLAN Network Identifier
EVI = EVPN Virtual Instance BRKDCN-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 87
EVPN Layer-2 Services (2)
(draft-ietf-bess-evpn-overlay – Section 6.1)
• VLAN-based
[2]:[0]:[0]:[48]:[0050.569f.d495]:[32]:[192.168.22.33]
VID
VNI EVI
10
VID = VLAN ID
VNI = VXLAN Network Identifier
EVI = EVPN Virtual Instance BRKDCN-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 88
EVPN Layer-2 Services (2)
(draft-ietf-bess-evpn-overlay – Section 6.1)
• VLAN-based
[2]:[0]:[0]:[48]:[0050.569f.d495]:[32]:[192.168.22.33]
VID
VNI EVI
10
VID = VLAN ID
VNI = VXLAN Network Identifier
EVI = EVPN Virtual Instance BRKDCN-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 89
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-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 91
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-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 92
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-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 93
EVPN IP-VRF Services (1)
• Interface-Less Model
• Route-Type 5 only
• Next-Hop is remote VTEP
• Two extended communities
• Encapsulation Extended
Community
• Router’s MAC Address (remote
VTEP)
• Interface-Less
VTEP VTEP
[5]:[0]:[0]:[24]:[192.168.22.0]:[0.0.0.0]
BGP 10.22.22.34 (Next-Hop)
Update Encap:8 (VXLAN)
Router MAC:0200.0ade.de22
BRKDCN-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 96
EVPN IP-VRF Services (2)
(draft-ietf-bess-evpn-prefix-advertisement – Section 5.4.1)
• Interface-Less
VTEP VTEP
[5]:[0]:[0]:[24]:[192.168.22.0]:[0.0.0.0]
BGP 10.22.22.34 (Next-Hop)
Update Encap:8 (VXLAN)
Router MAC:0200.0ade.de22
BRKDCN-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 97
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-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 102
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-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 103
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-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 104
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-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 105
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-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 106
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-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 107
Agenda
• Introduction to Data Center Fabrics
• Leaf, Spine, Super-Spine (CLOS)
• Overlay
• Underlay
© 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public
What is Multi-Tenancy ?
BRKDCN-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 109
Layer-2 Multi-Tenancy – Bridge Domains
• Bridge Domain
• Layer-2 Segment from End-Point
Spine Spine Spine Spine
to End-Point
BRKDCN-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 110
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-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 111
Agenda
• Introduction to Data Center Fabrics
• Leaf, Spine, Super-Spine (CLOS)
• Overlay
• Underlay
© 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public
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-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 113
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-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 114
Anycast – One-to-Nearest Association
*L3VNI: VNI for all Routing operation (”VRF-VNI”) BRKDCN-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 115
Symmetric or Asymmetric IRB
V1 V2 V1 V2
MA MA
MAC IP IP MAC MAC IP IP MAC
C C
Bridge Bridge
BRKDCN-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 117
EVPN IRB Services (2)
(draft-ietf-bess-evpn-inter-subnet-forwarding – Section 4 and 5)
MA MA MA MA
IP IP IP IP
C C C C
Bridge -> Route -> Route -> Bridge Bridge -> Route -> Bridge
BRKDCN-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 118
EVPN IRB Services (3)
(draft-ietf-bess-evpn-inter-subnet-forwarding – Section 5.1)
• Symmetric IRB
VNI 50000 (L3VNI)
V1 V2
MA MA
IP IP
C C
192.168.22.33 192.168.33.44
[2]:[0]:[0]:[48]:[0050.569f.d495]:[32]:[192.168.33.44]
BGP 10.22.22.34 (Next-Hop)
Update L2VNI: 30000
L3VNI: 50000
BRKDCN-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 119
EVPN IRB Services (3)
(draft-ietf-bess-evpn-inter-subnet-forwarding – Section 5.1)
• Symmetric IRB
VNI 50000 (L3VNI)
V1 V2
MA MA
IP IP
C C
192.168.22.33 192.168.33.44
[2]:[0]:[0]:[48]:[0050.569f.d495]:[32]:[192.168.33.44]
BGP 10.22.22.34 (Next-Hop)
Update L2VNI: 30000
L3VNI: 50000
BRKDCN-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 120
EVPN IRB Services (4)
(draft-ietf-bess-evpn-inter-subnet-forwarding – Section 4.1)
MA MA MA MA
IP IP IP IP
C C C C
BRKDCN-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 121
EVPN IRB Services (4)
(draft-ietf-bess-evpn-inter-subnet-forwarding – Section 4.1)
MA MA MA MA
IP IP IP IP
C C C C
BRKDCN-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 122
EVPN IRB Services (5)
BRKDCN-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 123
Agenda
• Introduction to Data Center Fabrics
• Leaf, Spine, Super-Spine (CLOS)
• Overlay
• Underlay
© 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public
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-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 129
VPC Gateway Redundancy – A VXLAN perspective
Both sharing an
Overlay Anycast VTEP
VPC
VTEP VTEP
Baremetal
BRKDCN-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 130
VPC Gateway Redundancy – A VXLAN perspective
Overlay
VPC
BRKDCN-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 131
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
101010110101 101010110101
01010101010 01010101010
BRKDCN-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 132
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-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 133
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-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 134
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-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 135
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-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 136
VPC Gateway Redundancy – A VXLAN perspective
BRKDCN-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 137
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-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 138
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-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 139
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-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 140
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-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 141
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-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 142
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-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 143
Agenda
• Introduction to Data Center Fabrics
• Leaf, Spine, Super-Spine (CLOS)
• Overlay
• Underlay
© 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public
What is the Elephant in the Room?
BRKDCN-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 145
Note sure if it is a Elephant
VXLAN for Interconnecting Networks
BRKDCN-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 146
VXLAN Evolves as the Control Plane Evolves!
Back Then
Yet Another Encapsulation
Flood & Learn (Multicast-based)
Data-Plane only Yesterday
VXLAN for the Data Center – Intra-DC
Control-Plane
Active VTEP Discovery Now!
Multicast and Unicast
VXLAN for DCI – Inter-DC
DCI Ready
ARP/ND caching/suppress
Multi-Homing
Failure Domain Isolation
Loop Protection
BRKDCN-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 147
Single Fabric
Inter-X Connectivity with End-to-End
Encapsulation
BRKDCN-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 148
Inter-X Connectivity
Multi-Pod Multi-Fabric Multi-Site
BRKDCN-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 149
Multi-Pod (using Border Leaf)
Underlay Extension
VTEP VTEP VTEP VTEP
VTEP VTEP
10.1.1.1 VTEP VTEP VTEP VTEP VTEP VTEP VTEP VTEP VTEP VTEP VTEP VTEP VTEP
10.2.2.7
VTEP
Pod 1 Pod n
Baremetal Baremetal
BRKDCN-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 150
Multi-Pod (using Super-Spine)
SuperSpine
SuperSpine SuperSpine
Underlay Extension
VTEP VTEP
10.1.1.1 VTEP VTEP VTEP VTEP VTEP VTEP VTEP VTEP VTEP VTEP VTEP VTEP VTEP
10.2.2.7
VTEP
Pod 1 Pod n
Baremetal Baremetal
BRKDCN-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 151
Multi-Pod Characteristics – ”The Single”
BRKDCN-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 152
Multi-Fabric
L2 DCI
Overlay Fabric 1
Spine Spine Spine Spine Overlay Fabric n
Spine Spine Spine Spine
VTEP VTEP VTEP VTEP VTEP VTEP VTEP VTEP VTEP VTEP VTEP VTEP VTEP VTEP
Fabric 1 Fabric n
Baremetal Baremetal
BRKDCN-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 153
Multi-Fabric Characteristics – ”The Separate”
BRKDCN-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 154
Multi-Site
Overlay Multi-Site
No Underlay Extension
VTEP VTEP VTEP VTEP
VTEP VTEP VTEP VTEP VTEP VTEP VTEP VTEP VTEP VTEP VTEP VTEP VTEP VTEP
Site 1 Site n
Baremetal Baremetal
BRKDCN-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 155
Multi-Site Characteristics – ”The Multiple”
BRKDCN-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 156
Multi-Site Advantages – ”The Multiple”
BRKDCN-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 157
Summary
Summary
• Multi-Tier Topologies based on Leaf and Spines (aka Clos)
• Overlays (VXLAN) for Network Virtualization
• 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-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public
Complete Your Online
Session Evaluation
• Give us your feedback to be
entered into a Daily Survey
Drawing. A daily winner will
receive a $750 gift card.
• Complete your session surveys
through the Cisco Live mobile
app or on www.CiscoLive.com/us.
© 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public
Continue Your Education
• Demos in the Cisco campus
• Walk-in Self-Paced Labs
• Lunch & Learn
• Meet the Engineer 1:1 meetings
• Related sessions
BRKDCN-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 161
Thank you
Agenda
• Introduction to Data Center Fabrics
• Leaf, Spine, Super-Spine (CLOS)
• Overlay
• Underlay
© 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public
A Deployment Story
Story #1: Scalable Data Center Fabric
BRKDCN-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 166
p2p Agg: 10.1.1.0/24
RID Agg: 10.10.10.0/24
A Deployment Story VTEP Agg: 10.200.200.0/24
RP Agg: 10.254.254.0/24
Underlay
Leaf Leaf Leaf Leaf Leaf Leaf Leaf
BRKDCN-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 167
p2p Agg: 10.1.1.0/24
RID Agg: 10.10.10.0/24
A Deployment Story VTEP Agg: 10.200.200.0/24
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-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 168
p2p Agg: 10.1.1.0/24
RID Agg: 10.10.10.0/24
A Deployment Story VTEP Agg: 10.200.200.0/24
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-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 169
p2p Agg: 10.1.1.0/24
RID Agg: 10.10.10.0/24
A Deployment Story VTEP Agg: 10.200.200.0/24
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-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 170
p2p Agg: 10.1.1.0/24
RID Agg: 10.10.10.0/24
A Deployment Story VTEP Agg: 10.200.200.0/24
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-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 171
p2p Agg: 10.1.1.0/24
RID Agg: 10.10.10.0/24
A Deployment Story VTEP Agg: 10.200.200.0/24
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-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 172
p2p Agg: 10.1.1.0/24
RID Agg: 10.10.10.0/24
A Deployment Story VTEP Agg: 10.200.200.0/24
RP Agg: 10.254.254.0/24
interface Vlan100 vrf context VRF-A
mtu 9192 vni 50001
vrf member VRF-A rd auto
ip address 192.168.1.1/24 tag 21921 address-family ipv4 unicast
fabric forwarding mode anycast-gateway route-target both auto
route-target both auto evpn
interface Vlan200 Spine Spine Spine Spine
address-family ipv6 unicast
mtu 9192 route-target both auto
vrf member VRF-A route-target both auto evpn
ip address 10.10.10.1/24 tag 21921
fabric forwarding mode anycast-gateway Overlay interface nve1
source-interface loopback1
host-reachability protocol bgp
member vni 50001 associate-vrf
Leaf Leaf Leaf Leaf Leaf Leaf Leaf
BRKDCN-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 173
p2p Agg: 10.1.1.0/24
RID Agg: 10.10.10.0/24
A Deployment Story VTEP Agg: 10.200.200.0/24
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-3378 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 174