Professional Documents
Culture Documents
Brkarc 2012 PDF
Brkarc 2012 PDF
Functions Virtualization
(ENFV) Architecture,
Configuration and
Troubleshooting
Muhilan Natarajan, Technical Leader
BRKARC-2012
#CLUS
Agenda
• Enterprise NFV
• NFVIS Architecture
• VM Life Cycle
• Designing and Provisioning
using DNA Center
• Troubleshooting
#CLUS BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 2
Cisco Webex Teams
Questions?
Use Cisco Webex Teams (formerly Cisco Spark)
to chat with the speaker after the session
How
1 Find this session in the Cisco Event 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
#CLUS © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 3
Enterprise NFV
BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 4
The Current Enterprise Branch Landscape
#CLUS BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 5
What is Enterprise NFV?
Freedom of choice
Hardware Platform
#CLUS BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 6
Cisco Enterprise NFV for Branch
Virtual WAN
Virtual Router Virtual Firewall Optimization
3 rd Party VNFs
(ISRv, vEdge) (ASAv, NGFWv) (vWAAS)
#CLUS BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 7
In Other words
ASAv
ISRv
vWAAS
Router Service
Service Provider Switch
Switch vSwitch
Provider Firewall
NFVIS
WAN Opt
#CLUS BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 8
Hardware Options
Enterprise NFV
Physical Router Virtual Router Virtual Router
Virtual Services Virtual Services Virtual Services
#CLUS BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 9
Platform Built for Enterprise NFV
ENCS 5000 Series for the Branch
Best of Routing Complete Open for Third Party
& Compute Virtualized Services Services and Apps
#CLUS BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 10
ENCS 5000 Series - Chassis Options
ENCS5412
ENCS5408 12-Core
ENCS5406 8-Core
ENCS5104 6-Core
4-Core
#CLUS BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 11
ENCS 5400 Series
Integrated 16 - 64 GB 6, 8, or 12-Core Dedicated Board Optional Hardware Internal
Power Supply DRAM Intel Xeon-D Management Controller RAID Controller M.2 Storage
8 Integrated LAN Ports USB 3.0 Network Interface Module 2 HDD or SSD
with Optional POE Storage for LTE & legacy WAN RAID 1
#CLUS BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 12
5400 ENCS Internal Networking
5400 ENCS Platform Data Path
Control Path
VNF 1 ISRv VNF 2
(NIC aware) (NIC aware)
High-speed
(10G)
backplane
Switch
Cisco
VLAN-aware X86
NIM IMC
HW switch mgmt
mgmt
PoE
#CLUS BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 13
ENCS 5100 Series - I/O Side
#CLUS BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 14
NFVIS Architecture
BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 15
Enterprise NFV Solution Architecture
Common
Orchestration and
Management across
Software host
API
Interface
Platform
Management NFVIS Hypervisor
Virtual
Switching
managing
virtualization and
hardware
#CLUS BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 16
NFVIS Architecture
PnP Console/ NSO DNA Center Portal
Server SSH
Hardware
libvirt Open vSwitch Qemu Collectd Syslogd Snmpd
Management
#CLUS BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 17
System Software Overview
o CentOS 7.3 based system
o Manage via GUI, CLI (IOX XR synax), REST API, Netconf/Yang
• GUI & REST connections are over HTTPS – used by ESA, DNA Center
• YANG models – used by NSO or other MANO
o Service Image Types: ISO, OVA, QCOW/QCOW2, VMDK, RAW
o Day0 config file support for services like ISRv, ASAv
#CLUS BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 18
Default System Settings
NFVIS has following default settings when it is installed
• DHCP is enabled on WAN facing network / port
• DHCP can only be enabled on one network / port
• Static IP (192.168.1.1) assigned on LAN facing network / port
• PnP for near zero-touch deployment enabled
• Following networks /bridges created by default:
• wan-net / wan-br
• lan-net / lan-br
#CLUS BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 19
Change Initial System Settings
This is required after initial system installation if not using DHCP and zero-
touch deployment (PnP)
• Login to KVM console
• Configure WAN IP address and default gateway
• You can access device using this IP address
#CLUS BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 20
CLI Access
#CLUS BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 21
GUI Access
https://<IP_Address>
#CLUS BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 22
Plug-n-Play (PnP)
BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 23
Cisco PnP Overview
Cisco Network Plug-and-Play solution provides:
Near zero touch deployment for Routers, Switches, Access Points & NFVIS
Automated and centrally managed remote device deployment
Simplified and consistent deployment of Network devices
#CLUS BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 24
Zero-touch deployment using PnP
DNA Center*
PnP PnP Registration
PnP
Agent Server
VNF NFV
NFVIS VNF Provisioning using REST Provisioning
Engine
ENCS
#CLUS BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 26
PnP Automatic Discovery
#CLUS BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 27
PnP DHCP options 43
5A = PnP DHCP ID
1D = PnP DHCP debug on
ip dhcp pool pnp
1N = PnP DHCP debug off
network 10.89.23.0 255.255.255.0
Token K = <protocol>
default-router 10.89.23.1
1: XMPP-starttls
option 43 ascii “5A1D;B2;K4;I10.27.87.146;J80”
2: XMPP-socket
3: XMPP-tls
4: HTTP
5: HTTPS
option 43 ascii “5A1D;B2;K4;I10.27.87.146;J80” Token B = <address type> 1:host; 2:ipv4; 3:ipv6
Token I = <remote server IP / hostname>
Token J = <remote server port>
5A1D: PnP DHCP ID and debug on
B2: Address type IPv4
K4: Protocol HTTP
I: Remote Server IP 10.27.87.146 (PnP server IP)
J80: Remote Server Port 80
#CLUS BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 28
PnP DNS Lookup
Construct a fully qualified domain name (FQDN), using the preset hostname "pnpserver”,
based on the network domain name configured on the DHCP server.
Example of DNS lookup configurations on DHCP server:
#CLUS BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 29
PnP Cloud Redirect
• This method uses the Cisco Cloud Device Redirect
tool available in the Cisco Software Central.
• User needs to have a Cisco CCO account in advance.
Example of Cloud Redirect configurations on DHCP server:
#CLUS BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 30
PnP Cloud Redirect – Cisco Account
In order to use Cisco Cloud Device Redirect tool, user needs to have a
Cisco Account in advance.
• Launch Cisco Software Central at https://software.cisco.com in
browser
• Click “Login In”
#CLUS BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 31
PnP Cloud Redirect (cont’d)
• When Successful, pull down Provisioning Tab and Click
“Plug and Play Connect”
#CLUS BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 32
PnP Configuration
#CLUS BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 33
NFVIS Networking
BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 34
Networking
• Flexible network virtualization model
• OVS bridges and virtual networks for service chaining between
VNFs
• VLAN on virtual networks
• High performance SR-IOV networks on ENCS platform (bypasses
vswitch)
• Port forwarding to manage multiple VNFs through single IP
#CLUS BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 35
Simplified Networking within NFVIS
ISRv
wan-net lan-net
br-wan br-lan
NFVIS
eth0 eth1 eth2 eth3
WAN LAN
#CLUS BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 36
Default System Configuration on ENCS
ENCS5400
wan-net lan-net mgmt-net
NFVIS
vSwitch
VF VF VF VF VF VF VF VF VF VF
WAN WAN
Mgmt LAN Backplane NIM
NIC NIC
GE0/0 GE0/1 MGMT
Default - DHCP CPU
for NFVIS and Default - Integrated Switch
VNFs 192.168.1.1/24
connected to GE1/0 GE1/1 GE1/2 GE1/3 GE1/4 GE1/5 GE1/6 GE1/7
WAN-NET
#CLUS BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 37
Default System Configuration on ENCS (Contd.)
• NFVIS can be accessed by default via the FPGE WAN ports or via the
dedicated Management port
• WAN network (wan-net) and a WAN bridge (wan-br) is set by default to
enable DHCP. GE0-0 is by default associated to WAN bridge
• The Management port on ENCS is set to to 192.168.1.1 to access NFVIS
• All Switch ports – GE 1/0 to GE1/7 is associated to LAN bridge
• An internal management network (int-mgmt-net) and a bridge (int-
mgmt-br) is created and is internally used for system monitoring.
#CLUS BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 38
Default System Settings on UCS E-Series
UCS E-Series
Hypervisor (KVM)
lan-net wan-net
NFVIS
LAN NIC
GE2
lan-br wan-br vSwitch
GE1 GE0
Internal NIC
#CLUS BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 39
Default System Configuration on UCS-C220
UCS-C220
Hypervisor (KVM)
Wan-net Lan-net mgmt-net
vSwitch
NFVIS
wan-br lan-br mgmt-br
#CLUS BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 40
Network Administration
Add New Network
Edit a Network
#CLUS BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 41
ENFV – Potential Failure Points
NFVIS
Tap7 Tap6 Tap5 Tap4 Tap1 Tap0
vSwitch
4. Hypervisor or one of its 4 BR1 BR0
components
• E.g. vSwitch
components NIC 3 2
NIC
GE4 GE0 GE1 GE2 GE3
a. ISRv
b. vWaas
c. ASAv
d. Application (Windows)
#CLUS BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 42
NFVIS Built-in Recovery
• NFVIS can monitor deployed VNF for failure
Hypervisor (KVM)
vSwitch
VF 8-Port GE Switch
WAN PF WAN
NIC NIM
NIC
GE0 GE1 GE2 GE3 GE4 GE5 GE6 GE7 GE8 GE9
#CLUS BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 43
High Availability
ISRv WAAS Windows Linux ISRv WAAS ASAv Windows Linux
ASAv
wan-net inet-net service-net lan-net mgmt-net wan-net inet-net service-net lan-net mgmt-net
NFVIS
NFVIS
vSwitch
vSwitch
VF VF 8-Port GE Switch
WAN PF WAN 8-Port GE Switch WAN PF WAN
NIM NIC NIM
NIC NIC NIC
GE2 GE3 GE4 GE5 GE6 GE7 GE8 GE9 GE0 GE1 GE2 GE3 GE4 GE5 GE6 GE7 GE8 GE9
GE0 GE1
WAN1
Hypervisor (KVM)
WAN2
NFV-OS
vnet Hypervisor
vnet (KVM)
NFV-OS NFV-OS
GE1 GE2
UCS-E GE
vnet vnet
IoT WLC Windows 3rd Party vFP(t)
UCS-E GE UCS-E GE
BR0 BR1
OVS
BR0 BR1 Hypervisor (KVM)
OVS
IoTvnet
WLC Windows 3rd Party vnet
vFP(t)
Internal NIC
BR0 BR1 Hypervisor UCS-E
(KVM)
NFV-OS
GE0 GE1
Internal NIC
OVS vnet vnet UCS-E
GE1 GE2
GE0 GE1
UCS-E GE
GE (PoE)
NIM
BR0 BR1
GE (PoE) OVS
GE NIC
Internal (MGF) IOSd
NIM
UCS-E
GE0 GE1
GE (MGF) IOSd WAAS Snort
cisco
FPGAInternal NIC
#CLUS WAAS Snort 44
NIM
cisco
GE (PoE) BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights
Hypervisor (KVM) reserved.
UCS-E Cisco Public
XE
NIM
GE0 GE1
FPGA
N
High Availability
• WAN connections for each ENCS
• HA solution based on ISRv failure detection
• Only ISRv is in HA mode using HSRP
• vNIC failure detection using Track Feature in ISRv & EEM Scripts
• Based on ISRv failure detection WAN traffic will be switched to the
new Active System
• No HA support on NFVIS itself. No master/slave mode on NFVIS
#CLUS BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 45
Upgrading NFVIS - GUI
#CLUS BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 46
Upgrading NFVIS - CLI
• Upload upgrade file
• scp root@<Server_IP>/Cisco_NFVIS_Upgrade-3.8.1-FC3.nfvispkg
intdatastore:Cisco_NFVIS_Upgrade-3.8.1-FC3.nfvispkg
#CLUS BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 47
VM Life Cycle
Management
BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 48
Enterprise NFV Solution Architecture
Common
Orchestration and
Management across
Software host
API
Interface
Platform
Management NFVIS Hypervisor
Virtual
Switching
managing
virtualization and
hardware
#CLUS BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 49
NFVIS VM/VNFs
• Supported VMs in NFVIS 3.8.1
• ISRv
• ASAv
• vWAAS
• vEdge
• Windows/Linux
• 3rd Party VMs (PaloAlto, Fortinet etc.,)
#CLUS BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 50
VNF Image Packaging
BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 51
VNF Image Packaging
• Converting qcow2 and img images into tar.gz
• Not Mandatory
• Simplify deployment for complex VNF
• Support for Day 0 configuration for 3rd Part VNF
• Easy to scale out deployments
• A tar.gz file containing
• qcow2 disk image (*.qcow)
• Image properties file (Image_properties.xml)
• Package Manifest (package.mf)
• Optional Bootstrap configuration file (ovf-env.xml)
• Other files (Ex: license)
#CLUS BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 52
VNF Image Package Files
• Package Manifest (package.mf)
• Checksum
• File type, name
• Image properties file (Image_properties.xml)
• VNF Type
• Resource requirement (vCPU, Memory etc.,)
• Profile
#CLUS BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 53
VNF Image Packaging Utility
• This is an enhanced packaging process that allows the VM owner to run the nfvpt.py utility as a
command with a combination of parameters to package the VM.
• The VM packaging utility contains the following
• nfvpt.py—It is a python based packaging tool that bundles the VM raw disk image/s along with VM specific
properties.
• image_properties_template.xml—This is the template file for the VM image properties file, and has the
parameters with default values. If the user provides new values to these parameters while creating the VM
package, the default values get replaced with the user-defined values.
• nfvis_vm_packaging_utility_examples.txt—This file contains examples on how to use the image packaging
utility to package a VM image.
#CLUS BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 54
View of a registered Package
#CLUS BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 55
Managing a deployed VM
#CLUS BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 56
Console Access to VNFs
Console Access
#CLUS BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 57
Console Access to ISRv - CLI
• Provision with serial port (image_properties.xml)
• <console_type_serial>true</console_type_serial>
• Enable serial port for console – accessing from UI console
• platform console serial
• Save and reload ISRv
#CLUS BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 58
Console Access to ISRv – CLI (Contd.)
• Logon to NFVIS
rcdn5408B#
rcdn5408B# show system deployments
NAME ID STATE
----------------------------------------------------------
rcdn5-4-rcdn5408-isrv.rcdn5-4-rcdn5408-isrv 3 running
rcdn5408B#
rcdn5408B# vmConsole rcdn5-4-rcdn5408-isrv.rcdn5-4-rcdn5408-isrv
Connected to domain rcdn5-4-rcdn5408-isrv.rcdn5-4-rcdn5408-isrv
Escape character is ^]
rcdn5-4-rcdn5408-isrv#
#CLUS BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 59
Deploying VM using ISO - Upload
#CLUS BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 60
Deploying VM using ISO - Profile
#CLUS BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 61
Deploying VM using ISO - Deployment
#CLUS BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 62
Deploying VM using ISO – ISO Booting
Console
#CLUS BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 63
VM Service Chaining - Overview
service-net
wan-net lan-net
wan-
lan-bridge
bridge
#CLUS BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 64
Example Packet Flows
LAN -> WAN
1. Frame arrives LAN GEx with ISRv
MAC Address
2. GE bridged to NFVIS-vSwitch
ISRv
WAAS ASAv Win WLC Linux
IWAN
3. Lan-net of vSwitch connects to
Hypervisor (KVM)
ASAv
Tap7 Tap6 Tap5 Tap3 Tap2
NFVIS
Wan-
net
Lan-Net to vSwitch Ser-net
Ser-net
5. vSwitch Ser-net connects to ISRv
6. ISRv sends back to Ser-net with
WAN WAN LAN
NIC NIC NIC destination vWAAS
GE5 GE4 GE0 GE1 GE2 GE3
7. vWAAS processes (compresses)
Packet and sends back to ISRv via
Ser-net
DST SRC
DMacISRv SMac Payld
ISRv routes the frame to WAN GE
SRC
8.
#CLUS BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 65
Resource (CPU)
Management
BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 66
Understanding CPU Resources – Hyper threading
Enabled
Socket 0
Core 1
CPU #1 CPU #2
Core 4 Core 2
CPU #7 CPU #8 CPU #3 CPU #4
Core 3
CPU #5 CPU #6
Core 3
CPU #3
#CLUS BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 68
VM Types
• Low-latency VM & non low-latency VM
• It is a flag (true or false) in image properties
• Low-latency VM
• Intend to provide predictable and guaranteed services
• Requires one dedicated physical Core for each VCPU
• Router (ISRv), Firewall (ASAv), vWAAS
• Non low-latency VM
• Don’t require dedicated physical core for each of VCPU
• Oversubscription allowed for non low-latency VMs
• 1 logical CPU can be shared by multiple VCPUs of non low-latency VM
• Tiny Linux, win2k
#CLUS BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 69
How CPUs are assigned
• Physical cores (/ logical CPUs) are assigned to VM based on the
number of VCPUs requested when VM is deployed or updated
• System Usage
• 1 CPU Core is reserved
• low-latency VM
• Dedicate 1 physical Core to 1 VCPU. The logical CPUs on this physical core can
not be assigned to any other VCPU anymore
• non low-latency VM
• Assign 1 logical CPU to 1 VCPU. This logical CPU can be shared by other VCPU
of non low-latency VM
#CLUS BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 70
vCPU Allocations
Socket-0
• ISRv – 4 vCPUs (low-latency)
Core-0 Cpu-0 Sys Reserved Cpu-8 Sys Reserved
• ASAv – 2 vCPUs (low-latency) Core-1 Cpu-1 Linux (vcpu-0), Win Cpu-9 Linux (vcpu-1)
• Linux – 2 vCPUs (non low- Core-2 Cpu-2 ASAv (vcpu-1) Cpu-10 ASAv (reserved)
• Windows – 1 vCPUs (non low- Core-4 Cpu-4 ISRv (vcpu-3) Cpu-12 ISRv (reserved)
#CLUS BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 71
Plan VM deployment
• Deploy low-latency VMs first
• Use API to pre-check CPU resources before deploying a VM or
updating a VM
• Stop deploying / updating if there is not sufficient CPU resources
• Check CPU allocation and CPU assignment
#CLUS BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 72
View CPU Allocation
#CLUS BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 73
CPU – vCPU Assignment Example
#CLUS BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 74
Designing and
Provisioning using DNA
Center
BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 75
Enterprise NFV Solution Architecture
Common
Orchestration and
Management across
Software host
API
Interface
Platform
Management NFVIS Hypervisor
Virtual
Switching
managing
virtualization and
hardware
#CLUS BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 76
What’s DNA Center
• Appliance Server
• Enhanced APIC-EM
• Network Design
• Proactive Assurance
• Policy
• Automated Provisioning
#CLUS BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 77
Design
BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 78
Supported Platform
#CLUS BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 79
Design
Image Repository
Network Settings
IOS
Address Pools
H/W Platform
Platform LAN
#CLUS BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 80
Network Settings & Image Repository
• DHCP, DNS, NTP, Syslog and SNMP Server for that Site
• Credentials
• CLI
• SNMP
• HTTP (Read & Write) – UI Credential of NFVIS
• IP Address Pools (LAN, Service, Management & WAN-Internal)
#CLUS BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 81
Network Profile
#CLUS BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 82
Network Profile
#CLUS BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 83
Summary
• Detailed summary of the profile is
available
• Each device selection populates the
configuration details
• Hardware recommendation provided
depending on the profile configuration
#CLUS BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 84
Provision
BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 85
Device Discovery for Provisioning
Discovery
Inventory – Not
Inventory - Claim device to site Provisioned
PnP Unclaimed Ready for
provisioning
Inventory –
Discovery
Not
Wizard
Provisioned
#CLUS BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 86
Provisioning Workflow
Choose the Router WAN
• WAN Interface Configuration
• Services Configuration
device and Profile Configuration • Lan-Net, Mgmt-Net, Service-Net Selection
Custom
Configuration • Custom Template Selection
Summary
#CLUS BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 87
Provision Sites
#CLUS BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 88
Troubleshooting
BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 89
Platform troubleshooting
BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 90
CLI – tech-support
• CLI Command ‘tech-support’ collects all relevant logs from the
system. Output at /data/intdatastore/tech-support
• ‘show system file-list’ – gives location of the file
#CLUS BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 91
GUI – tech-support
#CLUS BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 92
Service Status
#CLUS BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 93
Port Spanning
• Interfaces
• Physical Interface
• LAN SRIOV
• VM’s vNIC
• Sample Configuration
• configure terminal
monitor session 1
bridge wan-br
source interface GE0-0
destination vm-vnic Linux2 0
commit
#CLUS BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 94
Port Spanning
• Verification
• Show system monitor session
• system monitor session 1
bridge wan-br
destination_vlan "“
destination_interface vnic0
source_vlans "“
source_rx_interfaces "GE0-0“
source_tx_interfaces "GE0-0“
source_all false
statistics "tx_bytes=142660, tx_packets=1380"
#CLUS BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 95
Packet Capture - CLI
• Packet capture on a physical port
• tcpdump port eth0
• Output: pcap-location
/data/intdatastore/pktcaptures/tcpdump_eth0.pcap
• Packet capture on a vNIC:
• tcpdump time 10 vnic tenant-name admin deployment-name rcdn5-4-
rcdn5408-isrv vm-name rcdn5-4-rcdn5408-isrv vnic-id 3
• Output: pcap-location /data/intdatastore/pktcaptures/rcdn5-4-
rcdn5408-isrv_rcdn5-4-rcdn5408-isrv_vnic3.pcap
#CLUS BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 96
Packet Capture - GUI
#CLUS BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 97
Host System Monitoring
#CLUS BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 98
Changing default int-mgmt-net network
• Default subnet 10.20.0.0 clashing with existing network
• Changing the subnet process
• Need NFVIS 3.7.1 or above
• Remove any VMs
• Commands
• Config
• no vm_lifecycle networks network int-mgmt-net subnet int-mgmt-subnet
• vm_lifecycle networks network int-mgmt-net
• subnet address 20.30.25.0 gateway 20.30.0.1 netmask 255.255.255.0
• commit
#CLUS BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 99
Troubleshooting VM
related issues
BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 100
Image Registration Logs
#CLUS BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 101
Image Registration Logs - Success
#CLUS BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 102
Image Registration Logs - Failure
#CLUS BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 103
NFVIS Notification - GUI
#CLUS BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 104
NFVIS Notification - CLI
• Gives information on event changes in the system
• NFVIS sends notifications for
• vmlcEvents (VM Lifecycle)
• nfvisEvents (NFVIS)
rcdn5408B# show notification stream vmlcEvent last 1
notification
eventTime 2018-05-04T03:38:46.063+00:00
vmlcEvent
status FAILURE
status_code 500
status_message Image creation failed. VIM Driver: "Mismatched checksum found for: image_properties.xml please verify
the file contents. Expected:58c91998e9822cc5b6c6d342d704bef29434a1e8
Actual:508bee6bef9a58660e99e313b31f59252a57e9af"
user_name admin
image isrv-universalk9.16.6.02.tar.gz
vmlcEvent event
type CREATE_IMAGE
rcdn5408B#
#CLUS BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 105
Deployment Troubleshooting
• Low Latency – One dedicated physical core for each vCPU
#CLUS BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 106
Deployment Troubleshooting
vcpu count unavailable
#CLUS BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 107
Provisioning
Troubleshooting
BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 108
Pnp Status - CLI
show pnp status
#CLUS BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 109
Pnp Logs
#CLUS BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 110
Pnp troubleshooting -Normal
• 2018-05-01 16:52:53,842 - AGENT - INFO - Server work request:2018-05-01 16:52:53,842 - AGENT - INFO - <?xml version='1.0'
encoding='UTF-8'?><pnp xmlns="urn:cisco:pnp" version="1.0" udi="PID:ENCS5408/K9,VID:V01,SN:FGL2031106P" usr="admin"
pwd="********" noCheckTime="60" postReloadPriv="ztd"><request xmlns="urn:cisco:pnp:config-upgrade" correlator="Cisco-PnP-
1.0-15-f727fd20-eaa1-433d-85ee-c4d6d2273610-1"><config
details="errors"><copy><source><uri>api/v1/file/onetimedownload/35d3c76a-c1ba-4d09-80b6-
423434882b03</uri></source></copy></config><noReload xsitype="xs:string"></noReload></request></pnp>2018-05-01
16:52:53,842 - AGENT - INFO - *** Receive Server Request ***: type config-upgrade
• 2018-05-01 16:52:54,461 - AGENT - INFO - *** Client Work Response ***:2018-05-01 16:52:54,461 - AGENT - INFO - <?xml
version="1.0" encoding="UTF-8"?><pnp xmlns="urn:cisco:pnp" version="1.0" udi="PID:ENCS5408/K9,VID:V01,SN:FGL2031106P"
sid="a5d8a46c-d22a-4aaf-83df-6bc8c74541b0"><response xmlns="urn:cisco:pnp:config-upgrade" success="1" correlator="Cisco-
PnP-1.0-15-f727fd20-eaa1-433d-85ee-c4d6d2273610-1"/></pnp>
• 2018-05-01 16:52:54,744 - AGENT - INFO - *** Server Response ***2018-05-01 16:52:54,744 - AGENT - INFO - <?xml
version='1.0' encoding='UTF-8'?><pnp xmlns="urn:cisco:pnp" version="1.0"
udi="PID:ENCS5408/K9,VID:V01,SN:FGL2031106P"><info xmlns="urn:cisco:pnp:work-info" correlator="Cisco-PnP-1.0-15-f727fd20-
eaa1-433d-85ee-c4d6d2273610-1"><workInfo><bye></bye></workInfo></info></pnp>
#CLUS BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 111
Pnp troubleshooting - Problem
• 2018-05-01 16:53:09,363 - AGENT - INFO - Server work request:2018-05-01 16:53:09,364 - AGENT - INFO - <?xml version='1.0'
encoding='UTF-8'?><pnp xmlns="urn:cisco:pnp" version="1.0" udi="PID:ENCS5408/K9,VID:V01,SN:FGL2031106P" usr="admin"
pwd="********"><request xmlns="urn:cisco:pnp:backoff" correlator="Cisco-PnP-1.0-18-1add7b59-bd4c-4f0b-970f-35382df5fe75-
1"><backoff><reason>Routine
backoff</reason><callbackAfter><hours>48</hours><minutes>0</minutes><seconds>0</seconds></callbackAfter></backoff></reque
st></pnp> 2018-05-01 16:53:09,364 - AGENT - INFO - *** Receive Server Request ***: type backoff
• 2018-05-01 16:53:09,367 - AGENT - INFO - *** Client Work Response ***:2018-05-01 16:53:09,367 - AGENT - INFO - <?xml
version="1.0" encoding="UTF-8"?><pnp xmlns="urn:cisco:pnp" version="1.0" udi="PID:ENCS5408/K9,VID:V01,SN:FGL2031106P"
sid="a5d8a46c-d22a-4aaf-83df-6bc8c74541b0"><response xmlns="urn:cisco:pnp:backoff" success="1" correlator="Cisco-PnP-1.0-
18-1add7b59-bd4c-4f0b-970f-35382df5fe75-1"><callbackAfter>172800</callbackAfter></response></pnp>
• 2018-05-01 16:53:09,643 - AGENT - INFO - *** Server Response ***2018-05-01 16:53:09,643 - AGENT - INFO - <?xml
version='1.0' encoding='UTF-8'?><pnp xmlns="urn:cisco:pnp" version="1.0"
udi="PID:ENCS5408/K9,VID:V01,SN:FGL2031106P"><info xmlns="urn:cisco:pnp:work-info" correlator="Cisco-PnP-1.0-18-
1add7b59-bd4c-4f0b-970f-35382df5fe75-1"><workInfo><bye></bye></workInfo></info></pnp>
#CLUS BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 112
DNA Center - Provisioning Status
#CLUS BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 113
DNA Center Logs
#CLUS BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 114
Agenda
• Enterprise NFV
• NFVIS Architecture
• VM Life Cycle
• Designing and Provisioning
using DNA Center
• Troubleshooting
#CLUS BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 115
Complete your online session evaluation
#CLUS BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 116
Continue
your Demos in
the Cisco
Walk-in
self-paced
Meet the
engineer
Related
sessions
education campus labs 1:1
meetings BRKARC-2014
BRKCRS-3447
BRKRST-2557
#CLUS Presentation ID © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 117
Thank you
#CLUS BRKARC-2012 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 118
#CLUS