07-18-2024 01:22 PM
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?
07-18-2024 01:30 PM
If supported, maybe possible using archive features and/or EEM script.
07-18-2024 02:17 PM - edited 07-18-2024 02:19 PM
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
07-18-2024 03:32 PM
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).
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide