- Preface
- New and Changed Information
- Cisco IWAN Application Overview
- Configuring and Setting Up the Hub Site
- Managing Branch Sites
- Administering Application Policies
- Monitoring and Troubleshooting Sites
- Backup and Restore, Recovery, and Delete
- Upgrading the Cisco IWAN Application
- Brownfield Validation Messages
Backup and Restore, Recovery, and Delete
Backup and Restore
Backup and Restore Recommendations
We recommend the following for the proper working of backup and restore:
- Run in multihost mode. This enables active high availability (HA) thereby reducing the backup and recovery windows.
- Before you use the devices to provision the site, we recommend that you save the running configuration in bootflash in the IWAN_RECOVERY.cfg file so that the configuration can be restored if needed.
- If a site is deleted, the routers are reloaded with the configuration that is saved in the IWAN_RECOVERY.cfg file.
- Perform a backup everyday to maintain a current version of your database and files.
- Perform a backup and restore after you initiate changes in the system.
- Do not use backup and restore to undo any intent that you performed earlier. Use workflows supported in the application to accomplish intent.
- Track devices that are added to Cisco IWAN or have their certificates updated.
- Track devices that are deleted from Cisco IWAN or have their certificates revoked.
Backup and Restore Scenarios
Backup and restore works in the following scenarios:
- The controller is in a stable state with respect to IWAN application business intent.
- Cisco IWAN application business intent has not been initiated between backup and restore.
- Site status is in success or failure state, with no site recovery in progress.
- No scheduled jobs are active in the same period.
Backup and restore does not work in the following scenarios:
- Cisco IWAN is handling application business intent, which includes internal database operations and device policy updates.
- There is a risk in Cisco APIC-EM where the controller and the network is out of sync after a restore and consequentially some or all sites might be out of policy (as displayed on the Site Status screen). Some out of policy situations, such as security related issues might not be detected.
- Workflows performed on the Cisco IWAN application during the backup and restore operation, will be lost and cannot be tracked or retrieved. The following table shows workflow scenarios with possible workarounds:
Recovery
Recovering a Cisco IWAN Site
Use this procedure to recover a site when site provisioning fails.
Step 1 From the Cisco IWAN home page, click Manage Branch Sites. The Sites page opens.
Step 2 Click the Site(s) tab. From the Action column in the Site Status page, click the Recovery icon.
After attempting to recover a site, if the site recovery is a success, the site moves to the Success state, otherwise the Recovery icon appears again allowing you to retry recovering the site.
You can attempt to recover a site multiple times. However, if a site cannot be recovered, the only option is to delete a site.
Post Provisioning Recovery for Hub and Branch Sites
The post provisioning recovery feature allows you to reapply the last change to the hub and spoke devices after the sites have been provisioned.
Recovery can be attempted multiple times. To recover a hub or a branch site, click the Recovery icon in the Action column in the Site Status page.
If recovery fails after multiple attempts, you can choose to delete the site permanently by clicking the delete X icon in the Action column in the Site Status page.
Delete
Deleting a Hub Site
You can delete a primary hub if the primary hub is in a failed state and no branch sites have been provisioned.
If both the primary hub and transit hub are in failed state, you must delete the transit hub first in order to delete the primary hub. If the delete operation succeeds, both the primary hub and transit hub are reset to the brownfield validation state.
When a hub is deleted after hub provisioning fails, the Cisco IWAN application does the following:
- Revokes the PKI certificate and trustpoint.
- Releases the IP addresses to the IP address pool.
- Deletes the hub from the inventory.
If the delete operation succeeds, the hub is removed from Sites page.
Note The hub site is deleted on a best-effort basis. If the devices are unreachable, they are not restored to the original configuration. In this case, you must manually clean up the configuration on the devices. See Manually Cleaning Up Devices.
You can re-provision the hub from the Configure Hub Site page as part of the hub provisioning (see Wizard Step 5—Configuring the IWAN Aggregation Site.
Deleting a Transit Hub
You can delete a transit hub irrespective of the state of the transit hub—whether it is provisioned or failed.
When a transit hub is deleted, IWAN performs the following:
- Revokes the PKI certificate and trustpoint from all devices in the transit hub.
- Releases the IP addresses to the IP address pool.
- Deletes the transit hub from inventory.
- Cleans the Network and Wireless Services (NWS) state.
If the delete operation succeeds, the transit hub is removed from the Sites page.
Note The transit-hub site is deleted on a best-effort basis. If the devices are unreachable, they are not restored to the original configuration. In this case, you must manually clean up the configuration on the devices. See Manually Cleaning Up Devices.
Deleting Branch Sites
You can delete branch sites from IWAN irrespective of the branch state—in progress, provisioned, or failed.
Step 1 From the Cisco IWAN home page, click Manage Branch Sites. The Sites page opens.
Step 2 Click the Site(s) tab. From the Action column in the Site Status page, click the X icon to delete the site.
Note Branch sites are deleted on a best-effort basis. If the devices are unreachable, they are not restored to the bootstrap configuration. In this case, you must manually clean up the configuration on the devices. See Manually Cleaning Up Devices.
When a branch site is deleted, the Cisco IWAN application performs the following:
- Revokes the PKI certificates and trust points.
- Releases the IP addresses from IP address pools.
- Cleans the site information from the database.
- Does the following to try to revert the routers of the deleted site to the bootstrap configuration file: IWAN_RECOVERY.cfg. Does the following:
– Copies the IWAN_RECOVERY.cfg to the startup configuration.
See Backup and Restore.
After the site is deleted, the branch devices are removed from the Devices tab and are displayed in the unclaimed device list, thereby, allowing you to re-provision the branch site.
Manually Cleaning Up Devices
After a hub site, transit-hub site, or branch site delete operation, the devices in the site are deleted on the best-effort basis. If the devices are unreachable, they are not restored to the original configuration. In this case, you must manually clean up the configuration on the devices.
Use this procedure to manually clean up the configuration on the devices.
Step 1 Remove the IWAN PKI trust point. Use the following command:
no crypto pki trustpoint sdn-network-infra-iwan
Step 2 Remove the IWAN RSA key from NVRAM. Use the following commands:
crypto key zeroize rsa sdn-network-infra-iwan
Step 3 Restore the original configuration. Use the following commands:
config replace bootflash:<original-config-file> force
RPRE-GA-1-HUB-INET# config terminal
Enter configuration commands, one per line. End with CNTL/Z.
PRE-GA-1-HUB-INET(config)# no crypto pki trustpoint sdn-network-infra-iwan
% Removing an enrolled trustpoint will destroy all certificates
received from the related Certificate Authority.
Are you sure you want to do this? [yes/no]: yes
% Be sure to ask the CA administrator to revoke your certificates.
PRE-GA-1-HUB-INET(config)# crypto key zeroize rsa sdn-network-infra-iwan
Do you really want to remove these keys? [yes/no]: yes
PRE-GA-1-HUB-INET(config)# end
PRE-GA-1-HUB-INET# write erase
Erasing the nvram filesystem will remove all configuration files! Continue? [confirm]
PRE-GA-1-HUB-INET# config replace bootflash:clean-config force
%EIGRP: Deleting base topology is not allowed.
% Interface GigabitEthernet0/0/4 IPv4 disabled and address(es) removed due to enabling VRF IWAN-TRANSPORT-2% Profile is applied to Tunnel11-head-0 (head) and possibly other crypto maps
% No such key-chain% Profile is applied to Tunnel11-head-0 (head) and possibly other crypto maps% Profile is applied to Tunnel11-head-0 (head) and possibly other crypto maps% Profile is applied to Tunnel11-head-0 (head) and possibly other crypto maps% Profile is applied to Tunnel11-head-0 (head) and possibly other crypto maps
The rollback configlet from the last pass is listed below:
no crypto ikev2 profile FVRF-IKEv2-IWAN-TRANSPORT-2
Adding or Deleting Site Prefixes
You can add or delete site prefixes after hub provisioning.
Note This option is only available for L3 Brownfield sites.
Step 1 From the Cisco IWAN home page, click Manage Branch Sites. The Sites page opens.
Step 2 Click the Site(s) tab. From the Action column in the Site Status page, click the Update Site Prefix ( pen) icon. The LAN Site Prefix dialog box opens.
Step 3 To add a site prefix, click the + icon.
Step 4 To delete a site prefix, select the check box next to the prefix that you want to delete, and then click the X icon.
Note You cannot delete all prefixes. You must have at least one prefix per site.