PurposeCommand or Action
Device> enable
Enters global configuration mode.configure terminal
Example:
Step 2
Device# configure terminal
(Optional) Changes the default remote
username.
ip rcmd remote-username username
Example:
Step 3
Device(config)# ip rcmd remote-username
NetAdmin1
(Optional) Exits global configuration mode.end
Example:
Step 4
Device(config)# end
Do one of the following:
Step 5
• Specifies that the device running
configuration file is to be stored on an RCP
server
• copy system:running-config rcp:
[[[//[username@]location ]/directory
]/filename ]
or
• copy nvram:startup-config rcp:
[[[//[username@]location ]/directory
]/filename ]
• Specifies that the device startup
configuration file is to be stored on an RCP
server
Example:
Device# copy system:running-config rcp:
//NetAdmin1@example.com/dir-files/file1
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:
System Management Configuration Guide, Cisco IOS XE Amsterdam 17.2.x (Catalyst 9500 Switches)
220
Managing Configuration Files
Examples