Professional Documents
Culture Documents
Troubleshooting
Azeem Suleman, Principal Engineer, Insieme Business Unit
@azeem_suleman
Agenda
• Cisco ACI Overview
• Demo
• Cisco ACI Operations
• What’s new in Cisco ACI 1.2(x)
• NX-OS Style CLI and Basic GUI
• Configuration Rollback and Traffic Map
• Unmanaged Node for L4-7 Services
• Intra-EPG Isolation
• Troubleshooting
• Q&A
Cisco ACI Overview
Application Centric Infrastructure (ACI)
Rapid Deployment of Applications onto
Networks with Scale, Security and Full Visibility
APPLICATION CENTRIC
NEXUS 9500 AND 9300 POLICY CONTROLLER
ACI
Architecture
Spine Nodes
Leaf Nodes
AVS
Service Consumers
Application Policy Model and Instantiation
Application
Client
Application policy model: Defines
the application requirements Storage Storage
(application network profile)
Web Tier App Tier DB Tier
All forwarding in the fabric is managed through the application network profile
• IP addresses are fully portable anywhere within the fabric
• Security and forwarding are fully decoupled from any physical or virtual network attributes
• Devices autonomously update the state of the network based on configured policy requirements
Access Methodology
• CLI (Command-line interface)
• Means of interacting with a computer program where user issues commands to the
program in the form of successive lines of text (command lines)
• Programmable interface
• Software components / objects exposed to be called directly by other programs
• Post-deployment (Assurance)
• Proactively know if something is wrong
• Before incident happens or issue is reported
• Easily troubleshoot the fabric as one system
Cisco ACI Fabric
Cisco ACI Deployment Lifecycle
Monitoring Managing Troubleshooting
• Audit Logs
• Faults
• iPing
• Image Management
• Events
• iTraceroute
• Health Score • Config Export / Import
• Endpoint Tracker
• Atomic Counter • Fabric Inventory
• ERSPAN (local laptop /
• Contract deny logs • Show Usage APIC Wireshark)
https://www.youtube.com/watchv=m7_C5htXAr4&feature=youtu.be
What’s New in Cisco ACI
1.2(x)
Cisco NX-OS Style of CLI on Cisco APIC
Leaf 102
Switching back and forth between the Advanced and Basic GUIs is
not recommended.
Address the markets for specific customers:
• Provide a tool for commercial customers
• Simplify the most common operations
Drag and Drop Configuration
For both Advanced and Basic GUIs
Drag-and-drop configuration is available
for the following features:
• EPGs
• Attributed-based EPGs
• Association of EPG with VMM and
physical domain
• Contracts
• External EPG for L2Out
• External EPG for L3Out
Simplified Interface Configuration
• One place to configure everything related to interface
• Creation of port channels and virtual port channels (vPCs)
• Interface-level configuration: speed, link debounce, LLDP, and Cisco® Discovery Protocol
• Layer 2 protocol
• VLAN and VMM domain association
Configuration Rollback
Diff Tool
• Deleted managed objects
You can use are re-created.
configuration rollback • A special REST API is
• Created managed objects
to undo the changes available that shows the
are deleted.
made between two differences between
• Modified managed two snapshots:
snapshots. Objects
objects are reverted to their apichost/mqapi2/snapshots.diff.xml?s1d
are processed n=SNAPSHOT_ONE_DN&s2dn=SNAPS
prior state.
as follows: HOT_TWO_DN
Remote archives are
not supported.
Configuration Rollback
Configuration Rollback
• Snapshot for whole fabric / per tenant basis. You can create snapshots manually or periodic
• Example shows the difference between 2 snapshots at fabric level
Undo just
Diff the Diff
Endpoint Tracker
Traffic Map
Help visualise and quickly spot high traffic density and underutilized
nodes in the Cisco ACI™ fabric.
A grid is presented with a list of node IDs or vPC pairs on each axis.
Traffic flow between a given pair of nodes or between a vPC pair is
presented using colour-coded cells on the heat map.
Manual (legacy)
• Manual traffic steering Manual
• Manual L4-L7 configuration
Any L4-L7 Vendor
Managed Mode
ACI Fabric Fully Automated
• Automated traffic steering Growing list of Eco system L4-
• Automated L4-L7 configuration L7 Partners with Device
Package
https://<apic>/doc/html
Visore
Object Browser – Web based MO Query Tool
fabricNode
https://<IP>/visore.html adSt on
childAction
delayedHeartbeat no
dn topology/pod-1/node-101
fabricSt active
id 101
lcOwn local
modTs 2015-04-08T14:38:44.546+02:00
model N9K-C9396PX
monPolDn uni/fabric/monfab-default
name bdsol-9396px-02
<?xml version="1.0" encoding="UTF-8"?><imdata totalCount="1"><fabricNode
adSt="on" childAction="" delayedHeartbeat="no" dn="topology/pod-1/node-101" role leaf
version
icurl 'http://apic/api/node/class/fabricNode.xml?query-target-filter=and(eq(fabricNode.id,"101"))' 20
API Inspector
Enables to see RESTAPI calls from APIC WebUI
82
Thresholds
Faults,
Health Scores
Stats
Atomic
Counters
Fabric
Traceroute SPAN
On-Demand
Diagnostics
ELAM …
Visibility and Troubleshooting - Wizard
1 2
92
Example connectivity diagram generated for the selected
two end points.
93
APIC Logs Switch Logs
• /var/log/dme/log • /var/log/dme/log
• /var/log/dme/oldlog • /var/log/dme/oldlog
• If APIC is not present and no neighbours shown. Please check lldp process.
• show processes | grep lldp
leaf101# show processes | grep lldp
5619 S 41a497e7 1 - lldp
Total 4 nodes
Fabric Discovery Process
DHCP – TEP IP Address assigned to the node (Cont.)
• If node doesn’t ping then verify LLDP. Also check these:
• show dhcp internal info client – verify the client information present
• show ip route vrf overlay-1 – verify the infra routing is working
9 ACI
Fabric
Push Policy
1 (Lazy)
Cisco APIC connects to 6
VMware vCenter: 4 APIC learns the
• Initiates vDS creation Map EPG To Port location of ESX
• Collects VM, HV inventory Groups and Host through
• Creates a persistent initiate port- LLDP
connection to listen for group creation
2 Create VIRTUAL DISTRIBUTED SWITCH
vCenter events VDS WEB PORT APP PORT
DB PORT GROUP
GROUP GROUP
vCenter 7 Create Port
Server Groups
We
App DB Web Web DB
vCenter admin VI/Server admin b
VI/Server Admin 8 3
Instantiates VMs, Attaches
Assign to Port Groups Hypervisor to HYPERVISOR HYPERVISOR
VDS
High-Level Workflow
Fabric Tenant
VMM Domain
Interface Profile
Attachment
Entity Profile