Convert Cisco Nexus 9000 Between NX-OS and ACI Mode: Checks, Steps, and Rollback

Cisco supports converting a Nexus 9000 switch in both directions: from standalone NX-OS to ACI mode, and from ACI mode back to NX-OS. Neither direction keeps the switch configuration, and both need an outage on that switch. Going to ACI, the switch boots an ACI image copied from the APIC (or pulled automatically through POAP) and then takes all of its configuration from the APIC. The switch must be on the ACI supported-hardware list for the target release and have at least 24 GB of memory. Going back to NX-OS, you remove the switch from the APIC, break into the loader, boot an NX-OS image, and run init system, which repartitions the bootflash and erases it. Cisco allows 15 to 20 minutes for that first NX-OS boot. Check the exact PID before you plan the window: several current Nexus 9300 models ship with 16 GB of memory and need a DIMM before they can run ACI.

Conversion Paths Between NX-OS and ACI Boot Modes

There are four ways to change the boot mode. Which one fits depends on the direction, on whether the switch already sits next to a working ACI fabric, and on whether it shipped with both images in the bootflash.

PathBest fitWhat it needsWhat is lost
NX-OS to ACI, manual image copyOne-off conversions, lab switchesmgmt0 reachability to the APIC, SCP enabled on the switchRunning NX-OS configuration; the NX-OS image can be deleted to free space
NX-OS to ACI, POAP auto-conversionRMA replacements, new leaf or spine, remote leafAPIC on ACI 5.2(3) or later, switch on NX-OS 7.x or later, a fabric port on an existing leaf or spineStartup configuration (erased so POAP can start)
ACI to NX-OSReusing ACI leaf or spine hardware as standalone switchesConsole access, an NX-OS image in bootflash or on USB or TFTPACI configuration, bootflash contents, fabric membership
Factory dual-image switchSupported models ordered with both images loadedConsole access to the loaderConfiguration does not carry across modes; formatting the bootflash erases both images
The four Nexus 9000 boot-mode conversion paths, what each one requires, and what each one erases.

To see which mode a switch runs today, use show version. NX-OS image files begin with nxos, and ACI image files begin with aci-n9000. Nexus Hyperfabric is a third operating system with its own conversion image. Cisco’s Hyperfabric conversion guide shows no direct path between ACI and Hyperfabric: a switch always goes through NX-OS on the way.

Prerequisites for ACI Mode: Hardware, Memory, EPLD, and Licenses

The conversion commands are short; these checks decide whether they work. Run them per product ID before you book the outage, because a missing DIMM or a pending EPLD upgrade found on the night turns one maintenance window into two.

ACI Supported Hardware and Line Card Compatibility

Check the PID in the Supported Hardware section of the Release Notes for Cisco Nexus 9000 Series ACI-Mode Switches, for the ACI release your fabric runs, not the release that was current when the switch was bought. On modular chassis, Cisco states that line cards are not compatible between NX-OS and ACI boot modes, so check every module, not only the chassis. Remove unsupported modules or power them off with poweroff module <number> before you convert. Otherwise the software retries each one before shutting it down, which slows the conversion. A chassis or fixed switch that is not on the list for your ACI release cannot join the fabric, so the fix is a supported model from the Nexus 9000 series switches range rather than a different conversion method.

Nexus 9300 Memory Requirements for ACI: 24 GB Minimum

Cisco’s memory-upgrade document for Nexus 9300 switches (updated April 2025) states that ACI software needs at least 24 GB of system memory. A switch with less than that needs a DIMM before it can boot ACI.

Six Nexus 9300 models with 16 GB base memory grouped by the DIMM each needs to reach the 24 GB ACI minimum: NXK-MEM-8GB or NXK-MEM-16GB
Six Nexus 9300 models ship with 16 GB and need an 8 GB or 16 GB DIMM to reach the 24 GB that ACI requires.

Cisco lists these models with 16 GB of base memory:

Nexus 9300 modelBase memoryDIMM to add for ACISpare DIMM PID
N9K-C93240YC-FX216 GB8 GBNXK-MEM-8GB
N9K-C93360YC-FX216 GB8 GBNXK-MEM-8GB
N9K-C93216TC-FX216 GB8 GBNXK-MEM-8GB
N9K-C93108TC-FX3P16 GB16 GBNXK-MEM-16GB
N9K-C93180YC-FX316 GB16 GBNXK-MEM-16GB
N9K-C9364C-GX16 GB16 GBNXK-MEM-16GB
Nexus 9300 models that ship with 16 GB of base memory and the DIMM each needs before it can run ACI mode.

The other models in the same Cisco table, such as the N9K-C93108TC-FX3, N9K-C9348GC-FX3 and N9K-C9364C-H1, ship with 32 GB or more and meet the floor as delivered. Base memory is what Cisco ships by default, so check the unit in front of you: a switch that has already run ACI, or was ordered with extra memory, may carry the DIMM. On NX-OS, show system resources reports total memory on the “Memory usage” line. On a switch already in ACI mode, read MemTotal from cat /proc/meminfo.

A worked example: an N9K-C93180YC-FX3 running NX-OS shows about 16 GB in show system resources. Before it can join an ACI fabric, it needs an NXK-MEM-16GB installed in slot 1 next to the standard DIMM, which brings it to 32 GB. The DIMM goes in with the switch powered off and the access panel removed, so schedule it in the same window as the conversion rather than discovering the shortfall after the ACI image fails to come up. Layer23-Switch supplies the NXK-MEM-8GB and NXK-MEM-16GB DIMMs alongside Nexus 9300 switches, so the memory can arrive with the hardware it belongs to.

EPLD Upgrade, APIC Release, and Certificate Checks

  • EPLD. Run show install all impact epld <epld-image-name>. If it reports required upgrades, apply them first, following the Cisco Nexus 9000 Series FPGA/EPLD Upgrade Release Notes.
  • Software floors. The APIC must run Release 1.0(2j) or later and the ACI switch image must be 11.0(2x) or later. The image you copy comes from the APIC firmware repository, so load the switch release your fabric runs into that repository first.
  • Dual supervisors. On a modular chassis, confirm with show module that the standby supervisor is in the ha-standby state.
  • Certificates. Nexus 9000 switches shipped before May 2014 may need Cisco manufacturing certificates installed. Cisco’s check reads /securedata/ssl/server.crt with openssl asn1parse and looks for the Cisco Manufacturing CA; Cisco says to contact TAC to run it and to install the correct certificates if they are missing.

NX-OS License File Backup and Factory Dual-Image Switches

If the switch has NX-OS licenses installed as files, copy them off the box before it boots ACI, so you can restore them if it ever returns to NX-OS. Cisco’s multi-image document shows the steps: find the .lic file with dir bootflash:, then copy it out, for example copy bootflash:license_FDO23180PXU_26.lic tftp 10.1.1.3.

Some models can leave the factory with two images in the bootflash: a current image of the mode you ordered and a long-lived image of the other mode. Cisco lists the N9K-C93180YC-EX, N9K-C93108TC-EX, N9K-C93180YC-FX, N9K-C93108TC-FX, N9K-C9364C, N9K-C9348GC-FXP, N9K-C9336C-FX2 and N9K-C93240YC-FX2. On these switches you switch modes by booting the other image from the loader. Do not format the bootflash: that erases both factory images.

Manual NX-OS to ACI Conversion With APIC SCP Image Copy

This is Cisco’s standard procedure in the NX-OS Software Upgrade and Downgrade Guide, Release 10.6(x). The APIC pushes the ACI image to the switch over SCP, so the switch needs an IP address on mgmt0 that the APIC can reach. The POAP alternative in the next section reaches the same result through a fabric port.

Side-by-side steps for converting a Nexus 9000 from NX-OS to ACI by manual SCP image copy from the APIC and by POAP auto-conversion
Manual conversion pushes the ACI image from the APIC over SCP; POAP auto-conversion lets the APIC hand the switch a script that downloads the image and converts it.

Step 1. Confirm the current release with show version.

Step 2. Give mgmt0 an IP address, then enable the SCP server:

switch(config)# feature scp-server

Step 3. From the APIC CLI, copy the switch image from the APIC firmware repository to the switch:

admin@apic1:aci> scp -r /firmware/fwrepos/fwrepo/switch-image-name admin@switch-ip-address:switch-image-name

Step 4. On a dual-supervisor chassis, copy the image to the standby supervisor:

switch(config)# copy bootflash:aci-image bootflash://sup-standby/

Step 5. Stop the switch from booting NX-OS, then save the configuration:

switch(config)# no boot nxos
switch(config)# copy running-config startup-config

Step 6. Set the ACI boot image, check the file, and reload:

switch(config)# boot aci bootflash:aci-image-name
switch(config)# show file bootflash:aci-image-name md5sum
switch(config)# reload

Order matters in steps 5 and 6. Cisco states that copy running-config startup-config must run before boot aci. If you save the configuration after boot aci, the switch drops to the loader> prompt on reload.

After the reload, log in as admin. The switch is now in fabric discovery. mgmt0 only carried the image copy, so the APIC sees the switch once its fabric ports are cabled to the fabric. It then appears under Nodes Pending Registration, where you register it with a node ID and name. From that point the switch has no local configuration to maintain. Everything it does comes from APIC policy.

POAP Auto-Conversion From NX-OS to ACI

Cisco added POAP auto-conversion in ACI 5.2(3) for the cases where manual conversion is slow: replacing a failed leaf or spine, adding switches to extend a fabric, and adding or replacing a remote leaf. The APIC acts as the DHCP server. It hands the new switch an address and a Python script, and the script downloads the ACI image and converts the switch. Cisco’s TechNote 222087 (July 2024) documents the workflow:

  1. In the APIC, open Fabric Membership, Registered Nodes, and choose Add with NX-OS to ACI Conversion.
  2. Select the existing leaf or spine and the interface the new switch will connect to. POAP works only on fabric ports.
  3. Make sure the new switch has no startup configuration. If it has one, run write erase and reload, or POAP will not start.
  4. Cable the new switch to that port and power it on. It appears under Nodes Pending Registration. Register it with its node ID and name.
  5. When the console asks whether to abort Power On Auto Provisioning, answer no and do not interrupt the boot.
  6. Wait for the switch to download the script and the ACI image and reboot. In Cisco’s example log, the image download took about four minutes.
  7. Confirm on the console that the switch shows “Fabric discovery in progress”.
  8. Cable the switch into its final position in the fabric. The POAP port was only the path for the conversion.
  9. Delete the conversion policy in the APIC. This also clears fault F427, which reminds you that a fabric port is still set up for POAP.

POAP does not skip the hardware checks above. A 16 GB switch still needs its DIMM before an automatic conversion can succeed.

ACI to NX-OS Conversion: Decommission, Loader Boot, and init system

The return trip has more steps, because the bootflash has to go back to NX-OS partitioning. Have an NX-OS image ready before you start. Either it is already in the bootflash (factory dual image, or copied earlier) or you put it on a USB drive or a TFTP server. Cisco also documents copying the image into the bootflash from the ACI shell with SCP, but that needs root access and goes through TAC.

First, release the switch from the fabric. In the APIC, open Fabric Membership, right-click the switch, choose Decommission, and select Remove from Controller (on APIC 6.0.x the button is Decommission & Remove). This removes the node from the fabric and frees its serial number from the node ID, so the APIC does not keep trying to manage it. Then follow Cisco’s 10.6(x) procedure on the switch console:

Step 1. Reload and press Ctrl-C (or Ctrl-]) during boot to reach loader>.

Step 2. Stop the boot at the boot prompt, then boot the NX-OS image:

loader> cmdline recoverymode=1
loader> boot nxos-image-name.bin

Step 3. Reset the bootflash to NX-OS partitioning, then finish loading NX-OS:

switch(boot)# init system
switch(boot)# load-nxos

init system deletes the bootflash contents, including the NX-OS image you just booted from.

Step 4. Copy the NX-OS image back into the bootflash, set the boot variable, and save:

switch# copy tftp://tftp-server-ip/nxos-image-name bootflash:
switch# configure terminal
switch(config)# boot nxos bootflash:nxos-image-name
switch(config)# copy running-config startup-config

From a USB drive, the copy source is usb1:nxos-image-name.

Step 5. Wait 15 to 20 minutes for the system controllers to come up, then check that the supervisor and system controllers are active with show module. The wait comes from the one-time file system reformat. Later reloads are faster.

Step 6. On a dual-supervisor chassis, Cisco’s procedure has you repeat the loader, init system and load-nxos steps on the standby supervisor.

The switch now runs NX-OS with an empty configuration. Restore any license files you saved earlier with install license bootflash:<license-file>, then build the standalone configuration from scratch. Nothing from ACI policy carries over. You can also delete the ACI image to free bootflash space.

ACI to NX-OS conversion steps from APIC decommission to show module, with the three failure states and the TFTP and USB boot options
The ACI-to-NX-OS sequence on the main line, with the three documented failure states and the recovery for each.

Troubleshooting ACI to NX-OS Boot Failures at loader> and bash

Three failure states come up on the way back to NX-OS. Cisco’s procedure documents all three, and they are also the questions engineers most often post in community threads.

  • “Can’t reserve space for RPM repo.” Some releases and models stop with this fatal error after booting the NX-OS image. Start over from the reload, and after cmdline recoverymode=1 also enter cmdline init_system before the boot command. The switch then comes up at the normal NX-OS prompt and skips switch(boot)#.
  • **The switch comes up at bash-4.2# instead of switch#.** Power-cycle it, break into the loader, and boot NX-OS over TFTP or from USB (below). init system erased the management settings, so TFTP needs an IP address and gateway set first.
  • The boot image is missing. If the image in the boot variable is not in the bootflash, the switch falls back to loader>. The loader cannot copy files: engineers who try copy usb1:... bootflash: at loader> report “Error 27: Unrecognized command”. Boot directly from USB or TFTP instead, then copy the image into the bootflash once NX-OS is up.

Booting from TFTP at the loader:

loader> set ip 192.0.2.10 255.255.255.0
loader> set gw 192.0.2.1
loader> boot tftp://tftp-server-ip/nxos-image-name.bin

Booting from USB at the loader (use dir to confirm the file name):

loader> dir
loader> boot usb1:/nxos-image-name.bin

After NX-OS boots, carry on from step 4 of the ACI-to-NX-OS procedure to copy the image into the bootflash and set the boot variable.

DCN Licensing and Memory Upgrades for the Target Mode

Under current subscriptions, licensing does not block a conversion. Cisco’s ACI ordering guide states that current data center networking (DCN) subscription licenses, in the Essentials, Advantage and Premier tiers, include both the ACI and the NX-OS feature sets. A switch on a current subscription keeps its entitlement in either mode. Two points still need checking. First, ACI licenses every leaf and every spine, so a converted spine needs a license too. Second, perpetual licenses cannot move between devices, and the ordering guide offers no perpetual-to-subscription migration. A perpetual entitlement bought for one mode needs a review before the switch changes mode. The full bill-of-materials difference between the two modes, including the APIC cluster that ACI adds, is laid out in Nexus 9300 NX-OS vs ACI mode.

On the hardware side, plan per PID: an ACI supported-hardware check for every chassis and line card, the memory figure from show system resources, and the DIMM where the switch is below 24 GB. Layer23-Switch’s CCIE engineers can check a PID list against the target ACI release before you order.

FAQ

Does converting a Nexus 9000 to ACI keep the NX-OS configuration?

No. The NX-OS configuration is not translated into ACI policy. After the ACI image boots, the switch joins fabric discovery with no local configuration, and the APIC supplies everything once you register the node. Export the NX-OS configuration before the conversion if you need it as a reference for building tenants, bridge domains and EPGs.

How long does an ACI to NX-OS conversion take?

The longest fixed wait is the first NX-OS boot: Cisco says 15 to 20 minutes for the system controllers to come up, because the file system is reformatted once during the conversion. Later reloads are faster. Dual-supervisor chassis take longer, because the standby supervisor goes through the same steps.

Can a Nexus 9000 switch go from ACI directly to Nexus Hyperfabric?

No. Cisco’s Hyperfabric conversion guide shows ACI to Hyperfabric as a two-step path through NX-OS, and the reverse path is the same. Hyperfabric conversion is also limited to specific models, such as the N9K-C93180YC-FX3 and N9K-C93108TC-FX3, and needs NX-OS 10.5(1) or later before the Hyperfabric image is applied.

Can NX-OS and ACI mode switches run in the same fabric?

No. An ACI fabric contains only ACI-mode switches registered to one APIC cluster. To migrate in stages, run an ACI fabric and an NX-OS fabric side by side and move workloads between them, converting switches as they are freed.

Expertise Builds Trust 200+ Countries • 21500+ Customers/Projects CCIE · JNCIE · HPE Master ASE · Dell Server/AI Expert

Latest Articles