Moduletek Laboratory performed an IOS XR system upgrade on a Cisco NCS 540 router and found that its system file is a .tar compressed file, which differs from regular .bin firmware files. Below, we share the step-by-step method to upgrade the system software version of the NCS 540 router based on a practical case.
The model of the upgraded device is Cisco NCS 540-ACC-SYS. The router’s existing IOS XR software version is 7.7.12, and the target upgrade version is 7.11.2. The system file name is NCS540-iosxr-7.11.2.tar, which contains a zip file. Inside the zip file are a base image file with the .iso extension and several optional functional packages with the .rpm extension.
Note: IOS XR system file download directory:
1. Check the release note of the target version to confirm whether the existing version supports direct upgrade to the target version and determine the correct upgrade procedure.
2. Check the device storage space; the system file storage directory requires at least 2 GB of free space. To free up space, execute the command to remove inactive packages:
install remove inactive
3. Enable the automatic FPD (Field-Programmable Device) upgrade function, which is usually enabled by default.
4. Copy the system file from a USB drive to the router’s harddisk: directory. Execute the command:
copy disk2:NCS540-iosxr-7.11.2.tar harddisk:NCS540-iosxr-7.11.2.tar
First, execute dir ? to view the name of the USB drive recognized by the device. In this case, the USB drive is recognized as disk2:. Then execute the command to view the files contained in the USB drive:
dir disk2:
Note: This upgrade only uses the USB drive to upload the system file; the upgrade cannot be installed directly from the USB drive.
5. Navigate to the harddisk: folder, then execute the command to extract the system files to the same harddisk: folder:
tar -xvf NCS540-iosxr-7.11.2.tar
Exit the directory once the extraction is complete.
6. Execute the command to install the IOS XR image file; the device will automatically reboot to complete the installation during the process:
install source harddisk: ncs540-mini-x-7.11.2.iso noprompt
7. After the router starts successfully, verify that the system software version has been updated to the target version. Then execute the command to commit and save the installation to finalize the upgrade:
install commit
Moduletek Limited is at your service.