File systems and TFTP: backing up and restoring the IOS image and the configuration
Sign in to read this lesson
The copy command is not only for copying the running-config to the startup-config: show file systems shows all file systems the router knows (flash, nvram, tftp, ftp, http, scp and more). copy flash: tftp: backs up the IOS image and copy startup-config tftp: backs up the configuration to a TFTP server. copy tftp: startup-config overwrites the file in NVRAM. copy tftp: running-config does not overwrite the running-config but merges the two configurations: lines in the file update the existing lines, and anything not in the file stays unchanged.
What you will learn
show file systemsshows the file systems the router knows: flash0:, nvram:, tftp:, ftp:, http:, scp: and more. Thecopycommand works with all of them.copy flash0: tftp:backs up the IOS image andcopy startup-config tftp:backs up the configuration to a TFTP server. IOS asks for the server address and file names interactively.copy tftp: startup-configoverwrites the startup-config in NVRAM.copy tftp: running-configdoes not overwrite the running-config but merges it: lines in the file update the same lines, and configuration not in the file stays as it is.- Keep backups on an external server, not on the device itself; check the file name and size with
show flash0:first.
The lesson has 5 key points, an explanation and 5 questions. It opens with a package.