CISCO-LoGO

CISCO NX-OS Advanced Network Operating System

CISCO-NX-OS-Advanced-Network-Operating-System-PRODUCT

Nkọwapụta

  • Ngwaahịa: Cisco Nexus 9000 Series switch
  • Ụdị akwadoro: Cisco NX-OS and Cisco Application Centric Infrastructure (ACI) boot mode
  • Memory Requirement: Switches with only 16G memory require a RAM upgrade to support ACI mode

Ntuziaka ojiji ngwaahịa

Converting to ACI Boot Mode

  1. Verify the standby supervisor module is in the ha-standby state for dual-supervisor systems.
  2. Ensure the Application Policy Infrastructure Controller (APIC) is running Release 1.0(2j) or later.
  3. Check that the ACI image is version 11.0(2x) or later.
  4. Verify no EPLD image upgrades are required using the show install all impact epld command.
  5. Update the switch to the latest release.
  6. Copy the ACI image from the APIC to the switch via SCP.
  7. For dual-supervisor systems, copy the ACI image to the standby supervisor module.
  8. Configure the switch to not boot from Cisco NX-OS.
  9. Chekwaa nhazi.
  10. Boot the active and standby supervisor modules with the ACI image.

Converting from ACI Boot Mode Back to Cisco NX-OS:

Mara: Follow these steps carefully to avoid issues during the conversion.

  1. Prior to booting the ACI image, run the copy running-config startup-config command.
  2. Boot the active and standby supervisor modules with the desired Cisco NX-OS image.

Converting from Cisco NX-OS to ACI Boot Mode and from ACI Boot Mode Back to Cisco NX-OS
This chapter describes how to convert a Cisco Nexus 9000 Series switch from Cisco NX-OS to Cisco Application Centric Infrastructure (ACI) boot mode.

Rịba ama
If you need to convert the mode of operation from NX-OS to ACI and the NX-OS switch model has only 16G memory, then the switch requires an RAM memory upgrade to support the ACI mode. For more information about upgrading the RAM of such switches, refer to Adding an 8, 16, or 32 Gigabyte DIMM to a Cisco Nexus 9000 Series Switch.

Isiakwụkwọ a nwere akụkụ ndị a:

  • Converting to ACI Boot Mode, on page 1
  • Converting a Replacement Standby Supervisor to ACI Boot Mode, on page 4
  • Converting Back to Cisco NX-OS, on page 5

Converting to ACI Boot Mode

You can convert any Cisco Nexus 9000 Series switch from Cisco NX-OS to ACI boot mode.

Rịba ama You cannot convert a Cisco Nexus 3164Q or 31128PQ switch to ACI boot mode.

Tupu ịmalite

Verify whether your switch hardware is supported in ACI boot mode by checking the “Supported Hardware” section of the Release Notes for Cisco Nexus 9000 Series ACI-Mode Switches. For example, line cards are not compatible between Cisco NX-OS and ACI boot mode. Remove or turn off any unsupported modules (using the poweroff module module command). Otherwise, the software uses a recovery/retry mechanism before powering down the unsupported modules, which can cause delays in the conversion process. For dual-supervisor systems, use the show module command to make sure that the standby supervisor module is in the ha-standby state. Verify that the Application Policy Infrastructure Controller (APIC) is running Release 1.0(2j) or a later release. Make sure that the ACI image is 11.0(2x) or a later release. Use the show install all impact epld epld-image-name command to verify that the switch does not require any EPLD image upgrades. If any upgrades are required, follow the instructions in the Cisco Nexus 9000 Series FPGA/EPLD Upgrade Release Notes.

Usoro

Nzọụkwụ 1: Verify that the switch is running the latest release.

ExampLe:
switch(config)# show version Cisco NX-OS filenames begin with “nxos”.

Nzọụkwụ 2:  Follow these steps to copy the ACI image from the APIC:

  • Set the IP address on the mgmt0 interface of the switch to allow connectivity between this interface and the APIC.
  • Enable SCP services on the switch.
    ExampLe:
    switch(config)# feature scp-server
  • From the APIC CLI, use SCP to copy the firmware image from the APIC to the active supervisor module on the switch.
    ExampLe:
    admin@apic1:aci>scp -r /firmware/fwrepos/fwrepo/switch-image-name
    admin@switch-ip-address:switch-image-name
  • For dual-supervisor systems, copy the ACI image to the standby supervisor module.
    Example
    switch(config)# copy bootflash:aci-image bootflash://sup-standby/

Nzọụkwụ 3 Follow these steps to boot to the ACI image:

  • Configure the switch to not boot from Cisco NX-OS.
    ExampLe:
    switch(config)# no boot nxos
  • Chekwaa nhazi.
    ExampLe:
    switch(config)# copy run-config startup-config

Rịba ama
You must run the copy running-config startup-config command prior to booting the ACI image. Do not run it after you enter the boot aci command.

  • Boot the active and standby supervisor modules with the ACI image.
    ExampLe:
    switch(config)# boot aci bootflash:aci-image-name
    Ịkpachara anya
    Do not enter the copy running-config startup-config command after the boot aci command. If you do, the switch will go to the loader> prompt.
  • Verify the integrity of the file by displaying the MD5 checksum.
    ExampLe:
    switch(config)# show file bootflash:aci-image-name md5sum
  • Reload the switch.
    ExampLe:
    gbanwee(config)# bugharịa
  • Banye na mgba ọkụ dị ka onye nchịkwa.
    ExampLe:
    Nbanye: admin

Nzọụkwụ 4
Verify whether you must install certificates for your device.

ExampLe:
admin@apic1:aci> openssl asn1parse -in /securedata/ssl/server.crt Look for PRINTABLESTRING in the command output. If “Cisco Manufacturing CA” is listed, the correct certificates are installed. If something else is listed, contact TAC to generate and install the correct certificates for your device.

Rịba ama
You might need to install certificates for Cisco Nexus 9000 Series switches that were shipped prior to May 2014. To run this command, contact TAC.

Ihe a ga-eme ọzọ
See the ACI and APIC documentation to configure and operate your switch in ACI mode:

Converting a Replacement Standby Supervisor to ACI Boot Mode

If you ever need to replace the standby supervisor module in a dual-supervisor system, you will need to copy and boot the ACI image for use with the replacement standby supervisor.

Tupu ịmalite
Copy the ACI image to a USB drive.

Usoro

Nzọụkwụ 1: Reload the switch.

ExampLe:
gbanwee # bugharịa

Nzọụkwụ 2: Enter a break sequence (Ctrl-C or Ctrl-]) during the initial boot sequence to access the loader> prompt.

ExampLe:
Ctrl-C loader>

Nzọụkwụ 3: Plug the USB drive containing the ACI image into the standby supervisor USB slot.

Nzọụkwụ 4: Boot the ACI image.

Example
loader> boot usb#:aci-image-name

Rịba ama
If you have two USB drives, enter the dir command to see which drive contains the ACI image. Then specify either usb1 or usb2 in the boot command.

Nzọụkwụ 5: Banye na mgba ọkụ dị ka onye nchịkwa.

Nbanye: admin

Nzọụkwụ 6 Copy the ACI image from the USB drive to the switch.

ExampLe:
switch# copy usb#:aci-image-name bootflash:aci-image-name

Converting Back to Cisco NX-OS

You can convert a Cisco Nexus 9000 series switch from ACI boot mode back to Cisco NX-OS.

Usoro

  • Nzọụkwụ 1: Reload the switch.
    ExampLe: gbanwee # bugharịa
  • Nzọụkwụ 2: Enter a break sequence (Ctrl-C or Ctrl-]) during the initial boot sequence to access the loader> prompt.
    ExampLe: Ctrl-C loader>
  • Nzọụkwụ 3: Configure the boot process to stop at the switch(boot)# prompt.
    ExampLe: loader> cmdline recoverymode=1
  • Nzọụkwụ 4 Boot the active supervisor module with the Cisco NX-OS image.
    ExampLe: loader> boot nxos.9.2.3.bin
    Rịba ama
    If the Cisco NX-OS image mentioned in the boot variable is not present in the bootflash, the system falls back to the loader prompt during the boot sequence. To recover the switch from the loader prompt, boot the system through a different image present in the bootflash, perform a tftpboot, or boot through a USB device.
    Rịba ama
    For some Cisco NX-OS releases and Cisco Nexus 9000 Series switches, the following error message appears:
    • !!Fatal error!!
    • Can’t reserve space for RPM repo
    • Please free up bootflash space and reboot

If you see this error message, start over from Step 1. After Step 3, enter the cmdline init_system command and then go to Step 4. The switch boots into the normal Cisco NX-OS prompt and skips the switch(boot)#  prompt.

Nzọụkwụ 5 Restores the switch’s file system partitioning to the default settings. The bootflash filesystem is reset to Cisco NX-OS partitioning, and the Cisco NX-OS image is deleted.

ExampLe:
switch(boot)# init system

Nzọụkwụ 6
Completes the upload of the nx-os image file.

ExampLe:
switch(boot)# load-nxos

Rịba ama
For some Cisco Nexus 9000 series switches, the device does not load with the normal Cisco NX-OS prompt (switch#) and instead comes up as “bash-4.2#”. In this case, you must power cycle the device, jump to loader, and boot the NX-OS image using either TFTP or an USB method.

  • For TFTP method – First assign a IP address and gateway to the device using the set ip ip address subnet mask and the set gw gateway address commands. This is required as the init system command in the above step erases all available configurations on the device

Example
loader> set ip 1.1.1.2 255.255.255.255.0 loader>set gw 1.1.1.1 Then use the tftp command to load the image. loader> boot tftp://<tftp server ip>/<nxos-image-name>

  • For USB method – Mount the USB on the switch and execute the dir coammnd on the loader to see the contents of the bootflash folder and the USB device.

Example

  • loader > dir
  • usb1::
  • lost+found
  • /nxos.9.x.y.bin
  • Then boot the NX-OS image using the following command:.
  • loader> boot usb1:/nxos-image
  • Example: boot usb1:/nxos.9.x.y.bin

Nzọụkwụ 7

Once you boot the Cisco NX-OS image, the device will load as an NX-OS switch, and you can continue with the remaining steps. Re-copy the Cisco NX-OS image into bootflash: and set the appropriate boot variables to ensure that the system boots the Cisco NX-OS image on the next reload.

Example

TFTP example

  • switch# copy tftp://tftp-server-ip/nxos-image-name bootflash:
  • switch# nhazi ọnụ
  • switch(config)# boot nxos bootflash:nxos-image-name
  • switch(config)# copy run-config startup-config
  • switch(config)# end

USB example

  • switch# copy usb1:nxos-image-name bootflash:
  • switch# nhazi ọnụ
  • switch(config)# boot nxos bootflash:nxos-image-name
  • switch(config)# copy run-config startup-config
  • switch(config)# end
  • Nzọụkwụ 8: Wait for the system controllers to come up, which could take approximately 15 to 20 minutes. File system differences between ACI and Cisco NX-OS require a one-time reformatting change during the ACI to Cisco NX-OS conversion. Subsequent reloads with the Cisco NX-OS image will be faster.
  • Nzọụkwụ 9:Verify that the active supervisor module and the system controllers are in the active state.
  • Nzọụkwụ 10:For dual-supervisor systems, follow Steps 3 through 6 on the standby supervisor.
  • Nzọụkwụ 11: Log in to the switch and verify that it is running Cisco NX-OS software.

Using SCP on the ACI Shell to Load NX-OS Image into Bootflash

Use this task if you have a switch in ACI mode and must convert it to NX-OS mode, but are unable to perform a TFTP boot and the USB option is not available. The following steps describe how to boot the switch on ACI mode, configure the management port, and copy the software image to the bootflash partition. The leaf switch boots into ACI mode in fabric discovery state.

Usoro

CISCO-NX-OS-Advanced-Network-Operating-System-FIG-1 CISCO-NX-OS-Advanced-Network-Operating-System-FIG-2

Example  CISCO-NX-OS-Advanced-Network-Operating-System-FIG-3

FAQs

Can all Cisco Nexus 9000 Series switches be converted to ACI boot mode?

No, Cisco Nexus 3164Q and 31128PQ switches cannot be converted to ACI boot mode.

Akwụkwọ / akụrụngwa

CISCO NX-OS Advanced Network Operating System [pdf] Ntuziaka onye ọrụ
3164Q, 31128PQ, NX-OS Advanced Network Operating System, NX-OS, Advanced Network Operating System, Operating System, System

Ntụaka

Hapụ ikwu

Agaghị ebipụta adreesị ozi-e gị. Akara mpaghara achọrọ akara *