Write file tokyo-confg on host 172.16.2.155? [confirm]
Y
Writing tokyo-confg!!! [OK]
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
System Management Configuration Guide, Cisco IOS XE Fuji 16.8.x (Catalyst 9500 Switches)
190
Managing Configuration Files
What to Do Next