cisco IOS — Copying a Configuration File from the rcp Server to the Device

Configure using tokyo-confg from 172.16.2.155? [confirm] Y Booting tokyo-confg from 172.16.2.155:!!! [OK - 874/16000 bytes] 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 the rcp Server to the Device To copy a configuration file from an rcp server to the running configuration or startup configuration, complete the following tasks:

Procedure Managing Configuration Files What to Do Next 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 (Optional) Enters configuration mode from the terminal. This step is required only if you override the default remote username (see Step 3). Step 3 ip rcmd remote-username username Example: Device(config)# ip rcmd remote-username NetAdmin1 (Optional) Specifies the remote username. Step 4 end Example: Device(config)# end (Optional) Exits global configuration mode. This step is required only if you override the default remote username (see Step 2).

Step 5 Do one of the following: • copy rcp:[[[/[username@]location]/directory]/filename]system:running-config • copy rcp:[[[/[username@]location]/directory]/filename]nvram:startup-config Example: Device# copy Copies the configuration file from an rcp server to the running configuration or startup configuration. Managing Configuration Files 16