Software Rollback; Software Clean - Cisco Catalyst 3850 Deployment Manual

Hide thumbs Also See for Catalyst 3850:
Table of Contents

Advertisement

[1 2]: Creating pending provisioning file
[1 2]: Finished installing software.
[1 2]: Committing provisioning file
[1 2]: Do you want to proceed with reload? [yes/no]: yes
[1 2]: Reloading

Software Rollback

The software rollback command allows you to revert to an earlier Cisco IOS XE Software package after a
software install. Software rollback is functional only when at least one rollback package with the file name
packages.conf.00- is present. The rollback file is created automatically during the Cisco Catalyst 3850 Switch
Cisco IOS XE Software image update process.
This example shows the flash directory of a switch with an available rollback package:
Switch# dir flash:
Directory of flash:/
38738
12
<Output Truncated>
To revert to an earlier software image, use the software rollback command with the rollback package name:
Switch# software rollback provisioning-file flash:packages.conf.00-

Software Clean

Flash space in a Cisco Catalyst 3850 Switch can be recovered safely by using the software clean command. This
command deletes any redundant package files (.pkg), bundle files (.bin), or provisioning files (packages.conf*),
without deleting the active .pkg and .conf file.
Do not use the delete command to remove unnecessary files from flash, because you might also delete the active
.pkg or .conf files that are required for booting the switch.
Note:
because the required rollback files are deleted by this operation.
This example shows the results of the software clean command on a stack of two Cisco Catalyst 3850 Switches:
Switch# software clean
Preparing clean operation ...
[1 2]: Cleaning up unnecessary package files
[1 2]: No path specified, will use booted path flash:packages.conf
[1 2]: Cleaning flash:
[1]: Preparing packages list to delete ...
© 2015 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information.
Added cat3k_caa-platform.SPA.03.07.00E.pkg
Added cat3k_caa-wcm.SPA.10.3.100.0.pkg
-rw-
856
-rw-
1248
Jul 7 2014 07:07:46 +00:00
After you use the software clean command, the switch cannot revert to an earlier software image,
In use files, will not delete:
cat3k_caa-base.SPA.03.07.00E.pkg
cat3k_caa-drivers.SPA.03.07.00E.pkg
New software will load on reboot.
Apr 14 2015 21:06:25 +00:00
vlan.dat
packages.conf.00-
Page 9 of 36

Advertisement

Table of Contents
loading

Table of Contents