cisco IOS — Compressing the Configuration File

device# %SYS-5-CONFIG: Configured from host1-config by ftp from 172.16.101.101 Copy FTP Startup-Config The following example specifies a remote username of netadmin1. Then it copies the configuration file named host2-confg from the netadmin1 directory on the remote server with an IP address of 172.16.101.101 to the startup configuration: device# configure terminal device(config)# ip ftp username netadmin1 device(config)# ip ftp password mypass device(config)# end device# copy ftp: nvram:startup-config Address of remote host [255.255.255.255]? 172.16.101.101 Name of configuration file[host1-confg]?

host2-confg Configure using host2-confg from 172.16.101.101?[confirm] Connected to 172.16.101.101 Loading 1112 byte file host2-confg:![OK] [OK] device# %SYS-5-CONFIG_NV:Non-volatile store configured from host2-config by ftp from 172.16.101.101 What to Do Next After you have issued the copy EXEC command, you may be prompted for additional information or for confirmation of the action. The prompt displayed depends on how much information you provide in the copy command and the current setting of the file prompt global configuration command.

Maintaining Configuration Files Larger than NVRAM To maintain a configuration file that exceeds the size of NVRAM, perform the tasks described in the following sections: Compressing the Configuration File To compress configuration files, complete the tasks in this section: Procedure Managing Configuration Files Copy FTP Startup-Config 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. Managing Configuration Files 19