How to Backup and Restore Cisco IOS Configuration
Backup running/startup configuration to a TFTP server or USB flash, and restore it when needed.
Step-by-step
- Ensure TFTP server is running and reachable from the device
- Backup running config:
copy running-config tftp:→ enter TFTP server IP and filename - Backup startup config:
copy startup-config tftp:→ enter TFTP server IP and filename - Backup to USB flash (if supported):
copy running-config usbflash0:/config.cfg - To restore:
copy tftp: running-configorcopy tftp: startup-config - After restoring to startup-config, reload:
reload - Verify:
show running-configandshow startup-config
Reference: www.tutorialspoint.com