cisco IOS — Storing a Startup Configuration File on an RCP Server

Examples Storing a Running Configuration File on an RCP Server The following example copies the running configuration file named runfile2-confg to the netadmin1 directory on the remote host with an IP address of 172.16.101.101: Device# copy system:running-config rcp://netadmin1@172.16.101.101/runfile2-confg Write file runfile2-confg on host 172.16.101.101?[confirm] Building configuration...[OK] Connected to 172.16.101.101 Device# Storing a Startup Configuration File on an RCP Server The following example shows how to store a startup configuration file on a server by using RCP to copy the file: Managing Configuration Files Examples Command or Action Purpose Example:

Device> enable • Enter your password if prompted. Step 2 configure terminal Example: Device# configure terminal Enters global configuration mode. Step 3 ip rcmd remote-username username Example: Device(config)# ip rcmd remote-username NetAdmin1 (Optional) Changes the default remote username. Step 4 end Example: Device(config)# end (Optional) Exits global configuration mode. Step 5 Do one of the following: • copy system:running-config rcp: [[[//[username@]location ]/directory ]/filename ] • copy nvram:startup-config rcp: [[[//[username@]location ]/directory ]/filename ] Example: Device# copy system:running-config rcp:

//NetAdmin1@example.com/dir-files/file1 • Specifies that the device running configuration file is to be stored on an RCP server or • Specifies that the device startup configuration file is to be stored on an RCP server Managing Configuration Files 12