Professional Documents
Culture Documents
ACI Troubleshooting Multipod
ACI Troubleshooting Multipod
ACI Troubleshooting Multipod
Multipod
BRKACI-2934
Cisco Webex Teams
Questions?
Use Cisco Webex Teams 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
© 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public
Agenda
• Introduction
• Multipod Overview
• Troubleshooting the Multipod Setup Process
• Troubleshooting Unicast Flows
• Troubleshooting Multi-destination Flows
• Troubleshooting External Routed Communication
• Quality of Service
• Conclusion
BRKACI-2934 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 4
Acronyms/Definitions
Acronyms Definitions Acronyms Definitions
ACI Application Centric Infrastructure MDT Multicast Distribution Tree
ACL Access Control List MST Multiple Spanning Tree
APIC/IFC Application Policy Infrastructure OSPF Open Shortest Path First Protocol
Controller/ Insieme Fabric Controller
BD Bridge Domain pcTag Policy Control Tag
COOP Council of Oracle Protocol PIM Protocol Independent Multicast
ECMP Equal Cost Multipath PL Physical Local
EP Endpoint SVI Switch Virtual Interface
BRKACI-2934 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 5
Multipod Overview
Feature Evolution
I said no marketing…why is this necessary?
BRKACI-2934 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 7
Feature Evolution – Classic ACI
Spine Spine
• VXLAN TEP reachability
Single ISIS
learned through ISIS
Fabric COOP
MPBGP • Endpoint Repo on Spines
handled by COOP
• MP-BGP to distribute
Leaf Leaf Leaf Leaf external routes through fabric
BRKACI-2934 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 8
Feature Evolution
What if ACI must be extended to other locations?
BRKACI-2934 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 9
Feature Evolution – Stretched Fabric
Single
Fabric
BRKACI-2934 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 10
Feature Evolution – Stretched Fabric
• Transit leafs connect to all spines
• COOP, ISIS, and BGP extended across locations
Not scalable
BRKACI-2934 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 11
Feature Evolution – Multipod
IPN
OSPF,PIM
• Single Fabric Extended
BGP VPNv4/EVPN • Each pod is local
Spine Spine Spine Spine
instance of ISIS and
ISIS Pod2 ISIS COOP
Pod1
COOP COOP
• Inter-pod connectivity
MPBGP MPBGP
through IPN
• Inter-pod BUM uses
Leaf Leaf Leaf Leaf Leaf Leaf PIM-Bidir
• BGP between pods to
share endpoints and
external routes
APIC APIC APIC
BRKACI-2934 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 12
IPN Requirements
❑OSPF
❑DHCP relay
❑Jumbo MTU (9150 Bytes)
❑Routed Subinterfaces
❑PIM Bidir with at least /15 Mask
❑QoS (optional)
BRKACI-2934 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 13
Troubleshooting
Multipod Setup
Multipod Setup Overview
BRKACI-2934 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 15
Multipod Setup Process
Setting up Pod 1 (Seed Pod)
BRKACI-2934 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 16
Multipod Setup Process
➢ Configure
Addressing for
Pod 1 Spine > IPN
connection
BRKACI-2934 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 17
Multipod Setup Process
➢ Configure OSPF
parameters for
Pod 1 Spine > IPN
connection
BRKACI-2934 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 18
Multipod Setup Process
➢ Configure
Dataplane TEP
BRKACI-2934 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 19
Multipod Setup Process
➢ Review POD1
configurations
BRKACI-2934 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 20
Multipod Setup Process
After setting up Seed Pod (Pod 1)…
BRKACI-2934 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 21
Multipod Setup Process
Setting up Pod 2
BRKACI-2934 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 22
Multipod Setup Process
➢ Configure OSPF
parameters
BRKACI-2934 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 23
Multipod Setup Process
➢ Configure
Dataplane TEP for
Pod 2
BRKACI-2934 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 24
Where to find the less-known MPOD configurations?
Dataplane TEPs
from Setup
BRKACI-2934 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 25
Multipod Setup Process
➢ POD 2 Spines
should now be
discoverable
BRKACI-2934 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 26
IPN Remote Pod Discovery
DISCOVER
APIC APIC
BRKACI-2934 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 27
IPN Remote Pod Discovery
Pod1 Pod2
2. IP Address from
Multipod l3out is
assigned.
OFFER
APIC APIC
BRKACI-2934 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 28
What’s in the
DHCP OFFER?
• IP address from L3out Pod2 Facing IPN
IP address (relay)
interface profile
assigned
• Gateway is next-hop
for default route
Offered IP (From l3out
• Bootstrap file interface profile)
communicates
location of l3out Directory on APIC from which Spine downloads full
Config l3out configuration *full directory is
/firmware/fwrepos/fwrepo/boot/bootstrap-202.xml
BRKACI-2934 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 29
IPN Remote Pod Discovery
Pod1 Pod2
3. Spine configures
static default route
for APIC reachability
with NH of IPN.
Leaf Leaf Leaf pod2-spine2# vsh -c "show ip route 0.0.0.0/0 vrf overlay-1"
IP Route Table for VRF "overlay-1"
'[x/y]' denotes [preference/metric]
'%<string>' in via output denotes VRF <string>
BRKACI-2934 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 30
IPN Remote Pod Discovery
switch# moquery -c topSystem
# top.System
address : 0.0.0.0
Spine Spine Spine Spine
bootstrapState : downloading-bootstrap-config
role : spine
Pod1 Pod2
4. Spine downloads
bootstrap XML from
APIC which contains
l3out configuration
Leaf Leaf Leaf
pod1-apic1# grep bootstrap /var/log/dme/log/access.log
BRKACI-2934 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 31
IPN Remote Pod Discovery
Lo0
DISCOVER
Spine Spine Spine Spine
Pod1 Pod2
5. Spine acts as self
relay for TEP DHCP
request
6. TEP address from
Leaf Leaf Leaf POD2 pool is
assigned
OFFER
APIC APIC
BRKACI-2934 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 32
IPN Remote Pod Discovery
LLDP
Pod1 Pod2
7. Pod2 Leafs
discovered through
normal process
(LLDP/DHCP)
Leaf Leaf Leaf Leaf Leaf Leaf
APIC APIC
BRKACI-2934 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 33
IPN Remote Pod Discovery
Pod1 Pod2
8. Pod2 APIC(s) join
cluster
*Non-seed pod APICs
still use Pod1 TEP Pool!
Leaf Leaf Leaf Leaf Leaf Leaf
BRKACI-2934 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 34
Common Multipod Discovery Problems
Issue #1: Pod2 Spines Don’t Receive L3out IP or Config
Possible Causes
1. DHCP Relays on IPN point to APIC OOB rather than infra
✓Configure Relays to point to infra (show controller on APICs)
2. IPN doesn’t have route to APICs
✓Check that OSPF is up between IPN and Pod1
3. Miscabling results in Spine receiving IP in different subnet than GW
✓Correct cabling or addressing then remove and rediscover Spine
4. Spines can’t resolve ARP for connected IPN interface
✓Ensure SW version supports multipod + spine hw (ex: for 9364C MPOD
supported in 3.1(1))
BRKACI-2934 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 35
Common Multipod Discovery Problems
Issue #2: Pod2 Spines Don’t Receive TEP Addresses
Ensure leafs are connected to spine
-Spine TEP not assigned until leaf-facing interfaces “up”
Ensure Leaf–facing
interfaces are “up”
so Spine gets TEP
BRKACI-2934 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 36
Common Multipod Discovery Problems
Issue #3: Remote Pod APIC Not Joining Cluster
BRKACI-2934 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 37
Multipod Setup Verification Checklist
❑Verify BGP EVPN and VPNv4 is up between pods
❑Verify both unicast and multidestination interpod flows work
❑Verify jumbo MTU interpod flows work
❑Verify above flows work during various Spine > IPN and IPN > IPN
link failures
BRKACI-2934 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 38
Troubleshooting
Unicast Flows
Multipod Unicast Overview
Key Differences Between Single Pod Unicast
BRKACI-2934 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 40
Layer 2 Unicast
BD Settings - UUC Proxy, ARP Flooding Enabled, UC Routing Disabled
Pod1 Pod2
Verify first that the
flow is unicast
BRKACI-2934 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 41
Layer 2 Unicast
Ingress traffic triggers local learn
Pod1 Pod2
EP1
172.16.1.1/24 a-leaf101# show endpoint mac 0050.56a8.b003 detail | grep epg-l2-2
0050.56a8.b003 123/CiscoLive2020:vrf1 vlan-1011 0050.56a8.b003 L eth1/26 CiscoLive2020:ap1:epg-l2-2
BRKACI-2934 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 42
Layer 2 Unicast
Ingress leaf updates COOP record on Spines
# ipv4.Addr
EP1 addr : 10.0.72.67/32
172.16.1.1/24 dn : topology/pod-1/node-101/sys/ipv4/inst/dom-overlay-1/if-[lo0]/addr-[10.0.72.67/32]
0050.56a8.b003 **ommitted
BRKACI-2934 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 43
Layer 2 Unicast
How does the remote pod learn about the EP?
BRKACI-2934 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 44
Layer 2 Unicast
Local spines exports to evpn
Advertised path-id 1
Path type: local 0x4000008c 0x0 ref 0, path is valid, is best path
AS-Path: NONE, path locally originated
Leaf Leaf Leaf 0.0.0.0 (metric 0) from 0.0.0.0 (192.168.1.101) Originated Locally
Origin IGP, MED not set, localpref 100, weight 32768
Received label 15761417 BD VNID
Extcommunity:
EP1 RT:5:16
172.16.1.1/24
0050.56a8.b003 Path-id 1 advertised to peers: Advertised to
192.168.2.101 192.168.2.102 Remote Pod Spines
BRKACI-2934 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 45
Layer 2 Unicast
Remote spines receive EP through EVPN
BRKACI-2934 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 46
Layer 2 Unicast
What is the Dataplane TEP/External Proxy TEP (ETEP)?
BRKACI-2934 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 47
Layer 2 ETEP Lookup
Spine COOP Forward to
Spine
Proxied Layer Lookup Points Remote Pod
2 Traffic to Remote External MAC
POD ETEP Proxy TEP
BRKACI-2934 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 48
Layer 2 Unicast
Verify Remote Pod COOP Entry
a-spine3# show coop internal info repo ep | grep -B 8 -A 35 00:50:56:A8:B0:03 Spine Spine
------------------------------------------
**ommitted Pod2
EP bd vnid : 15761417 Proxied L2 Traffic will forward
EP mac : 00:50:56:A8:B0:03 to the Pod1 External MAC-
Remote Type : MPOD proxy Address
MAC Tunnel : 10.0.0.33
IPv4 Tunnel : 10.0.0.34
IPv6 Tunnel : 10.0.0.35
ETEP Tunnel : 192.168.1.254 Leaf
**ommitted
Leaf Leaf
BRKACI-2934 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 49
Layer 2 Unicast
BD Settings - UUC Proxy, ARP Flooding Enabled, UC Routing Disabled
3 Remote Spines have
2 Local Spines have COOP entry pointing to pod1-leaf101# show endpoint mac 8c60.4f02.88fc
COOP entry pointing Local Pod Leaf <no output>
to remote ETEP
Spine Spine Spine Spine
BRKACI-2934 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 50
Dynamic Tunnel Learns
Vxlan Tunnels are Created 3 Ways
id : tunnel1
dest : 10.0.72.67
Remote Pod Endpoint Learns idRequestorDn : sys/inst-overlay-1/db-dtep/dtep-[10.0.72.67]
id : tunnel1
Remote POD dest : 10.0.72.64
idRequestorDn : sys/bgp/inst/dom-overlay-1/db-dtep/dtep-[10.0.72.64]
External Routes
a-leaf205# moquery -c tunnelIf -f 'tunnel.If.id=="tunnel1"'
# tunnel.If
id : tunnel1
Local POD ISIS dest : 10.0.152.64
idRequestorDn : sys/isis/inst-default/dom-overlay-1/lvl-l1/db-dtep/dtep-[10.0.152.64]
Database
BRKACI-2934 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 51
Dynamic Tunnel Learns
Endpoint Created Tunnels
ping 172.16.1.2
Pod1 Pod2
TEP Pool: TEP Pool:
10.0.0.0/17 10.0.128.0/17
TEP: 10.0.72.67 TEP: 10.0.200.67
Leaf Leafs install white-list for remote Leaf
TEP ranges
EP1 EP1
172.16.1.1/24 172.16.1.2/24
0050.56a8.b003 8c60.4f02.88fc
BRKACI-2934 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 52
Dynamic Tunnel Learns
Endpoint (Dataplane) Created Tunnels
BRKACI-2934 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 53
Layer 2 Unicast
Remote Leaf Installs EP to Source
addr : 10.0.72.67/32
dn : topology/pod-1/node-101/sys/ipv4/inst/dom-overlay-1/if-[lo0]/addr-[10.0.72.67/32]
**ommitted
BRKACI-2934 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 54
Layer 2 Unicast
Return Path…
2 Spines simply
provide transit
Pod1 Pod2
3 Pod1 Leaf installs
tunnel and remote
learn to pod 2 leaf 1 Pod2 Leaf Forwards
Based on Remote Learn
EP1 EP2
172.16.1.1/24 172.16.1.2/24
0050.56a8.b003 8c60.4f02.88fc
BRKACI-2934 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 55
Using Ftriage to Troubleshoot Multipod (14.2+)
Look for bridged flow
*Recommended with EX or Later Hardware ingressing 101 or 103
Frame seen on
a-apic1# ftriage bridge -ii LEAF:101,103 -dip 172.16.1.2 -sip 172.16.1.1 leaf101
Starting ftriage
ftriage: main:839 L2 frame Seen on a-leaf101 Ingress: Eth1/30 (Po15) Egress: Eth1/54 Vnid: 16056274
ftriage: main:242 ingress encap string vlan-1062 Frame seen on spine2
ftriage: main:839 L2 frame Seen on a-spine2 Ingress: Eth1/25 Egress: Eth1/31 Vnid: 16056274
ftriage: fib:332 a-spine2: Transit in spine
ftriage: unicast:1458 a-spine2: Infra route 10.0.200.67 present in RIB
ftriage: unicast:1681 a-spine2: Packet is exiting the fabric through {a-spine2: ['Eth1/31']}
ftriage: main:839 L2 frame Seen on a-spine3 Ingress: Eth1/29 Egress: LC-1/3 FC-22/0 Port-1 Vnid: 16056274
ftriage: fib:332 a-spine3: Transit in spine
Frame seen on pod2 spine3
ftriage: unicast:1458 a-spine3: Infra route 10.0.200.67 present in RIB
ftriage: unicast:1774 L2 frame Seen on FC of node: a-spine3….
ftriage: main:622 Found peer-node a-leaf205 and IF: Eth1/53 in candidate list
ftriage: main:839 L2 frame Seen on a-leaf205 Ingress: Eth1/53 Egress: Eth1/31 Vnid: 11371
ftriage: main:522 Computed egress encap string vlan-1039
ftriage: main:332 Egress BD(s): jy:cl1 Frame seen on pod2 leaf205
ftriage: unicast:1833 a-leaf205: Dst EP is local
ftriage: misc:657 a-leaf205: EP if(Eth1/31) same as egr if(Eth1/31) Forwards out eth1/31
BRKACI-2934 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 56
Troubleshooting Scenario: Pod 1 Verifications
EP’s cannot communicate in L2 BD
a-leaf101# show endpoint mac 8c60.4f02.88fc Ingress leaf has no remote learn
<no entry>
name : bd-L2-2
dn : uni/tn-CiscoLive2020/BD-bd-L2-2
unkMacUcastAct : proxy UUC set to “Proxy”
BRKACI-2934 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 57
Troubleshooting Scenario: Pod 1 Verifications
EP’s cannot communicate in L2 BD
BRKACI-2934 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 58
Troubleshooting Scenario: Pod 2 Verifications
EP’s cannot communicate in L2 BD
BRKACI-2934 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 59
Troubleshooting Scenario: Pod 1 or Pod2
Verifications
EP’s cannot communicate in L2 BD
4 Is EVPN up between Pods?
Next Steps…
• Do the local spines have routes
to remote spines?
• Does IPN support jumbo MTU?
• Can spines ping between each
other?
BRKACI-2934 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 60
Layer 3 Unicast
…nearly identical to layer 2 unicast
BRKACI-2934 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 61
Layer 3 Unicast – Glean Scenario
BD Settings - UC Routing Enabled
Next-hop is spine
Proxy
3a-leaf101# show isis dtep vrf overlay-1 | grep 10.0.120.34
Spine Spine
10.0.120.34 SPINE N/A PHYSICAL,PROXY-ACAST-V4
BRKACI-2934 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 62
Layer 3 Unicast – Glean Scenario No COOP Entry! This
will trigger a Glean
BD Settings - UC Routing Enabled
Local Spines have no a-spine1# show coop internal info ip-db | grep -F -B 1 -A 15 “172.16.2.2"
COOP entry for Dst IP
Spine Spine Spine Spine
Pod1 Pod2
172.16.2.2 not
Leaf Leaf Leaf Leaf Leaf Leaf learned yet
EP1 EP2
172.16.1.1/24 root@vm1:/home/joyo# ping 172.16.2.2 172.16.2.2/24
0050.56a8.b003 PING 172.16.2.2 (172.16.2.2) 56(84) bytes of data. 8c60.4f02.88fc
BRKACI-2934 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 63
Layer 3 Unicast
What is a Glean?
BRKACI-2934 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 64
Inter-Pod Glean ERSPAN of Spine > IPN Link
Custom Ethertype
for Gleans
BRKACI-2934 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 65
System Gipo Usage
• If “Use Infra as System Gipo” is enabled actual BD gipo’s used
rather than 239.255.255.240
BRKACI-2934 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 66
Capturing a Glean with Tcpdump
ACI Leafs and Spines contain pseudo interfaces for traffic to and from the CPU
• Traffic on the on the knet or tahoe pseudo interface will have a special ieth header. It must be decoded.
• Starting in 3.2 the knet_parser.py script is available on the switch cli to decode
*Note, not all traffic will show up on the kpm_inb interface. However, all
traffic shows on the pseudo interface
*Gen1 and 2 Modular spines use psdev0, psdev1, and psdev2 interfaces.
Gen 2 fixed spines use tahoe0. Gen 1 fixed spines use knet0-3
BRKACI-2934 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 67
Egress Leaf Verification
Capturing a Glean with Tcpdump
Gen2 or Later Leaf
tcpdump -xxxvei tahoe0 -w /bootflash/tahoe0.pcap Decode type
knet_parser.py --file /bootflash/tahoe0.pcap --pcap --decoder tahoe should be tahoe for
tahoe interface
Frame 111 RX sup traffic
Time: 2019-05-16T16:56:33.059831+00:00 rather than TX
Header: ieth_extn CPU Receive
sup_qnum:0x14, sup_code:0x21, istack:ISTACK_SUP_CODE_SPINE_GLEAN(0x21)
Header: ieth
sup_tx:0, ttl_bypass:0, opcode:0x6, bd:0x120e, outer_bd:0x27, dl:0, span:0, traceroute:0, tclass:0
src_idx:0x3a, src_chip:0x0, src_port:0x19, src_is_tunnel:1, src_is_peer:1
dst_idx:0x0, dst_chip:0x0, dst_port:0x0, dst_is_tunnel:0
Len: 148
Eth: 000d.0d0d.0d0d > 0100.5e7f.fff1, len/ethertype:0x8100(802.1q)
802.1q: vlan:2, cos:5, len/ethertype:0x800(ipv4)
ipv4: 10.0.116.64 > 239.255.255.241, len:130, ttl:249, id:0x0, df:0, mf:0, offset:0x0, dscp:32, prot:17(udp)
udp: (ivxlan) 0 > 48879, len:110 Switch recognizes
ivxlan: n:1, l:1, i:1, this as a Glean
vnid: 0x2b0000 Traffic that
lb:0, dl:1, exception:0, src_policy:0, dst_policy:0, src_class:0x5c0 triggered Glean
mcast(routed:0, ingress_encap:0/802.1q), ac_bank:0, src_port:0x0
Eth: 000c.0c0c.0c0c > ffff.ffff.ffff, len/ethertype:0xfff2(aci-glean)
ipv4: 172.16.1.1 > 172.16.2.2, len:84, ttl:63, id:0x71f9, df:1, mf:0, offset:0x0, dscp:0, prot:1(icmp)
icmp: echo request id:0x9092, seq:0x1980
BRKACI-2934 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 68
Egress Leaf Verification
Capturing a Glean with Tcpdump
Gen1 Leaf Example
knet0 would show Rx traffic (similar output as Tahoe0)
tcpdump -xxxvei knet0 -w /bootflash/knet0.pcap
knet_parser.py --file /bootflash/knet0.pcap --pcap --decoder knet
BRKACI-2934 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 69
Layer 3 Unicast – Glean Scenario
IPN Must Route 239.255.255.240 (*see Troubleshooting Multidestination Flows Section)
BRKACI-2934 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 70
Using Ftriage to Troubleshoot Multipod (14.2+)
EP not in COOP!
✓ EP Not in COOP, gleans should be generated.
Check local learn on egress leaf
BRKACI-2934 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 71
Troubleshooting
Multidestination
Flows
Multipod Multicast
What does Multipod use BUM for?
BRKACI-2934 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 73
IPN Multicast Control-plane
• Spines act has multicast hosts (IGMP only)
• Spines join fabric multicast groups (Gipo’s)
• IPN’s receive Joins
• IPN’s send PIM joins to RP
• PIM Bidir is used so no (S,G)
BRKACI-2934 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 74
What is a Gipo?
# fv.BD
name : bd-L3-1
bcastP : 225.0.80.64
dn : uni/tn-CiscoLive2020/BD-bd-L3-1
ipLearning : yes
multiDstPktAct : bd-flood
unicastRoute : yes
unkMacUcastAct : proxy
unkMcastAct : flood
v6unkMcastAct : flood
BRKACI-2934 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 75
IPN Multicast Control-plane
IPN
RP
Pod1 Pod2
BRKACI-2934 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 76
IPN Multicast Dataplane
IPN
All Multicast Dataplane
Goes Through RP
RP
Pod1 Pod2
BRKACI-2934 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 77
IPN Multicast Control-plane
Only one spine in each pod joins each group
Pod1 Pod2
IPN IPN IGMP Join
IGMP Join
BD Gipo Ex: BD Gipo Ex:
225.0.80.64 225.0.80.64
BRKACI-2934 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 78
IPN Multicast Control-plane
Only one spine in each pod joins each group
Pod1 Pod2
IPN IPN IGMP Join
IGMP Join
BD Gipo Ex: BD Gipo Ex:
225.0.80.64 225.0.80.64
IPN1# show ip mroute 225.0.80.64 vrf IPN IPN1# show ip igmp groups 225.0.80.64 vrf IPN
IP Multicast Routing Table for VRF “IPN"
Type: S - Static, D - Dynamic, L - Local, T - SSM Translated
(*, 225.0.80.64/32), bidir, uptime: 13:00:48, igmp ip pim Group Address Interface Uptime Expires Last Reporter
Incoming interface: loopback1, RPF nbr: 192.168.100.1 225.0.80.64 Ethernet1/1.4 13:02:14 00:04:02 192.168.1.0
Outgoing interface list: (count: 3)
Ethernet8/2, uptime: 01:34:42, pim
loopback1, uptime: 13:00:48, pim, (RPF)
Ethernet1/1.4, uptime: 13:00:48, igmp
BRKACI-2934 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 79
IPN Multicast Control-plane
RPF for all IPN’s must point to same RP
IPN1 IPN3
Pod1 IGMP Join IGMP Join Pod2
IPN3# show ip mroute 225.0.80.64 vrf IPN IPN3# show ip pim rp 225.0.80.64 vrf IPN
IP Multicast Routing Table for VRF "IPN" PIM RP Information for group 225.0.80.64 in VRF "IPN"
RP: 192.168.100.1, (1)
RPF must not
(*, 225.0.80.64/32), bidir, uptime: 01:34:35, igmp ip pim
point to ACI
Incoming interface: Ethernet8/25, RPF nbr: 10.255.0.0 IPN3# show ip route 192.168.100.1 vrf IPN
Outgoing interface list: (count: 2) 192.168.100.0/30, ubest/mbest: 1/0
Ethernet8/25, uptime: 01:34:35, pim, (RPF) *via 10.255.0.0, Eth8/25, [110/5], 13:01:42, ospf-IPN, intra
Ethernet1/17.4, uptime: 01:34:35, igmp
BRKACI-2934 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 80
IPN Multicast Control-plane
Phantom RP
BRKACI-2934 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 81
IPN Multicast Control-plane
Phantom RP Load-Balancing
BRKACI-2934 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 82
IPN Multicast Control-plane
Phantom RP
RP Addr - 192.168.255.1
IPN1# show run int lo1 IPN3# show run int lo1
IPN2# show run int lo1 IPN2 IPN4 IPN4# show run int lo1
BRKACI-2934 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 83
Common Multicast Problems
Issue #1: RP Address Exists on Multiple Routers
BRKACI-2934 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 84
Common Multicast Problems
Issue #2: RP Loopback not OSPF P2P Network
BRKACI-2934 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 85
Common Multicast Problems
Issue #2: RP Loopback not OSPF P2P Network
BRKACI-2934 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 86
Common Multicast Problems
Issue #3: RPF Points to ACI
IPN3# show ip mroute 225.0.80.64 vrf IPN
IPN2 RP
Spine Spine
Pod1 Pod2
BRKACI-2934 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 87
Common Multicast Problems
Issue #3: RPF Points to ACI
BRKACI-2934 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 88
Common Multicast Problems
Issue #3: RPF Points to ACI
IPN1
IPN IPN3
High Speed Link: Cost 1
Make IPN-IPN links have
Low Speed Link: Cost 10
equal or better OSPF Cost
IPN2 RP
Spine Spine
Pod1 Pod2
BRKACI-2934 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 89
Troubleshooting
External Routed
Communication
External Routed L3out Control-Plane
Almost the same as traditional L3outs
BRKACI-2934 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 91
External Routed L3out Control-Plane
Spines Reflect VPNv4
3 Paths between Pods
How do internal Leafs
Spine Spine Spine learn external routes?
Pod1 Pod2
BRKACI-2934 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 92
External Routed L3out Control-Plane
External Route on Internal Leaf
BRKACI-2934 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 93
External Routed L3out Control-Plane
Tunnel Built by BGP on Internal Leaf
a-leaf101# show ip route 10.13.13.13 vrf CiscoLive2020:vrf1
IP Route Table for VRF "CiscoLive2020:vrf1"
'*' denotes best ucast next-hop
a-leaf101# vsh
a-leaf101# show bgp internal event-history objstore | grep a00c843 Dest IP in hex
Initial BGP 2019 Apr 2 21:12:30 bgp 65000 [58156]: TID 58302: (0) OBJ: bgp_dtep_add: tep=a00c843
Tunnel Creation
BRKACI-2934 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 94
External Routed L3out Control-Plane
How do Border Leafs forward to internal Leafs?
BRKACI-2934 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 95
External Routed L3out Control-Plane
How do Border Leafs forward to internal Leafs?
BRKACI-2934 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 96
Troubleshooting TIP
When Troubleshooting Layer 3 Flows Always…
BRKACI-2934 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 97
Using Ftriage to Troubleshoot Multipod (14.2+)
L3Out Scenario Look for routed flow
ingressing 101 or 103
Frame seen on
leaf103
a-apic1# ftriage route -ii LEAF:101,103 -dip 10.13.13.13 -sip 172.16.1.1
ftriage: main:839 L3 packet Seen on a-leaf103 Ingress: Eth1/30 (Po15) Egress: Eth1/50 Vnid: 2588674
ftriage: main:242 ingress encap string vlan-1062
ftriage: main:301 Ingress Ctx: jy:vrf11
ftriage: nxos:1404 a-leaf103: nxos matching rule id:4572 scope:63 filter:65535
ftriage: main:933 SIP 172.16.1.1 DIP 10.13.13.13 Dst is behind L3out
ftriage: unicast:1058 a-leaf103: Dst EP is a WAN EP Sends to this TEP
ftriage: unicast:1070 a-leaf103: Policy enforcement mode is ingress (leaf 205)
ftriage: unicast:1215 a-leaf103: Dst EP is remote
ftriage: misc:657 a-leaf103: RwDMAC DIPo(10.0.200.67) is one of dst TEPs ['10.0.200.67']
ftriage: main:839 L3 packet Seen on a-spine2 Ingress: Eth1/27 Egress: Eth1/31 Vnid: 2588674
ftriage: main:839 L3 packet Seen on a-spine3 Ingress: Eth1/29 Egress: LC-1/3 FC-26/0 Port-1 Vnid: 2588674
ftriage: main:839 L3 packet Seen on a-leaf205 Ingress: Eth1/53 Egress: Eth1/31 Vnid: Null
ftriage: pktrec:490 a-leaf205: Collecting transient losses snapshot for LC module: 1
ftriage: fib:169 a-leaf205: L3 out interface Ethernet1/31
ftriage: main:522 Computed egress encap string vlan-1055 Arrives on 205 and forwards
ftriage: main:313 Building egress BD(s), Ctx out l3out bgp on vlan 1055
ftriage: main:331 Egress Ctx jy:vrf11
ftriage: main:332 Egress BD(s): jy:vrf11:l3out-bgp:vlan-1055
BRKACI-2934 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 98
Common Multipod L3out Problems
Issue #1: Asymmetric Routing with Active/Active Pods
Spine Spine
• Both Pods advertise same
Pod1 Pod2 BD Subnet
BRKACI-2934 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 99
Common Multipod L3out Problems
Issue #1: Asymmetric Routing with Active/Active Pods
BRKACI-2934 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 100
Common Multipod L3out Problems
Issue #2: Stretched L3out VIP Failover
New Active FW
Sends GARP
Pod 1 Leafs don’t see GARP,
still think local FW is active
Standby VIP
Active VIP Active VIP
10.2.2.2
10.2.2.2 Pod 2 Becomes Active 10.2.2.2
BRKACI-2934 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 101
Common Multipod L3out Problems
Issue #2: Stretched L3out VIP Failover
# fv.IfConn
bcastP : 225.1.188.208
dn : uni/epp/rtd-[uni/tn-CiscoLive2020/out-EIGRP/instP-defaultNet]/node-101/stpathatt-[shared-
5596-A-VPC]/conndef/conn-[vlan-1052]-[52.52.52.101/24]
extEncap : vxlan-15466402
# fv.IfConn
bcastP : 225.1.188.208
dn : uni/epp/rtd-[uni/tn-CiscoLive2020/out-EIGRP/instP-defaultNet]/node-205/stpathatt-[shared-
5596-A-VPC]/conndef/conn-[vlan-1052]-[52.52.52.103/24]
extEncap : vxlan-15466402
The same VNID and GIPO is extended to nodes 101 and 205
BRKACI-2934 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 102
Common Multipod L3out Problems
Issue #2: Stretched L3out VIP Failover
BRKACI-2934 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 103
Quality of Service
ACI QoS Overview
Key Points
BRKACI-2934 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 105
ACI QoS Overview
Inner Header iVXLAN Outer Header Fabric QOS
flags Proto
L4/Payload Proto DIP SIP ethtype SMAC DMAC VNID DIP SIP 802.1Q SMAC DMAC
EPG UDP
Dot1p Preserve Global Access Policies Causes egress leaf to rewrite cos
to original value when forwarding
QoS Class App EPG, Contract, Subject Defines prioritization of traffic
through the fabric
Custom QoS App EPG Re-marks traffic based on
incoming COS or DSCP
Target DSCP (L3out) L3out, Contract, Subject Sets the DSCP value
DSCP Class-Cos Infra > Networking > Protocols Spines re-map QoS of traffic
Translation Policy going to and coming from IPN/ISN
BRKACI-2934 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 107
ACI QoS – Preserve COS
Egress leaf
rewrites COS
based on DSCP
BRKACI-2934 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 108
ACI Forwarding and QoS – Preserve COS
Layer 2 COS encoded into most significant 3 bits of DSCP
flags
L4/Payload Proto DIP SIP 802.1Q SMAC DMAC VNID DSCP DIP SIP 802.1Q SMAC DMAC
EPG
BRKACI-2934 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 109
Pre-4.0 COS 6 Problem Fix? Configure “DSCP class-cos
translation policy for L3 traffic”
Last hop IPN router The spine will map the outer COS
writes COS based on value to a new DSCP class on
DSCP egress and map DSCP to COS in
…DSCP 48 = COS6 4 Datacenter interconnect ingress
(IPN, ISN)
DC1 treats 3
IP packet
packet as with DSCP 48
iTraceroute
5
Data Data
Center 1 Center 2
2
Leaf forwards frame
towards DC1 with
1 COS 0 and an outer
Frame with DSCP of 48
COS 6 set 0b110 000
BRKACI-2934 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 110
DSCP – COS
Translation Policy
✓ COS 6 Problem
solved by using
DSCP – COS
Translation Policy
BRKACI-2934 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 111
After 4.0 Software…
• All devices trust DSCP Pre-4.0
markings set on ingress leaf Traceroute,
Datacenter Spine
• QoS class is derived from interconnect COS6 + not forwarded
DSCP 48 on egress leaf
DSCP (IPN, ISN)
due to COS6
• Spine rewrites COS
received from IPN based on After 4.0
DSCP
Datacenter Spine Whichever
• Traceroute is DSCP 6 so interconnect COS6 +
COS 6 + DSCP 48 is DSCP 48 class DSCP 48
(IPN, ISN) maps to
forwarded normally
✓ DSCP – COS
Translation Policy
Not Required
BRKACI-2934 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 112
QoS CLI’s
BRKACI-2934 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 113
Complete your
online session
survey • Please complete your session survey
after each session. Your feedback
is very important.
• Complete a minimum of 4 session
surveys and the Overall Conference
survey (starting on Thursday) to
receive your Cisco Live t-shirt.
• All surveys can be taken in the Cisco Events
Mobile App or by logging in to the Content
Catalog on ciscolive.com/emea.
BRKACI-2934 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 114
Continue your education
BRKACI-2934 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 115
Thank you