Aci 3545
Aci 3545
Aci 3545
Questions?
Use Cisco Webex Teams (formerly Cisco Spark)
to chat with the speaker after the session
How
1 Find this session in the Cisco Events Mobile App
2 Click “Join the Discussion”
3 Install Webex Teams or go directly to the team space
4 Enter messages/questions in the team space
cs.co/ciscolivebot#BRKACI-3545
BRKACI-3545 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 3
Agenda
• Introduction
• ACI Overlay VxLAN and TEP
BRKACI-3545 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 4
Reference Slide
Basic Acronyms/Definitions
VxLAN packet acronyms
Acronyms Definitions
Acronyms Definitions
ACI Application Centric Infrastructure
dXXXo Outer Destination XXX
APIC Application Policy Infrastructure Controller (dIPo = Outer Destination IP)
sXXXo Outer Source XXX
EP Endpoint
(sIPo = Outer Source IP)
EPG Endpoint Group dXXXi Inner Destination XXX
(dIPi = Inner Destination IP)
BD Bridge Domain
sXXXi Inner Source XXX
VRF Virtual Routing and Forwarding (sIPi = Inner Source IP)
COOP Council of Oracle Protocol GIPo Outer Multicast Group IP
BRKACI-3545 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 5
Agenda
• Introduction
• ACI Overlay VxLAN and TEP
BRKACI-3545 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 6
ACI Overlay VxLAN and TEP ※ TEP : Tunnel EndPoint
Anycast
VRF overlay-1 TEP
BRKACI-3545 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 7
ACI Overlay VxLAN and TEP ※ TEP : Tunnel EndPoint
Anycast
VRF overlay-1 TEP
BRKACI-3545 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 8
ACI Overlay VxLAN and TEP
Scenario 3 : source
VRF1
LEAF does NOT know
VRF1
the destinationVRF1
(Spine-Proxy)
BD1 BD1 BD2 BD2 L3OU
T
Scenario 4 : source
EPG1LEAF does NOT know
EPG2 EPG theEPG
destinationEPG
(Flood)
2 3 4
BRKACI-3545 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 9
Source LEAF knows the destination ( on the same LEAF )
Anycast
VRF overlay-1 TEP
BRKACI-3545 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 10
ACI Overlay VxLAN and TEP
Scenario 3 : source
VRF1
LEAF does NOT know
VRF1
the destinationVRF1
(Spine-Proxy)
BD1 BD1 BD2 BD2 L3OU
T
Scenario 4 : source
EPG1LEAF does NOT know
EPG2 EPG theEPG
destinationEPG
(Flood)
2 3 4
BRKACI-3545 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 11
Source LEAF knows the destination ( on the remote LEAF )
Anycast
VRF overlay-1 TEP
BRKACI-3545 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 12
Source LEAF knows the destination ( on the remote LEAF )
VxLAN has VRF or BD VNID
Anycast
VRF overlay-1 TEP
sIPo dIPo
dMACo sMACo VxLAN dMACi sMACi sIPi dIPi
(TEP1) (TEP2)
BRKACI-3545 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 13
Source LEAF knows the destination ( on the remote LEAF )
VxLAN has VRF or BD VNID Anycast TEP is used for proxy
not used in this scenario
Anycast
VRF overlay-1 TEP
3 Forward based on outer IP (dIPo)
sIPo dIPo
dMACo sMACo VxLAN dMACi sMACi sIPi dIPi
(TEP1) (TEP2)
BRKACI-3545 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 14
Source LEAF knows the destination ( on the remote LEAF )
VxLAN has VRF or BD VNID Anycast TEP is used for proxy
not used in this scenario
Anycast
VRF overlay-1 TEP
3 Forward based on outer IP (dIPo)
sIPo dIPo
dMACo sMACo VxLAN dMACi sMACi sIPi dIPi
(TEP1) (TEP2)
4 Decapsulate VxLAN
1 Send to LEAF2 (TEP2)
VRF1 VRF1 VRF1
dMAC sMAC sIP dIP dMAC sMAC sIP dIP
BRKACI-3545 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 15
Source LEAF knows the destination ( on the remote LEAF )
VxLAN has VRF or BD VNID Anycast TEP is used for proxy
not used in this scenario
Anycast
VRF overlay-1 TEP
3 Forward based on outer IP (dIPo)
sIPo dIPo
dMACo sMACo VxLAN dMACi sMACi sIPi dIPi
(TEP1) (TEP2)
4 Decapsulate VxLAN
1 Send to LEAF2 (TEP2)
VRF1 VRF1 VRF1
dMAC sMAC sIP dIP dMAC sMAC sIP dIP
BRKACI-3545 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 16
ACI Overlay VxLAN and TEP
Scenario 3 : source
VRF1
LEAF does NOT know
VRF1
the destinationVRF1
(Spine-Proxy)
BD1 BD1 BD2 BD2 L3OU
T
Scenario 4 : source
EPG1LEAF does NOT know
EPG2 EPG theEPG
destinationEPG
(Flood)
2 3 4
BRKACI-3545 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 17
Source LEAF does NOT know the destination (Spine-Proxy)
Anycast
VRF overlay-1 TEP
BRKACI-3545 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 18
Source LEAF does NOT know the destination (Spine-Proxy)
Anycast
3 VRFIPoverlay-1
Forward based on outer (dIPo) TEP
sIPo dIPo
dMACo sMACo VxLAN dMACi sMACi sIPi dIPi
(TEP1) (acast TEP)
BRKACI-3545 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 19
Source LEAF does NOT know the destination (Spine-Proxy)
4 Lookup dMACi or dIPi with BD or VRF VNID in VxLAN
Anycast
3 VRFIPoverlay-1
Forward based on outer (dIPo) TEP
sIPo dIPo
dMACo sMACo VxLAN dMACi sMACi sIPi dIPi
(TEP1) (acast TEP)
BRKACI-3545 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 20
Source LEAF does NOT know the destination (Spine-Proxy)
4 Lookup dMACi or dIPi with BD or VRF VNID in VxLAN
Anycast
3 VRFIPoverlay-1
Forward based on outer (dIPo) TEP
BRKACI-3545 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 21
Source LEAF does NOT know the destination (Spine-Proxy)
4 Lookup dMACi or dIPi with BD or VRF VNID in VxLAN
Anycast
3 VRFIPoverlay-1
Forward based on outer (dIPo) TEP
6 Decapsulate VxLAN
1 Send to SPINE (Anycast TEP)
VRF1 VRF1 VRF1
dMAC sMAC sIP dIP
dMAC sMAC sIP dIP
BRKACI-3545 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 22
Source LEAF does NOT know the destination (Spine-Proxy)
4 Lookup dMACi or dIPi with BD or VRF VNID in VxLAN
Anycast
3 VRFIPoverlay-1
Forward based on outer (dIPo) TEP
6 Decapsulate VxLAN
1 Send to SPINE (Anycast TEP)
VRF1 VRF1 VRF1
dMAC sMAC sIP dIP
dMAC sMAC sIP dIP
BRKACI-3545 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 23
ACI Overlay VxLAN and TEP
Scenario 3 : source
VRF1
LEAF does NOT know
VRF1
the destinationVRF1
(Spine-Proxy)
BD1 BD1 BD2 BD2 L3OU
T
Scenario 4 : source
EPG1LEAF does NOT know
EPG2 EPG theEPG
destinationEPG
(Flood)
2 3 4
BRKACI-3545 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 24
Source LEAF does NOT know the destination (Flood)
ftag tree
ROOT
VRF overlay-1
ROOT
VRF overlay-1
ROOT
VRF overlay-1
3 Flood based on ftag tree
sIPo GIPo
dMACo sMACo VxLAN dMACi sMACi sIPi dIPi
(TEP1) (mcast TEP)
ROOT
VRF overlay-1
3 Flood based on ftag tree
sIPo GIPo
dMACo sMACo VxLAN dMACi sMACi sIPi dIPi
(TEP1) (mcast TEP)
ROOT
VRF overlay-1
3 Flood based on ftag tree
sIPo GIPo
dMACo sMACo VxLAN dMACi sMACi sIPi dIPi
(TEP1) (mcast TEP) 5 Flood based on ftag tree
ROOT
VRF overlay-1
3 Flood based on ftag tree
sIPo GIPo
dMACo sMACo VxLAN dMACi sMACi sIPi dIPi
(TEP1) (mcast TEP) 5 Flood based on ftag tree
Scenario 3 : source
VRF1
LEAF does NOT know
VRF1
the destinationVRF1
(Spine-Proxy)
BD1 BD1 BD2 BD2 L3OU
T
Scenario 4 : source
EPG1LEAF does NOT know
EPG2 EPG theEPG
destinationEPG
(Flood)
2 3 4
based on EP information
BRKACI-3545 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 31
Agenda
• Introduction
• ACI Overlay VxLAN and TEP
BRKACI-3545 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 32
ACI Forwarding Component 1
• Endpoint
• EPG (EndPoint Group)
• VLAN Type in ACI
• Endpoint Type
• Endpoint Learning
• COOP (Council of Oracle Protocol)
End Point (EP)
What is an EP?
• It stands for hosts, in other words MAC address with IP(s)
sometimes MAC only
IP in EP is always /32
These
Theseare Endpoints
are End Points
Legacy ACI
RIB ( non-/32 & /32 ) RIB ( non /32 )
Forwarding table lookup order
MAC EndPoint ( mac & /32 ip ) 1. EndPoint Table (show endpoint)
2. RIB (show ip route)
ARP ARP (only for L3OUT)
RIB : Routing Information Base
BRKACI-3545 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 34
End Point Group (EPG)
What is an EPG?
• Logical grouping of hosts (EPs)
• Each EPG belongs to a Bridge Domain (BD).
BRKACI-3545 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 35
How to check End Points Fabric Wide
From APIC GUI ( Fabric perspective ) Visibility
shows where EPs are
learned
verification
+-----------------------------------+---------------+-----------------+--------------+-------------+
TK:VRF1 192.168.1.11 tunnel8
17/TK:VRF1 vxlan-15826915 0000.1111.5151 tunnel8
19 vlan-5 0000.0000.5151 L eth1/1 shows how EPs look from
TK:VRF1 vlan-5 192.168.0.51 L eth1/1 each LEAF
BRKACI-3545 36
VLAN types in ACI
※ PI-VLAN : Platform Independent VLAN
VRF1 2293760
VRF1
EP EP EP EP
PI-VLAN for EPG and BD CLI
• Endpoint Table
leaf1# show endpoint ip 192.168.0.51
19 vlan-5 0000.5555.1111 L eth1/1
TK:VRF1 vlan-5 192.168.0.51 L eth1/1
• VLAN Table
NOT Access Encap VLAN.
PI-VLAN 17, 19 “extended” option to display Access Encap VLAN
+----------+---------+-----------------+----------+------+----------+-----------
VLAN ID Type Access Encap Fabric H/W id BD VLAN Endpoint
(Type Value) Encap Count
+----------+---------+-----------------+----------+------+----------+-----------
19 FD vlan 802.1Q 5 8294 14 17 2
BRKACI-3545 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 39
How to check details of EndPoints
With MAC keyword :
show system internal epm endpoint mac 0000.5555.1111
BRKACI-3545 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 40
End Point Types
Legend:
all commands on O - peer-attached
L - local
On-Peer Endpoint
• An endpoint connected to an orphan port on vPC peer
fab1-leaf1# show endpoint ip 192.168.0.52
19 vlan-5 0000.5555.2222 O tunnel8
TK:VRF1 vlan-5 192.168.0.52 O tunnel8 EP
© 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public
End Point Learning (Local EP)
EP
VNID is
BD when L2 traffic
VRF when L3 traffic (not both)
BRKACI-3545 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 43
How to check Tunnel Interface (TEP)
leaf1# show int tunnel 8 | grep Tun
Tunnel8 is up
Tunnel protocol/transport is ivxlan
Tunnel source 11.0.200.92/32 (lo0)
Tunnel destination 11.0.48.95 TEP
TEP IP address
address
Note :
• Normally SPINE doesn’t push COOP DB entries to MAC C
MAC A MAC B
each LEAF. It just receives and stores. The IP A IP B IP C
exception is for bounce entries.
BRKACI-3545 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 45
How to check COOP DB on Spine
fab5-spine2# show coop internal info repo ep key 15826915 0000.5555.1111 | egrep 'vnid|mac|id|Real'
BRKACI-3545 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 46
Bounce Entry
What is Bounce Entry? COOP
COOP Table
Table
MAC/IP A1 -> Leaf1
• a
• Remote EPs created by COOP when • aMAC/IP B -> LEAF 2
• aMAC/IP A2 -> Leaf2
an EP moved • aMAC/IP B1 -> Leaf3
BRKACI-3545 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 51
ACI Forwarding Component 2
• Pervasive Gateway (BD SVI)
• Forwarding mode in BD
Pervasive Gateway(BD SVI)
What is pervasive GW for?
• To be a default GW for EPs in the Fabric
All EPs can have consistent gateway IP
address one hop away
VRF1
VRF1 VRF1 VRF1 5.0.0.254/24
•192.168.0.254/24
a •192.168.0.254/24
a •192.168.0.254/24
a VRF2
•192.168.1.254/24
a •192.168.1.254/24
a •192.168.1.254/24
a 10.0.0.254/24
none
192.168.0.0/24
5.0.0.0/24 192.168.1.0/24
VRF1
VRF1 VRF1 VRF1 5.0.0.254/24
•192.168.0.254/24
a •192.168.0.254/24
a •192.168.0.254/24
a VRF2
•192.168.1.254/24
a •192.168.1.254/24
a •192.168.1.254/24
a 10.0.0.254/24
none
what if no pervasive route, no remote EP? with pervasive route and no remote EP?
5.0.0.0/24
Spine-Proxy Spine-Proxy
192.168.0.0/24 192.168.0.0/24
LEAF 1 itself 192.168.0.254/32 LEAF 1 itself 192.168.0.254/32
BRKACI-3545 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 56
Pervasive Gateway EP-C EP-E
192.168.0.3 5.0.0.1
192.168.0.0/24, ubest/mbest: 1/0, attached, direct, pervasive 192.168.0.0/24, ubest/mbest: 1/0, attached, direct, pervasive
*via 10.0.184.64%overlay-1, [1/0], 04:32:16, static *via 10.0.184.64%overlay-1, [1/0], 04:32:27, static
192.168.0.254/32, ubest/mbest: 1/0, attached 192.168.0.254/32, ubest/mbest: 1/0, attached
*via 192.168.0.254, vlan10, [1/0], 04:32:16, local, local *via 192.168.0.254, vlan10, [1/0], 04:32:27, local, local
5.0.0.0/24, ubest/mbest: 1/0, attached, direct, pervasive
*via 10.0.184.64%overlay-1, [1/0], 00:00:02, static
L103# show ip route vrf TK:VRF1 Exchange pervasive route L103# show ip route vrf TK:VRF1
BRKACI-3545 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 57
ACI Forwarding Component 2
• Pervasive Gateway (BD SVI)
• Forwarding mode in BD
ACI Forwarding Scope Concepts
Need VRF-Leaking
Tenant (Shared-Service)
VRF1 VRF2
L3
L3
BRKACI-3545 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 59
Forwarding Scope
Basic L2/L3 lookup is same as legacy switch
IP Lookup will be done with VRF scope even though
Tenant subnets are configured under BD
scope : VRF-VNID
VRF1 192.168.0.1 -> EP-A 5.0.0.1 -> EP-E
192.168.0.2 -> EP-B 192.168.0.254 -> BD1 SVI
192.168.0.3 -> EP-C 192.168.1.254 -> BD1 SVI
192.168.1.1 -> EP-D 5.0.0.254 -> BD2 SVI
BRKACI-3545 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 60
Forwarding Scope L2 traffic(=same subnet) use only MAC
hence BD lookup only
Tenant
scope : VRF-VNID
VRF1 192.168.0.1 -> EP-A 5.0.0.1 -> EP-E
192.168.0.2 -> EP-B 192.168.0.254 -> BD1 SVI
192.168.0.3 -> EP-C 192.168.1.254 -> BD1 SVI
192.168.1.1 -> EP-D 5.0.0.254 -> BD2 SVI
EP-A (0000.0000.1111) -> EP-B (0000.0000.2222) © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public
Forwarding Scope It’s same even if EPG is different
Tenant
scope : VRF-VNID
VRF1 192.168.0.1 -> EP-A 5.0.0.1 -> EP-E
192.168.0.2 -> EP-B 192.168.0.254 -> BD1 SVI
192.168.0.3 -> EP-C 192.168.1.254 -> BD1 SVI
192.168.1.1 -> EP-D 5.0.0.254 -> BD2 SVI
EP-A (0000.0000.1111) -> EP-C (0000.0000.3333) © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public
Forwarding Scope L3 traffic(=different subnet) use IP Lookup
1. Dst MAC hits default gw svi mac
2. IP Lookup in VRF
Tenant even though EPs are in the same BD
scope : VRF-VNID
VRF1 192.168.0.1 -> EP-A 5.0.0.1 -> EP-E
192.168.0.2 -> EP-B 192.168.0.254 -> BD1 SVI
192.168.0.3 -> EP-C 192.168.1.254 -> BD1 SVI
192.168.1.1 -> EP-D 5.0.0.254 -> BD2 SVI
EP-A (192.168.0.1) -> EP-E (5.0.0.1) © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public
ACI Forwarding Component 2
• Pervasive Gateway (BD SVI)
• Forwarding mode in BD
ACI BD Forwarding Option
• Unicast Routing
• L2 Unkown Unicast
• L3 Unknown Multicast Flooding
• Multi Destination Flooding
• ARP Flooding
EPG1
EP-A EP-B
EPG2
EP-C
EPG3
EP-D
EPG4 EP-E
192.168.0.1 192.168.0.2 192.168.0.3 192.168.1.1 5.0.0.1
0000.0000.1111 0000.0000.2222 0000.0000.3333 0000.1111.1111 0000.5555.5555
BRKACI-3545 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 67
On
ARP Flooding
• ARP Flood On • ARP Flood Off ( = Spine-Proxy)
Tenant Unicast
Tenant to SPINE
target-IP Redirect to
VRF1 L2 Flood ---------- IP Data ---------- VRF1 LOCAL
---------- IP Data ---------- or SPINE
BD1 ARP
--------- MAC Data --------- Req BD2
-- MAC -- BD1 --------- MAC Data --------- BD2
-- MAC --
ARP Req
EPG1 EPG2 EPG3 EPG4 EPG1 EPG2 EPG3 EPG4
EP-A EP-B EP-C EP-D EP-E EP-A EP-B EP-C EP-D EP-E
Always flood ARP Request within the same BD ARP Request is handled as L3 Unicast with Target-IP
EP-A EP-B EP-C EP-D EP-E EP-A EP-B EP-C EP-D EP-E
Always flood L2 Unknown Unicast within the same L2 Unknown Unicast is sent to Spine-Proxy
BD
• Flood as well as legacy VLAN. • If DST-MAC is learned on Spine,
• Flood happens locally and on other Leaf switches. Spine forwards it directly to dest Leaf
• Good option when BD is supposed to be pure L2
without Unicast Routing as in legacy VLAN • If DST-MAC is not learned even on Spine
• Good option when there are silent L2 hosts Drop
※EP IP Data is not used even if Leaf knows DST-IP. L2 Unknown is still L2 traffic.
BRKACI-3545 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 69
L3 Unknown Multicast Flooding
• Flood Flood in ingress LEAF and • OMF (Optimized Multicast Flood)
1st Generation LEAF LEAF with a router-port 1st Generation LEAF only to router-ports
BD1 BD1
EP EP EP EP EP EP EP EP EP EP
querier querier
2nd Generation LEAF Flood 2nd Generation LEAF only to router-ports
BD1 BD1
EP EP EP EP EP EP EP EP EP EP
querier querier
BRKACI-3545 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 70
Multi Destination Flooding This mode does not apply to
OSPF/OSPFv6, BGP, EIGRP, CDP, LACP, LLDP, ISIS,
Flooding mode for L2 multicast, Broadcast and link-local IGMP, PIM, ST-BPDU, ARP/GARP, RARP, ND
Leaf1 Leaf2
BRKACI-3545 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 71
Flood in Encapsulation
BD
EPG
EPG1 EPG2 EPG3 EPG1 EPG2 EPG3 EPG1 EPG2 EPG3 EPG1 EPG2 EPG3
Prior to 3.1 Encap1 Encap2 Encap1 Encap1 Encap2 Encap1 Encap1 Encap2 Encap1 Encap1 Encap2 Encap1
From 3.1 and 2nd generation LEAF, Including OSPF, BGP etc.
all packets are flooded within encapsulation without exceptions
BRKACI-3545 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 72
ACI BD Forwarding Option (cont.)
-- TIPS --
When Unicast Routing is OFF,
ARP Flooding is enabled internally
even though config shows off
leaf1# show vlan | grep TK:BD1
22 TK:BD1 active Eth1/1, Eth1/2
leaf1# vsh_lc -c 'show system internal eltmc info vlan 22 detail' | grep _mode
fwd_mode: bridge
arp_mode: unicast Unicast Routing - Off
hw_arp_mode: flood ARP Flooding - Off
unk_uc_mode: proxy
ARP Flooding in H/W - On
BRKACI-3545 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 74
Spine Proxy Summary
Forward to Forward to Flood Spine Forward to Forward to Spine Forward to
within BD Proxy Drop
local port remote leaf local port remote leaf Proxy Border Leaf
Hardware
Flood
Proxy
Dst IP is
L3OUT Routes?
leaf1# show isis dteps vrf overlay-1 | grep PROXY next-hop of Pervasive Route
10.0.16.65 SPINE N/A PHYSICAL,PROXY-ACAST-MAC is IPv4 Spine Proxy TEP
10.0.16.64 SPINE N/A PHYSICAL,PROXY-ACAST-V4
10.0.16.67 SPINE N/A PHYSICAL,PROXY-ACAST-V6
BRKACI-3545 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 76
ARP Glean (Silent Host Tracking)
What if even SPINE COOP doesn’t know the destination when proxy’ed?
L2 Traffic : Drop
L3 Traffic : ARP Glean
5 Drop
4 No COOP entry Anycast 6 Generates new packets called glean for the unknown IP
VRF overlay-1 TEP
3 Spine Proxy
TEP1 7 LEAFsTEP2
check its BD subnets TEP3
2 Hit Pervasive Route
8 LEAF generates ARP Request 8 LEAF ignores Request from Spine
1 Unicast IP
If BD subnet for the
unknown IP doesn’t present
If BD subnet for the unknown
IP presents on LEAF
BRKACI-3545 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 77
Agenda
• Introduction
• ACI Overlay VxLAN and TEP
BRKACI-3545 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 78
ACI Forwarding Table & Software Architecture
on the Supervisor Engine: APIC
APIC
EPG BD L3OUT Contract
EPM (EndPoint Manager): manages host MAC & IP learning
LEAF
Pervasive Static Routing (ibash, vsh)
Policy Mgr : manages contracts between EPGs or L3OUT.
Route Route Protocol
mac, ip contract
ip
on the Linecards: EPM uRIB Policy Mgr
LEAF
addresses from hardware(dataplane) via HAL EPMc uFIB ACL QoS
APIC
EPG BD L3OUT Contract
EPM show endpoint
show system internal epm ….
SUP
LEAF
uRIB show ip route vrf xxx
Pervasive Static Routing (ibash, vsh)
Policy Mgr show system internal policymgr …. Route Route Protocol
mac, ip contract
ip
on the Linecards: vsh_lc EPM uRIB Policy Mgr
LEAF
EPMc uFIB ACL QoS
BRKACI-3545 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 80
※ LST: Local Station Table, GST: Global Station Table
GST GST
Cisco ASIC
ingress egress
Cloud Scale FP
LST LST CPU Tiles
ASIC
ingress egress
CPU Broadcom
Local EP Dest EP
Learn Lookup
Cloud Cloud
Cisco Cisco TEP Information TEP Information
Scale Scale
ASIC ASIC
ASIC ASIC
BRKACI-3545 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 83
• Logical Topology • Physical Topology
COOP Table
--- empty ---
VRF 1
VRF1 VRF1
BD1 192.168.0.254/24 BD1 192.168.0.254/24
SVI SVI (secondary)
192.168.0.254/24
BD 1 192.168.1.254/24 BD1 192.168.1.254/24 BD1 192.168.1.254/24
Learn EP-A
EP Table EP Table
--- empty --- --- empty ---
ARP ARP
Request Reply
(192.168.0.254)
EP-A EP-B
192.168.0.1 192.168.1.1
0000.0000.1111 0000.0000.2222
BRKACI-3545 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 86
CLI notes (Source learning)
LEAF1# show endpoint ip 192.168.0.1 detail
Legend:
EndPoint Table
O - peer-attached H - vtep a - locally-aged S - static
V - vpc-attached p - peer-aged L - local M - span (= host table)
s - static-arp B - bounce
+--------------------+---------------+-----------------+--------------+-------------+-------------------+
VLAN/ Encap MAC Address MAC Info/ Interface Endpoint Group
Domain VLAN IP Address IP Info Info
+--------------------+---------------+-----------------+--------------+-------------+-------------------+
69 vlan-753 0000.0000.1111 L eth1/11 TK:APP1:EPG1
TK:VRF1 vlan-753 192.168.0.1 L eth1/11
BRKACI-3545 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 87
CLI notes (COOP sync)
LEAF1# show vrf TK:VRF1 detail extended | grep vxlan VRF VNID
Encap: vxlan-2228224
BRKACI-3545 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 89
CLI notes (Destination lookup)
LEAF1# show endpoint ip 192.168.1.1 detail
Legend: EndPoint Table
--- snip --- (= host table)
+---------------------+-------------+-----------------+--------------+-------------+-----------------+
VLAN/ Encap MAC Address MAC Info/ Interface Endpoint Group
Domain VLAN IP Address IP Info Info
+---------------------+-------------+-----------------+--------------+-------------+-----------------+
<----- no output ----->
LEAF1# show vrf TK:VRF1 detail extended | grep vxlan VRF VNID
Encap: vxlan-2228224
COOP on
LEAF1# show coop internal info ip-db key 2228224 192.168.1.1 SPINE
BRKACI-3545 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 91
1. ARP Request to default GW
COOP Table
1. ARP Req is sent out to GW (192.168.0.254)
192.168.0.1 EP-B Data is 2. LEAF1 learns src IP/MAC from ARP.
0000.0000.1111 notified by LEAF2 Leaf1 notify that to Spine COOP
-> LEAF 1
3. LEAF1 sends ARP reply to EP-A.
VRF1
2. ICMP from EP-A to EP-B (192.168.1.1)
BD1 192.168.0.254/24
1. Dst MAC is ACI MAC (BD SVI router-mac)
BD1 192.168.1.254/24 L3 Lookup within VRF
EP Table 2. LEAF1 doesn’t know 192.168.1.1 but knows
192.168.0.1 Learn EP-B it’s subnet (192.168.1.0/254)
0000.0000.1111 EP Table Spine-Proxy
-> eth 1/11 ARP Glean --- empty --- 3. Spine COOP lookup
1. COOP doesn’t know 192.168.1.1 either
drop
ARP Request ARP Reply 4. ARP Glean for 192.168.1.1 to each LEAFs
(192.168.1.1) 1. LEAF1 and LEAF2 has a BD with
EP-B 192.168.1.0/24 subnet
EP-A
192.168.1.1 Both LEAFs generates an ARP Request for
192.168.0.1
0000.0000.2222 192.168.1.1 out of ports on the BD
0000.0000.1111
2. EP-B sends ARP Reply to LEAF2
ARP Table ARP Table 3. LEAF2 learns EP-B IP/MAC
192.168.0.254 -> ACI MAC --- empty --- LEAF2 notifies that to Spine COOP
BRKACI-3545 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 92
CLI notes (LEAF2 VLAN/EPG/BD programming)
LEAF2# show vlan id 10 extended
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
10 TK:APP1:EPG2 active Eth1/11
VLAN and
VLAN Type Vlan-mode Encap I/F mapping
---- ----- ---------- -------------------------------
10 enet CE vlan-754
BRKACI-3545 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 93
CLI notes (LEAF2 Source learning)
LEAF2# show endpoint ip 192.168.1.1 detail
Legend:
EndPoint Table
O - peer-attached H - vtep a - locally-aged S - static
V - vpc-attached p - peer-aged L - local M - span (= host table)
s - static-arp B - bounce
+--------------------+---------------+-----------------+--------------+-------------+-------------------+
VLAN/ Encap MAC Address MAC Info/ Interface Endpoint Group
Domain VLAN IP Address IP Info Info
+--------------------+---------------+-----------------+--------------+-------------+-------------------+
10 vlan-754 0000.0000.2222 L eth1/11 TK:APP1:EPG2
TK:VRF1 vlan-754 192.168.1.1 L eth1/11
BRKACI-3545 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 94
4. EP-A sends 2nd ICMP to EP-B (192.168.1.1)
COOP Table 1. Dst MAC is ACI MAC (BD SVI router-mac)
192.168.0.1 192.168.1.1
L3 Lookup within VRF
0000.0000.1111 0000.0000.2222
2. LEAF1 still doesn’t know 192.168.1.1 but knows
-> LEAF 1 -> LEAF 2
it’s subnet (192.168.1.0/254)
Spine-Proxy
Spine knows VRF1 5. Spine COOP lookup for 2nd ICMP
192.168.1.1 BD1 192.168.0.254/24 1. Now COOP knows 192.168.1.1
BD1 192.168.1.254/24 2. Spine sends it to Leaf2
EP Table EP Table
192.168.0.1 192.168.1.1
0000.0000.1111 0000.0000.2222
-> eth 1/11 -> eth 1/11
Proxy
2nd ICMP
(192.168.1.1)
EP-A EP-B
192.168.0.1 192.168.1.1
0000.0000.1111 0000.0000.2222
BRKACI-3545 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 95
4. EP-A sends 2nd ICMP to EP-B (192.168.1.1)
COOP Table 1. Dst MAC is ACI MAC (BD SVI router-mac)
192.168.0.1 192.168.1.1
L3 Lookup within VRF
0000.0000.1111 0000.0000.2222
2. LEAF1 still doesn’t know 192.168.1.1 but knows
-> LEAF 1 -> LEAF 2
it’s subnet (192.168.1.0/254)
Spine-Proxy
VRF1 5. Spine COOP lookup for 2nd ICMP
BD1 192.168.0.254/24 1. Now COOP knows 192.168.1.1
BD1 192.168.1.254/24 2. Spine sends it to Leaf2
EP Table EP Table
192.168.0.1 192.168.1.1 6. LEAF2 learns EP-A as a remote EP
0000.0000.1111 0000.0000.2222 The packet is routed = sent out with VRF
-> eth 1/11 Learn -> eth 1/11 VNID.
EP-A IP Only IP is learned
7. LEAF2 sends it out to EP-B
EP-A EP-B
192.168.0.1 192.168.1.1
0000.0000.1111 0000.0000.2222
BRKACI-3545 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 96
CLI notes (remote EP learning)
LEAF2# show endpoint vrf TK:VRF1 detail
Legend: Learn Remote EP
--- snip ---
+-------------------------+---------------+-----------------+--------------+-------------+-------------------+
VLAN/ Encap MAC Address MAC Info/ Interface Endpoint Group
Domain VLAN IP Address IP Info Info
+-------------------------+---------------+-----------------+--------------+-------------+-------------------+
TK:VRF1 192.168.0.1 tunnel11
10 vlan-754 0000.0000.2222 L eth1/11 TK:APP1:EPG2
TK:VRF1 vlan-754 192.168.1.1 L eth1/11
ELAM Assistant
• You can perform ELAM like a TAC
engineer!
• With a nicely formatted result report
Detail Explanations:
• https://aciappcenter.cisco.com/elam-assistant-beta-2-
2-1n.html
How to use video, pictures
A download link for ELAM Assistant
• https://learningnetwork.cisco.com/docs/DOC-34985
ACI webinar for ELAM Assistant
BRKACI-3545 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 103
ELAM Assistant in ACI AppCenter (example)
1. Perform ELAM
Set Parameters
Triggered!!
BRKACI-3545 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 104
ELAM Assistant in ACI AppCenter (example)
2. Read a report
Zoom
© 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public
Cisco Webex Teams
Questions?
Use Cisco Webex Teams (formerly Cisco Spark)
to chat with the speaker after the session
How
1 Find this session in the Cisco Events Mobile App
2 Click “Join the Discussion”
3 Install Webex Teams or go directly to the team space
4 Enter messages/questions in the team space
cs.co/ciscolivebot#BRKACI-3545
BRKACI-3545 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 106
Complete your online
session survey
• Please complete your Online Session
Survey after each session
• Complete 4 Session Surveys & the Overall
Conference Survey (available from
Thursday) to receive your Cisco Live T-
shirt
• All surveys can be completed via the Cisco
Events Mobile App or the Communication
Stations
BRKACI-3545 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 107
Continue Your Education
BRKACI-3545 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 108
Thank you