cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
337
Views
1
Helpful
3
Replies

Backup to USB Drive

bdelisa
Level 1
Level 1

I'm looking to automatically backup to a USB drive when any configuration changes are made to a C9300, C9407, or C2960 catalyst switch. Is there a configuration that will accomplish this task? If there is not can I set something up to backup on a time interval?

3 Replies 3

Joseph W. Doherty
Hall of Fame
Hall of Fame

If supported, maybe possible using archive features and/or EEM script.

Torbjørn
Spotlight
Spotlight

You can achieve this by using the archive functionality of both IOS and IOS-XE. The most minimal config that will make a config backup to USB upon saving configuration looks like this:

 

archive
 path usb0:
 write-memory

 

You can read more about this here: https://www.cisco.com/c/en/us/td/docs/routers/ios/config/17-x/syst-mgmt/b-system-management/m_cm-config-versioning.html 

Happy to help! Please mark as helpful/solution if applicable.
Get in touch: https://torbjorn.dev

BTW, although @Torbjørn also suggests the archive feature, again might not be supported.

Likely it's supported on 9k Catalysts, it's the 2960 that might not (especially if an original series model with an early IOS - it too might be fine as the archive feature has been around some time now).

Review Cisco Networking for a $25 gift card