M01 - What Is Cisco ACI
M01 - What Is Cisco ACI
www.lumoscloud.com
[email protected]
Agenda
SDN/Overlay Networking Primer
Overview and Terminology
Logical Model Overview
SDN/Overlay Networking Primer
Industry Trends
DevOps
New operational models are driving the need for infrastructure change.
SDN
Software Defined Networking
Still Don’t KNow
SDN
Control Plane
OpenFlow
Policy Controller Network Virtualization Programmability
Data Plane
Control, Data, Policy
No packet is sent to the
Configuration of control plane controller, forwarding is
• Control Plane: CP protocols
protocols (OSPF, LACP, etc.) done in-fabric
distributed through leafs
and(i.e.,
dataOSPF,
plane forwarding is immediately
iBGP, LACP, LLDP) done on the APIC cluster
• Data Plane: All in-line, no packets
are punted to the controller
• Policy Controller: Centralized OSFP OSFP
network policy LLDP
OSPF processes run
on leafs that routers REST
are connected to, API
not controller APIC APIC APIC
APIC Cluster
Control, Data, Policy
No packet is sent to the
Configuration of control plane controller, forwarding is
• Control Plane: CP protocols
protocols (OSPF, LACP, etc.) done in-fabric
distributed through leafs
and(i.e.,
dataOSPF,
plane forwarding is immediately
iBGP, LACP, LLDP) done on the APIC cluster
• Data Plane: All in-line, no packets
are punted to the controller
• Policy Controller: Centralized OSFP OSFP
network policy LLDP LLDP
APIC Cluster
Distributed Configuration
One switch1 (config)#
switch1(config)# int eth 1/1
switch2 (config)#
switch1(config)# switch mode acc
SINGLE SOURCE OF
switch1(config)# int eth 1/1
switch3(config)#
switch1(config)# switch acc vlan 666
switch1(config)# switch mode acc
switch1(config)# int eth 1/1
Truth
switch4(config)#
switch1(config)# no
switch1(config)#
shut
switch acc vlan 666
switch1(config)# switch mode acc
switch1(config)#
switch1(config)# int eth 1/1
no shut
switch1(config)# switch acc vlan 666
switch1(config)# switch mode acc
switch1(config)# no shut
switch1(config)# switch acc vlan 666
switch1(config)# no shut
Switch12(config)# switch13(config)#
switch1(config)# int eth 1/1 switch1(config)# int eth 1/1
switch1(config)# Switch14(config)#
switch mode acc switch1(config)# switch mode acc
switch1(config)# switch1(config)#
switch acc vlan 666 int eth switch1(config)#
1/1 switch acc vlan 666
switch1(config)# switch1(config)#
no shut switch1(config)# switch mode acc no shut
switch1(config)# switch acc vlan 666
switch1(config)# no shut
API
APIC Cluster
Orchestrator
(UCS Director) REST
API
VMware
vCenter
Software Overlays – Network Virtualization
Virtual networks created with
Virtual Network 1
VXLAN encapsulation. Networks are
ephemeral, and highly dynamic.
Virtual Network 2 Configuration changes can be
frequent (many times per day)
VxLAN
Virtual Network 3
(pronounced “clo”,
Underlay network rhymes with “glow”)
Cisco ACI
• DHCP
• Automatically assigns TEP addresses
• ISIS
• Underlay TEP-to-TEP Connectivity
• SSL / Certificate
• Ensures device identity
Standalone VXLAN Configuration: standalone-sw1(config-vlan)# vn-segment 10011
standalone-sw1(config)# feature ospf
standalone-sw1(config)# router ospf 1 standalone-sw1(config)# vlan 12
standalone-sw1(config-router)# router-id 200.200.8.8 standalone-sw1(config-vlan)# vn-segment 10012
standalone-sw1(config)# interface loopback0 standalone-sw1(config)# interface nve1
standalone-sw1(config-if)# ip address 200.200.8.8/32 standalone-sw1(config-if)# no shutdown
standalone-sw1(config-if)# ip router ospf 1 area 0.0.0.0 standalone-sw1(config-if)# source-interface loopback0
standalone-sw1(config)# interface e2/1 standalone-sw1(config-if)# member vni 10011
standalone-sw1(config-if)# ip address 20.1.1.1/30 standalone-sw1(config-if)# ingress-replication protocol static
standalone-sw1(config-if)# ip router ospf 1 area 0.0.0.0 standalone-sw1(config-if)# peer_ip 200.200.9.9
standalone-sw1(config-if)# ip pim sparse-mode standalone-sw1(config-if)# member vni 10012
standalone-sw1(config)# feature nv overlay standalone-sw1(config-if)# ingress-replication protocol static
standalone-sw1(config)# feature vn-segment-vlan-based standalone-sw1(config-if)# peer_ip 200.200.9.9
standalone-sw1(config)# interface e1/1 standalone-sw1(config-vlan)# exit
standalone-sw1(config-if)# switchport
standalone-sw1(config-if)# switch port mode trunk …......................
standalone-sw1(config-if)# switch port allowed vlan 11-12 ........
standalone-sw1(config-if)# no shutdown ...
standalone-sw1(config)# vlan 11
* VXLAN on its own is complex, manually building the underlay network takes some
time, subject to error. ACI does this automatically right out of the box
Logical Network Provisioning of Stateless Hardware
Web App DB
Outside
QoS QoS QoS
SVI/VLAN SVI/VLAN SVI/VLAN
(Tenant Filter
Servic
Filter
VRF)
e
App-Centric Network-Centric
APIC
ACI Fabric
Built-In VMM Integration
vSwitch L2 Switch
VMware vCenter Router
(AVS/DVS) External Routers
External Switches/vSwitches
Hyper-V (Azure OSPF (v2/v3)
IETF Standard VXLAN
Pack/SCVMM) EIGRP
IEEE Standard 802.1Q (VLAN)
OpenStack (ML2/GPB) e/iBGP
IEEE Ethernet
Kubernetes (v 3.0) Static routes
IETF OpFlex (control plane)
ACI Network Profile Network Profile
Policy-Based Fabric Management
Storage Storage
Extend the principle of Cisco UCS® Manager Service
Profiles to the entire fabric Web Tier App Tier DB Tier
Fabric Policies
ACI Policies
• Access Policies: Define how a switch or a front panel switchport is configured. Settings
that can be applied to the physical ports such as LLDP, CDP, Port-Channeling,
speed/duplex, etc.
Fabric Policies
Access Policies
ACI Policies
• Tenant Policies : Govern traditional networking such as VLAN encapsulation, flooding
domains, L3 Routing as well as defining Application Level Policy like contracts, preferred
groups, L4-7 services, PBR, etc.
• All of the policies work together to define where and how endpoints or applications are
connected
Fabric Policies
Access Policies
Policy Instantiation
Object Consumed Provided
Tenant Coke Sprite
VRF Main Main
Bridge Domain Coke_VL10 Pespsi_VL20
Subnet 10.0.10.1/24 10.0.20.1/24
EPG Web Web
Endpoint 10.0.10.10 10.0.20.10
Path Leaf101:e1/1:VL-10 Leaf102:e1/1:VL-20
Policy Instantiation Leaf101:
1. Map VLAN-10 to a internal VLAN(say vlan 7) and VXLAN ID
leaf101(config)# vlan 10
leaf101(config-vlan)# vn-segment 10392
leaf101(config)# int e1/1
leaf101(config)# switchport mode trunk
leaf101(config)# switchport trunk allowed add vlan 7
Object Consumed Provided
Tenant Coke Sprite 2. Map VLAN 10 to a BD vlan(vlan 8) and VNID
VRF Main Main leaf101(config)# vlan 8
Bridge Domain Coke_VL10 Pespsi_VL20 leaf101(config-vlan)# vn-segment 15826917
leaf101(config)# interface vlan 8
Subnet 10.0.10.1/24 10.0.20.1/24
leaf101(config)# ip address 10.0.1.1/24
EPG Web Web leaf101(config)# no shut
Endpoint 10.0.10.10 10.0.20.10
3. Deploy the VRF
Path Leaf101:e1/1:VL-10 Leaf102:e1/1:VL-20
leaf101(config)# vrf Coke:Main
5. Deploy ACL to allow traffic between the two EPG (not based on IP
address, but on EPGs)
Application Policy Model and Instantiation
Application Client
Application policy model: Defines the application
requirements (application network profile) Storage
Storage
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
ACI Fabric
ACI Spines
ACI Leafs
External L2 L4–7
/ L3 Services
Servers
OOB Managment
Logical Model Overview
Remember UCS & Stateless Computing?
Service Profile
n n n n n n
L2/L3 Application
Bridge Contexts
Outside Network Contracts Filters
Domains n 1 (VRF)
Networks Profiles
1 1 1 1 n
n n
Subnets n
Subjects
n n
Solid lines indicate objects below contained
EPGs n Dashed lines indicate a relationship
1:n indicates one to many
n:n indicates many to many
Application Network Profile
provide
provide
provide
subnet
subnet
bd bd bd
L3 context