Configure and unconfigure an SR package upgrade or downgrade and trigger the upgrade or downgrade after configuring the SR package upgrade or downgrade and SR package version using the CLI.
This section demonstrates how to configure and unconfigure an SR package upgrade or downgrade and how to trigger the upgrade or downgrade after configuring the SR package upgrade or downgrade and SR package version using the CLI.
For more information about SR package upgrades or downgrades, see Silent roll package upgrades.
Follow these steps to configure a silent roll package upgrade or downgrade using the CLI:
Procedure
|
1. |
To configure the SR package upgrade:
Example:
Switch# configure
Switch(config)# firmware
Switch(config-firmware)# switch-group new
Switch(config-firmware-switch)# sr-version aci-srpkg-dk9.1.0.0.bin
Switch(config-firmware-switch)# sr-upgrade
Switch(config-firmware-switch)# show running-config
# Command: show running-config firmware switch-group new
# Time: Wed Mar 13 15:55:59 2019
firmware
switch-group new
sr-version aci-srpkg-dk9.1.0.0.bin
sr-upgrade
exit
exit
|
|
2. |
To unconfigure the SR package upgrade:
Example:
Switch# configure
Switch(config)# firmware
Switch(config-firmware)# switch-group new
Switch(config-firmware-switch)# no sr-upgrade
Switch(config-firmware-switch)# show running-config
# Command: show running-config firmware switch-group new
# Time: Wed Mar 13 16:17:01 2019
firmware
switch-group new
sr-version aci-srpkg-dk9.1.0.0.bin
exit
exit
|
|
3. |
To trigger the upgrade after configuring the SR package version and SR package upgrade:
Note
When the SR package upgrade is configured, the SR package version should not be empty for triggering the upgrade. And if the SR package upgrade is not configured, the firmware version (switch version) should not be empty.
Example:
Switch# firmware upgrade switch-group new
|