What to Do Next
After you have issued the
copy
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 Device to an RCP Server
To copy a startup configuration file or a running configuration file from the device to an RCP server, use the
following commands beginning in privileged EXEC mode:
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
ip rcmd remote-username username
4.
end
5.
Do one of the following:
•
copy system:running-config rcp:
[[[
//
[
username@
]
location
]
/directory
]
/filename
]
•
copy nvram:startup-config rcp:
[[[
//
[
username@
]
location
]
/directory
]
/filename
]
DETAILED STEPS
Purpose
Command or Action
Enables privileged EXEC mode.
enable
Step 1
Example:
• Enter your password if prompted.
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
System Management Configuration Guide, Cisco IOS XE Gibraltar 16.10.x (Catalyst 9200 Switches)
154
Managing Configuration Files
What to Do Next