Published On: August 6ᵗʰ, 2019 02:10

Cisco Enterprise Network Function Virtualization Infrastructure Software Configuration Guide, Release 3.6.1

The Cisco Enterprise NFVIS upgrade image is available as a .nfvispkg file. Currently, downgrade is not supported.

Ensure that you copy the image to the NFVIS server before starting the upgrade process. Always specify the exact path of the image when registering the image.

Use the scp command to copy the upgrade image from a remote server to your NFVIS server. When using the scp command, you must copy the image to the "/data/intdatastore/uploads" folder on the NFVIS server. Alternatively, you can upload the image to the NFVIS server using the System Upgrade option from the Cisco Enterprise NFVIS portal.

The following is an example on how to use the scp command to copy the upgrade image:


scp -P 22222 nfvis-351.nfvispkg admin@192.0.2.9:
/data/intdatastore/uploads/nfvis-351.nfvispkg

The upgrade process comprises two tasks:

  • Registering the image using the system upgrade image-name command.

  • Upgrading the image using the system upgrade apply-image command.

Registering an Image

To register an image:


configure terminal
system upgrade image-name nfvis-351.nfvispkg location /data/intdatastore/uploads
commit


Note

You must verify the image registration status before upgrading the image using the system upgrade apply-image command. The package status must be valid for the registered image.


Verifying the Image Registration

Use the show system upgrade reg-info command in the privileged EXEC mode to verify the image registration.


nfvis# show system upgrade reg-info                  
PACKAGE 
NAME             LOCATION                               VERSION        STATUS UPLOAD DATE 
--------------------------------------------------------------------------------------------------------------------
nfvis-351.nfvispkg /data/upgrade/register/nfvis-351.nfvispkg 3.6.1-722 Valid 2017-04-25T10:29:58.052347-00:00
 
  

Upgrading the Registered Image

To upgrade the registered image:


configure terminal
system upgrade apply-image nfvis-351.nfvispkg scheduled-time 5
commit

Verifying the Upgrade Status

Use the show system upgrade apply-image command in the privileged EXEC mode


nfvis# show system upgrade apply-image
UPGRADE 
NAME   STATUS     FROM     UPGRADE TO 
---------------------------------------------------------------------------------------------
nfvis-351.nfvispkg SUCCESS 3.5.0 3.5.1
  

Upgrade APIs and Commands

Upgrade APIs

Upgrade Commands

  • /api/config/system/upgrade

  • /api/config/system/upgrade/image-name

  • /api/config/system/upgrade/reg-info

  • /api/config/system/upgrade/apply-image

  • system upgrade image-name

  • system upgrade apply-image

  • show system upgrade reg-info

  • show system upgrade apply-image