cisco IOS — Copying Configuration Files from Flash Memory to the Startup or Running Configuration

Copying Configuration Files from Flash Memory to the Startup or Running Configuration To copy a configuration file from flash memory directly to your startup configuration in NVRAM or your running configuration, enter one of the commands in Step 2: Procedure Managing Configuration Files Copying Configuration Files from Flash Memory to the Startup or Running Configuration Command or Action Purpose Step 4 boot system {ftp:[[[//[username [:password ]@]location ]/directory ]/filename ] | rcp:[[[//[username@]location ]/directory ]/filename ] | tftp:[[[//location ]/directory ]/filename ]} Example:

Device(config)# boot system ftp://user1:guessme@example.com/dir10/file1 Specifies that the startup configuration file be loaded from the network server at startup. Step 5 service config Example: Device(config)# service config Enables the switch to download configuration files at system startup. Step 6 end Example: Device(config)# end Exits global configuration mode. Step 7 copy system:running-config nvram:startup-config Example: Device# copy system:running-config nvram:startup-config Saves the configuration. Command or Action Purpose Step 1 enable Example: Device> enable Enables privileged EXEC mode. • Enter your password if prompted. Step 2 Do one of the following:

• Loads a configuration file directly into NVRAM or Managing Configuration Files 23