cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
462
Views
0
Helpful
1
Replies

FXOS API install firmware

rubenapi
Level 1
Level 1

I'm trying to install a firmware using the FXOS API and Anisble.

I have successfully upgraded the FXOS version from 2.10(1.234) to 2.12(1.29) using this method. Now I want to install the SSD-patch affecting our device, but I get an error message:
"Internal error, could not determine if platform software package 1.0.19 supports container application instances"

I'm using a POST request against /api/sys/firmware/install-platform-fw with the following body:

 

{
"firmwarePlatformPack": [
        { "dn": "sys/firmware/install-platform-fw",
          "forceDeploy": "no"
          "platformBundleVersion": "1.0.19"}
]
}

 

This bundle works:
Firmware Package fxos-k9.2.12.1.29.SPA:
Version: 2.12(1.29)
Type: Platform Bundle
State: Active
Time Stamp: 2023-08-11T07:14:37.000

This bundle does not work:
Firmware Package fxos-k9-fpr4k-firmware.1.0.19.SPA:
Version: 1.0.19
Type: Firmware Fpr4k Bundle
State: Active
Time Stamp: 2023-08-23T07:04:55.000

 

Any suggestion how i can automaticly start the installation of the firmware "fxos-k9-fpr4k-firmware.1.0.19.SPA" ?

1 Reply 1

To automatically start the installation of the firmware fxos-k9-fpr4k-firmware.1.0.19.SPA using FXOS API, you can follow the steps below:

Step 1: Transfer the firmware upgrade package to the Firepower 4100/9300 chassis using either Firepower Chassis Manager or the FXOS CLI.

Firepower Chassis Manager:
- In Firepower Chassis Manager, choose System ) Updates.
- Click Upload Image to open the Upload Image dialog box.
- Click Browse to navigate to and select the firmware upgrade package (fxos-k9-fpr4k-firmware.1.0.19.SPA) that you want to upload.
- Click Upload.

FXOS CLI:
- Enter firmware mode: `scope firmware`
- Download the FXOS firmware image to the Firepower 4100/9300 chassis: `download image URL`
- Specify the URL for the file being imported, for example: `tftp://hostname/path/image_name`
- To monitor the download process: `show download-task image_name detail`

Step 2: Verify that the firmware upgrade package has been successfully uploaded to the Firepower 4100/9300 chassis: `scope firmware show package`

Step 3: Install the firmware upgrade package using the FXOS CLI.
- Enter firmware mode: `scope firmware`
- View the version number of the firmware package: `show package`
- To install the firmware package: `scope firmware-install`
- Install the firmware package using the pack-version: `install firmware pack-version version_number`
- The system will verify the firmware package and ask for confirmation to proceed with the installation process.
- After verifying the firmware package, the system will notify you that the installation process can take several minutes to complete and that the system will reboot during the update process.
- Enter yes to proceed with the installation.

Step 4: Monitor the upgrade process: `show detail`
- The firmware upgrade process should show the upgrade status as Upgrade Complete Successful after the process has completed successfully.

Step 5: View the current firmware version:
- Enter top mode: `top`
- Enter chassis mode: `scope chassis 1`
- View the supervisor firmware version: `show sup version`
- View the network module firmware version: `show nm-fpga-version`

Note: Make sure to review all the necessary information and perform backups before upgrading the firmware package.

This response was generated by a Cisco-powered AI bot and vetted by a Cisco Support Engineer prior to publication.
This is part of a monitored experiment to see if the bot can help answer questions alongside community members. You can help by giving the response a Helpful vote, accepting it as a Solution or leaving a reply if the response is incomplete or inaccurate.
Review Cisco Networking for a $25 gift card