Examples Copy RCP Running-Config The following example copies a configuration file named host1-confg from the netadmin1 directory on the remote server with an IP address of 172.16.101.101, and loads and runs the commands on the device: device# copy rcp://netadmin1@172.16.101.101/host1-confg system:running-config Configure using host1-confg from 172.16.101.101? [confirm] Connected to 172.16.101.101 Loading 1112 byte file host1-confg:![OK] device# %SYS-5-CONFIG: Configured from host1-config by rcp from 172.16.101.101 Copy RCP 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 rcmd remote-username netadmin1 device(config)# end device# copy rcp: nvram:startup-config Address of remote host [255.255.255.255]? 172.16.101.101 Name of configuration file[rtr2-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 rcp 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.
Copying a Configuration File from an FTP Server to the Device To copy a configuration file from an FTP server to the running configuration or startup configuration, complete the tasks in this section: Procedure Managing Configuration Files Examples Command or Action Purpose rcp://[user1@example.com/dir10/fileone] nvram:startup-config Command or Action Purpose Step 1 enable Enables privileged EXEC mode. Managing Configuration Files 17