Copying A Configuration File From The Device To A Tftp Server - Cisco Catalyst 9500 Manual

System management configuration guide, cisco ios xe amsterdam 17.2.x
Hide thumbs Also See for Catalyst 9500:
Table of Contents

Advertisement

Copying a Configuration File from the Device to a TFTP Server

Step 5
Examples
In the following example, the device prompt name of the device is configured. The comment line,
indicated by the exclamation mark (!), does not execute any command. The hostname command is
used to change the device name from device to new_name. By pressing Ctrl-Z (^Z) or entering the
end command, the user quits configuration mode. The copy system:running-config
nvram:startup-config command saves the current configuration to the startup configuration.
Device# configure terminal
Device(config)# !The following command provides the switch host name.
Device(config)# hostname new_name
new_name(config)# end
new_name# copy system:running-config nvram:startup-config
When the startup configuration is NVRAM, it stores the current configuration information in text
format as configuration commands, recording only non-default settings. The memory is checksummed
to guard against corrupted data.
Note
Copying a Configuration File from the Device to a TFTP Server
To copy configuration information on a TFTP network server, complete the tasks in this section:
System Management Configuration Guide, Cisco IOS XE Amsterdam 17.2.x (Catalyst 9500 Switches)
218
Command or Action
Device(config)# end
copy system:running-config
nvram:startup-config
Example:
Device# copy system:running-config
nvram:startup-config
Some specific commands might not get saved to NVRAM. You need to enter these commands again
if you reboot the machine. These commands are noted in the documentation. We recommend that
you keep a list of these settings so that you can quickly reconfigure your device after rebooting.
Managing Configuration Files
Purpose
Saves the running configuration file as the
startup configuration file.
You may also use the copy running-config
startup-config command alias, but you should
be aware that this command is less precise. On
most platforms, this command saves the
configuration to NVRAM. On the Class A Flash
file system platforms, this step saves the
configuration to the location specified by the
CONFIG_FILE environment variable (the
default CONFIG_FILE variable specifies that
the file should be saved to NVRAM).

Advertisement

Table of Contents
loading

Table of Contents