π― Welcome to Cisco ACI Lab Environment
Welcome to this comprehensive hands-on lab guide for building a complete Cisco Application Centric Infrastructure (ACI) environment. This lab will take you through the entire deployment process, from initial setup to a fully functional multi-tenant data center fabric.
- Understanding ACI architecture and component roles (APIC, Spine, Leaf switches)
- Performing fabric discovery and initialization procedures
- Configuring APIC cluster for high availability
- Creating and managing tenants, VRFs, bridge domains, and EPGs
- Implementing application network profiles and contracts
- Integrating external layer 3 connectivity with L3Outs
- Deploying VMM integration with VMware vCenter
π’ Lab Environment Description
This lab simulates a production-grade ACI fabric deployment with the following components:
- APIC Cluster: 3x APIC controllers for high availability
- Spine Layer: 2x Spine switches (redundant backbone)
- Leaf Layer: 4x Leaf switches (access layer)
- Compute: VMware vCenter integration
- Network: External L3 connectivity for north-south traffic
π‘ Key Learning Point
ACI Philosophy: Unlike traditional networking where you configure each switch individually, ACI uses a centralized policy model. The APIC controllers are the single source of truth, and all configuration is pushed to the fabric. Think of it as "Infrastructure as Code" for your data center - you declare the desired state, and ACI makes it happen.
πΊοΈ ACI Fabric Topology
External Network
|
[ Border Leaf ]
|
βββββββββββββββββββββββββββββββββββββββββββββββββββ
SPINE LAYER
βββββββββββββββββββββββββββββββββββββββββββββββββββ
| |
[Spine-1] [Spine-2]
10.0.0.1 10.0.0.2
| |
βββββββββββββββββββββββββββββββββββββββββββββββββββ
LEAF LAYER
βββββββββββββββββββββββββββββββββββββββββββββββββββ
| | | |
[Leaf-101] [Leaf-102] [Leaf-103] [Leaf-104]
10.0.0.101 10.0.0.102 10.0.0.103 10.0.0.104
| | | |
βββββββββββββββββββββββββββββββββββββββββββββββββββ
APIC CLUSTER
βββββββββββββββββββββββββββββββββββββββββββββββββββ
[APIC-1] [APIC-2] [APIC-3]
10.1.1.1 10.1.1.2 10.1.1.3
| | |
ββββββββββββββββββββββββββββββββββββββββββββββββββββ
Compute & Storage Resources
VMware vCenter
ESXi-01, ESXi-02, ESXi-03
π Component Details
| Component | Hostname | Management IP | Role |
|---|---|---|---|
| APIC Controller 1 | apic1 | 10.1.1.1/24 | Primary Controller |
| APIC Controller 2 | apic2 | 10.1.1.2/24 | Secondary Controller |
| APIC Controller 3 | apic3 | 10.1.1.3/24 | Tertiary Controller |
| Spine Switch 1 | spine-1 | 10.0.0.1/32 | Backbone Fabric |
| Spine Switch 2 | spine-2 | 10.0.0.2/32 | Backbone Fabric |
| Leaf Switch 101 | leaf-101 | 10.0.0.101/32 | Access Layer - APIC Connectivity |
| Leaf Switch 102 | leaf-102 | 10.0.0.102/32 | Access Layer - Compute |
| Leaf Switch 103 | leaf-103 | 10.0.0.103/32 | Access Layer - Compute |
| Leaf Switch 104 | leaf-104 | 10.0.0.104/32 | Border Leaf - External Connectivity |
π‘ Key Learning Point
Spine-Leaf Architecture: ACI uses a non-blocking Clos topology where every Leaf connects to every Spine. This provides equal-cost paths and eliminates bottlenecks. Traffic between any two Leaf switches is only 2 hops (LeafβSpineβLeaf). Never connect Leaf-to-Leaf or Spine-to-Spine directly!
π Prerequisites and Planning
π§ Hardware Requirements
| Component | Model | Minimum Version | Quantity |
|---|---|---|---|
| APIC Controllers | M3 or later | 5.2(4e) or later | 3 |
| Spine Switches | N9K-C9332C or better | 15.2(4e) or later | 2 |
| Leaf Switches | N9K-C93180YC-EX or better | 15.2(4e) or later | 4 |
π IP Address Planning
Management Network (Out-of-Band)
- Network: 10.1.1.0/24
- Gateway: 10.1.1.254
- APIC Cluster: 10.1.1.1-3
- DNS Servers: 8.8.8.8, 8.8.4.4
- NTP Server: pool.ntp.org
- β All switches powered on and passing POST
- β Physical cabling completed per topology diagram
- β Management network configured and accessible
- β DNS and NTP servers accessible from management network
- β Required licenses available
π Fabric Initialization
Power On First APIC Controller
Connect to APIC-1 via console cable. The system will boot and present the initial setup wizard.
Configure Management Network
βοΈ Tenant and Application Configuration
GUI-Based Configuration
Create Production Tenant
Navigate to: Tenants β Add Tenant
- Click the + icon to add a new tenant
- Name: Production
- Description: Production Application Tenant
- Click Submit
Create VRF (Private Network)
Navigate to: Tenants β Production β Networking β VRFs
- Right-click on VRFs and select Create VRF
- Name: Prod-VRF
- Policy Control Enforcement Preference: Enforced
- Click Submit
π‘ Key Learning Point
Think Applications, Not VLANs: In traditional networking, you think "I need VLAN 100 for web servers." In ACI, you think "I have a web application with database and web tiers that need to communicate." The EPGs represent your application components, and contracts define allowed communication.
REST API Configuration
Authenticate to APIC
π§ Troubleshooting Common Issues
Issue: Fabric Discovery Fails
Root Causes:
- Physical connectivity issues
- Wrong discovery order (must discover leaf before spine)
- Time synchronization issues
Issue: Contract Not Permitting Traffic
Resolution: Verify provider/consumer roles are correctly assigned and filter entries match the required traffic.
β Verification and Testing
Verify APIC Cluster Health
Navigate to: System β Controllers
Expected Results
- All three APICs show status: Fully Fit
- Health score: 100
- Cluster size: 3
π Knowledge Check
Test your understanding of Cisco ACI deployment and configuration.