Scene Introduction
In a network operations lab at SubnetBits, Professor Network is sitting at a table full of wireless devices, explaining to Sophie, who joins him, the process of upgrading Cisco AP images running in FlexConnect mode.
Smart AP image upgrade Introduction
- Primary AP Download: Initially, one AP per model, in each Site Tag, is elected as primary and downloads the new image from the controller over the WAN. If the primary AP is not selected manually, the AP with the lowest MAC address will become the Primary AP.
- Subordinate APs Upgrade: This primary AP then acts as a server to other APs of the same model in the local network. These subordinate APs download the image from the primary AP using TFTP, significantly reducing the WAN load.
- Concurrent Downloads: Up to three subordinate APs can download the image simultaneously from the primary. If more APs try to download at once, they use a random back-off timer to retry later.
-
AP families sharing the same image:
-
ap3g3: Aironet® 4800, 3800, 2800, 1560 Series
-
ap1g5: Aironet 1815i, 1815w, 1815m, 1540, 1840 Series
-
ap1g4: Aironet 1852, 1832
-
ap1g7: Catalyst 9115AX, 9120AX Series
-
ap1g6: Catalyst 9117AX Series
-
ap1g6a: Catalyst 9130AX Series
-
AireOS Smart AP Image Upgrade Configuration
Step 1 |
Navigate to Wireless > FlexConnect Groups on the controller. |
Step 2 |
Select the desired FlexConnect Group. |
Step 3 |
Go to the Image Upgrade tab. |
Step 4 |
Enable the FlexConnect AP Upgrade option by checking the box. |
Step 5 |
Set the Slave Maximum Retry Count and select the upgrade image (Primary, Backup, or Abort). Slave Maximum Retry Count is the number of times a subordinate AP tries to download the upgrade image from a primary AP. If the download fails after these attempts, the upgrade occurs over the WAN, from the controller. The default setting is 44 retries, with a range from 1 to 63. |
Step 6 |
Assign a primary AP for the upgrade using the AP Name drop-down and click Add Master. |
Step 7 |
Apply your settings. |
Step 8 |
Click FlexConnect Upgrade to upgrade. |
On the other hand, IOS XE Efficient Image Upgrade is more automated. An AP per model is dynamically chosen as the primary AP. It downloads the image from the controller and then serves it to a maximum of three subordinate APs per model. This reduces WAN latency and makes the upgrade process more efficient and less reliant on manual configuration.
In IOS XE, the Efficient Image Upgrade is enabled by default under every Flex Profile. Below are the steps to get to this configuration.
IOS XE Efficient Image Upgrade Configuration
Step 1 |
Navigate to Configuration > Tags & Profiles > Flex. |
Step 2 |
Click on Add to add a new Flex Profile. |
Step 3 |
Efficient Image Upgrade is enabled by default. |