Configuring and Monitoring IWAN
Cisco Intelligent WAN (IWAN) is a system that enhances collaboration and cloud application performance while reducing the operating cost of the WAN. This system leverages low-cost, high-bandwidth Internet services to increase bandwidth capacity without compromising the performance, availability, or security of cloud-based applications. Organizations can use IWAN to leverage the Internet as WAN transport, as well as for direct access to Public Cloud applications.
Prime Infrastructure positions the IWAN wizard workflow mostly for green field customers where the IWAN services need to be enabled for the first time. The enabled IWAN service cannot be modified for brown field customers. But customers can always overwrite the last-configured service by rewriting any of these services on required sites.
You can use Prime Infrastructure to design, configure, and monitor the IWAN services for an enterprise. Cisco IWAN requires the configuration of DMVPN, PFR, AVC and QOS as part of enabling IWAN services on different devices.
Prerequisites for Enabling IWAN Services
When designing or deploying IWAN services, configurations need to be decided. A network administrator needs to plan the branches on which the IWAN has to be enabled or reconfigured. In Prime Infrastructure, you can access a set of CVD validated out of the box IWAN templates by navigating to
Configuration > Templates > Features & Technologies > Feature Templates
. All the templates under this feature technology are tagged “IWAN”, and any new template that a user creates will automatically carry this tag and will appear in the IWAN workflow.
The tags that are automatically used for the templates are as follows:
Note The Minimum software version required for the templates are as follows:
IWAN-DMVPN–Cisco IOS Release 15.4 or later
IWAN-PFR–Cisco IOS Release 15.4 or later
IWAN-QOS–Cisco IOS Release 15.4 or later
DIA-ZBFW–Cisco IOS Release 15.4 or later
IWAN-AVC– See Configuring Application Visibility
– Cisco Validated Designs (CVD)-Cloud Web Security (CWS) Integrated Services Router-G2 platform from Cisco IOS Release 15.2(1)T1 or later
– CVD-CWS-Integrated Services Router-4000 platform from Cisco IOS Release 15.5(3)S1 or later
The tags that are used for the IWAN Hub and IWAN Branch Categories based on the Device roles are as follows:
– Master Controller: IWAN-HUB-Master-Controller
– MPLS Hub: IWAN-HUB-MPLS
– Internet Hub: IWAN-HUB-Internet
– Single Router Branch: IWAN-Branch-Single-Router
– Dual Router Branch-MPLS: IWAN-Branch-Dual-MPLS
– Dual Router Branch-Internet: IWAN-Branch-Dual-Internet
Users can create their own templates from the bundle templates or modify the out of the box design templates, which can be recreated from the CVD templates and displayed in the IWAN workflow.
Therefore, enabling the complete IWAN services through Prime Infrastructure is done based on two categories, SITE and ROLE. SITE can be HUB or SPOKE, and ROLE can be X, Y, Z, and so on. Depending on this selection, the templates will be organized and displayed in sequence for users to fill in the values. At the end of the workflow, the summary of the configurations to be deployed on the network is displayed. When the
button is clicked, the configurations are pushed to the network.
Ensure that the interface loopback 0 IP address is configured on all Master Controllers before deployment.
The loopback IP of the Master Controller should be permitted in the DC-LOCAL-ROUTES prefix-list in HUB-Border-MPLS and HUB-Border-Internet routers for Border routers to reach MC.
ip prefix-list DC-LOCAL-ROUTES seq 40 permit <MC loopback0 ip>/32
The DC_Prefix1 field in CVD-DMVPN-MPLS and CVD-DMVPN-Internet templates should match the DC subnet. If there is more than one subnet in DC, then the suffix “le 32” can be used to include all the subnets.
– Subnet A–172.29.10.0/30
– Subnet B–172.29.10.4/30
– Subnet C–172.29.10.8/30
– DC_Prefix1(x.x.x.x/x)–172.29.10.0/24 le 32
In CVD-DMVPN, CVD-DMVPN-Dual-Internet, and CVD-DMVPN-Dual-MPLS templates, the subnet mask of the Loopback interface needs to be entered in the Loopback-Subnet field.
%IPSEC-3-REPLAY_ERROR: IPSec SA receives an anti-replay error.
If this error message is seen on the HUB-Border-MPLS router, you may be able to resolve this by increasing the window size.
crypto ipsec security-association replay window-size 1024
Using the IWAN Wizard
Prime Infrastructure provides a wizard to help you design and deploy IWAN services.
Step 1 Select
Services > Network Services > IWAN Enablement
Step 2 Click
to choose the configuration.
Step 3 Choose the category, device role, overlay protocol and the technologies (DMVPN, PFR, QoS, AVC, DIA-ZBFW, CWS) that will be enabled through this workflow.
The CWS technologies will be enabled only for Single Router Branch and Dual Router Branch-Internet.
Step 4 (Optional) Choose the Post-IWAN template that can be used for pushing the required configuration after IWAN deployment.
Step 5 Click
to choose the devices on which you want to configure the specified features. To configure IWAN on multiple branches at the same time, select multiple devices and enter the values for each variable.
Step 6 Click
to choose the input option.
Step 7 Click
option, the wizard will guide you through entering the necessary values for the selected configuration.
Step 8 Alternately, click
option, to update all the template properties for the selected devices using CSV export/import mechanism.
a. Uncheck the
Do you want Optional Parameters
check box, if you want to skip the optional fields while filling the configuration value in the CSV file.
to download the CSV template to your local system.
c. Enter the configuration values in the downloaded CSV template.
to upload the updated CSV file.
Step 9 After entering the necessary configuration values, click
to confirm the device and template configuration values.
Step 10 Schedule the deployment job using
Prepare and Schedule
Step 11 Click
tab to deploy the template.
Post deployment, ensure that you enable routing between Master Controllers and Hub Border Routers and include the subnet of the loopback 0 interface as part of the routing domain.
Using PKI with IWAN-DMVPN Service
To use PKI certificates (for DMVPN only) in the IWAN workflow, you must first add a valid APIC-EM controller to Prime Infrastructure. See Integrating APIC-EM with Prime Infrastructure. The PKI option cannot be enabled if the CNS gateway is selected in the Global PnP/ZTD Settings (
Administration > Servers > APIC-EM Controller >Global PnP/ZTD Settings
). This is optional when you want to use a pre-shared key for IWAN DMVPN.
In the IWAN work flow, when the PKI option is enabled, in the back-end, the device is added to the APIC-EM Inventory and the PKI service is triggered to install the PKI certification on the device. The device can download the certificate in HTTP.
When the device is in the managed state, it can be used for IWAN provisioning. Here, PKI certificate-based authentication is done instead of using a pre-shared key.
Step 1 Choose
Services > Network Services > IWAN Enablement
Step 2 In the
Before You Begin
section, click Next.
Step 3 In the Choose Configuration section, select a category, device role from the drop-down lists. DMVPN, PFR, QOS, AVC values are auto-populated once the device role is selected. But these values can be edited. DMVPN is for PKI certificates only.
Step 4 Check the
check box so that the user can enable PKI certificate-based authentication for DMVPN Tunnels. Click Next.
Step 5 In the Select Devices section, select the devices and click Next.
Step 6 In the Demo_DMVPN_TEMP section, enter the values in the fields under Loopback, MPLS Tunnel and EDGRP. Click Apply and then click Next.
Step 7 In the CLI Summary section, the CLI commands in the DMVPN template are displayed along with the values that were entered by the user in the Demo_DMVPN_TEMP section. Click Next.
Step 8 In the Prepare and Schedule section, click Next if you want the job to start now and not recur. If you want the IWAN job to run at a later time in a recurring pattern, then specify the time and recurrence under Schedule. Specify the Job Option, if required.
Step 9 In the Confirmation section, click Deploy to configure the device.
Step 10 The confirmation message appears. Click OK. The User Jobs pane under Administration / Jobs appears. The status of the IWAN DMVNP configuration and PKI certificate provisioning on the device can be tracked in the Job dashboard.
When either of the IWAN DMVPN config or PKI fail, the overall status of the IWAN provisioning will be displayed as “Failed” and the details will display whether the IWAN DMVPN configuration or the PKI failed.
For example, if there is any failure in the PKI IWAN service, an error message “Failed to install PKI certificate on device” will be displayed on the Job page of IWAN. When PKI service fails, all jobs will fail.