Professional Documents
Culture Documents
dCloud has a lot of ACI specific labs you can do at your own pace…
Day-0 Setup
Prerequisites
• Before starting, you should have:
• At least 6 routable IP addresses for APIC OOB mgmt and APIC CIMC
• Functional NTP server
• Serial number of all leafs and spines
• Optionally but recommended:
• 1 IP per leaf and spine for OOB
• SCP / FTP / HTTP server
• Console / serial server
• Infrastructure VLAN / VTEP pool
• vCenter IP address and credentials
6
ACI Topology – Proper Production View
SPINE 201 SPINE 202
LEAF 101 LEAF 102 LEAF 103 LEAF 104 LEAF 105 LEAF 106
APIC M3
HYPER-V
900-940
800-810
APIC
HyperV-Server
HYPER1
1/45-46
LEAF 103
LEAF 101 LEAF 102
“border leaf”
1/45-46 1/17 1/18 1/17 1/18
1/19
L3 OUT
(OSPF)
g0/1
UCS FI-A UCS FI-B ASA 5512X Internet
mgmt: 10.50.129.120
Servers
VMs
VMs
A production fabric has a min. of 3 APICs and two
spines. My lab uses one which is not HA
APIC Console Access First (Configure CIMC)
Reenter the password for admin: Reenter the password for admin: Your choice
APIC Day 0 Setup – Remaining Nodes
APIC 2 APIC 3
Cluster configuration ... Cluster configuration ...
Enter the fabric name [ACI Fabric1]: ams-fab Enter the fabric name [ACI Fabric1]: ams-fab
Enter the fabric ID (1-128) [1]: 1 Enter the fabric ID (1-128) [1]: 1
Enter the number of active controllers in the fabric (1-9) [3]: 3 Enter the number of active controllers in the fabric (1-9) [3]: 3
Enter the POD ID (1-254) [1]: 1 Enter the POD ID (1-254) [1]: 1
Is this a standby controller? [NO]: Is this a standby controller? [NO]:
Enter the controller ID (1-3) [2]: Enter the controller ID (1-3) [3]:
Enter the controller name [apic1]: apic2-ams Enter the controller name [apic1]: apic3-ams
Enter address pool for TEP addresses [10.0.0.0/16]: Enter address pool for TEP addresses [10.0.0.0/16]:
Note: The infra VLAN ID should not be used elsewhere in your Note: The infra VLAN ID should not be used elsewhere in your
environment environment
and should not overlap with any other reserved VLANs on other and should not overlap with any other reserved VLANs on other
platforms. platforms.
Enter the VLAN ID for infra network (1-4094): 3456 Enter the VLAN ID for infra network (1-4094): 3456
Enter address pool for BD multicast addresses (GIPO) [225.0.0.0/15]: Enter address pool for BD multicast addresses (GIPO) [225.0.0.0/15]:
APIC 1 10.50.129.241/24
A production fabric has a min. of 3 APICs. My lab uses one which is not HA
ACI Lab Topology – OOB Network (Best Practice)
10.50.129.245 SPINE 201
APIC
10.50.129.241
OOB
10.50.129.x/24
LEAF 103
LEAF 101 LEAF 102
“border leaf”
1/17 1/18 1/17 1/18 1/1
10.50.129.242 10.50.129.243 10.50.129.244 10.50.129.204
vCenter
1/3 DC
UCS FI-A UCS FI-B ASA5512X traditional VMs
network VMs
UCSM: 10.50.129.15 10.50.129.120
Servers
VMs
VMs
Connecting things to the
fabric…
Domain VLAN Range
HYPER-V
900-940
800-810
Bare Metal 99
Goal #1: Connect a blade server chassis to ACI Leafs with Virtual Port Channel
LEAF 101 LEAF 102
1/17 1/18 1/17 1/18
This example uses a UCS-B Series Chassis but any vendor is supported
VPC-A VPC-B • VPC_A: Eth1/17 (same on both leafs in the VPC pair)
• VPC_B: Eth1/18 (same on both leafs in the VPC pair)
UCS FI-A UCS FI-B Note: Blade Chassis parameters already configured by server team
Goal #2: Integrate APIC with Hypervisor running on blade in chassis (vCenter)
Blade Servers • Also called “VMM Integration”
ESXi Host
on blade
VC_DVS
VMs
VMs
ACI Objects and Relationships
VM “Tells ACI what is at the other
M end of the cable”
VLAN
Pools Domain
Phys
Interface policy group CDP, LLDP, Bcast, etc “Select how interface should
behave”
Switch
“Select where interface profile
Interface “Select who the interface
profile
lives” is”
HYPER-V
900-940
800-810
APIC
HyperV-Server
HYPER1
1/45-46
LEAF 103
LEAF 101 LEAF 102
“border leaf”
1/45-46 1/17 1/18 1/17 1/18
1/19
L3 OUT
(OSPF VLAN-333)
g0/1
UCS FI-A UCS FI-B ASA 5512X Internet
mgmt: 10.50.129.120
Servers
VMs
VMs
Now Get those VMs to talk…
ACI Tenant Hierarchy (Basic Building Blocks)
TENANT: Simply a container to keep things organized
Subnet(s) & Default Gateway(s) END POINT GROUP: This is where you put actual end
points (physical or virtual) and apply forwarding and
security policy. EPGs attach to BDs. An ACI fabric will
have many EPGs
LEAF 103
“border leaf”
1/19
5.5.1.2/24 (router ID 51.1.1.1)
L3 Out OSPF P2P
• MTU Ignore Gig0/1 (inside) 5.5.1.1/24
• No BFD support on ASA
ASA 5512-WEST
Mgmt0: 10.50.129.120
Gig0/0 (outside) 10.50.128.x (NAT)
Interwebs
0.0.0.0/0
General Best Practices
• Highly advised to set up OOB Management
• Choose a useful naming system ahead of time
• If you use the wizards, know what gets created in the background too!
• Prefer symmetry whenever possible (but optional, of course)
• When something is not working, check your faults first!
• Use ACI Inspector for Rest API code generation
• Automate the easy stuff!
General Order of Operation
• Run APIC Initial Setup Script (via CIMC on APIC or SoL)
• Discover and Register leaves and spines
• Stage One: Housekeeping Tasks
• Set up OOB addresses to nodes
• Set up DNS (optional)
• Set up Date/Time and NTP
• Set up BGP RRs
General Order of Operation
• Stage Two: Physical Connectivity
• Understand the object model about port configurations
• Set up VPC to UCS Fabric Interconnects
• VMM integration with vCenter
• Use script to push any remaining port configurations
• To save time and not repeat the same steps over again
General Order of Operation
• Stage Three: Build a tenant and consume what we connected
• Create Tenant, ANP and three EPGs
• Silver, Gold, and Migration EPGs
• Map to VMM Domain
• Show the use of a physdom and static port binding
• Contract Basics
• Filters, Subjects, Contracts, Preferred Groups and vzAny
• Set up L3 Out with OSPF to ASA Firewall
• Understand the concept of the External EPG and the need for contracts here