Configuring the Device to Download the Host Configuration File To configure the Cisco IOS software to download a host configuration file from a server at startup, complete the tasks in this section: Procedure Managing Configuration Files Configuring the Device to Download the Host Configuration File Command or Action Purpose in order entered until it loads one. This procedure can be useful for keeping files with different configuration information loaded on a network server. Step 4 service config Example: Device(config)# service config Enables the system to automatically load the network file on restart. Step 5 end Example: Device(config)# end Exits global configuration mode.
Step 6 copy system:running-config nvram:startup-config Example: Device# copy system:running-config nvram:startup-config Saves the running configuration to the startup configuration file. Command or Action Purpose Step 1 enable Example: Device> enable Enables privileged EXEC mode. • Enter your password if prompted. Step 2 configure terminal Example: Device# configure terminal Enters global configuration mode. Step 3 boot host {ftp:[[[//[username [:password ]@]location ]/directory ]/filename ] | rcp:[[[//[username@]location ]/directory ]/filename ] | tftp:[[[//location ]/directory ]/filename ] } Example:
Specifies the host configuration file to download at startup, and the protocol to be used (FTP, RCP, or TFTP): • If you do not specify a host configuration filename, the device uses its own name to form a host configuration filename by Managing Configuration Files 33