Copying A Configuration File From The Device To An Ftp Server - Cisco Catalyst 9200 Configuration Manual

Hide thumbs Also See for Catalyst 9200:
Table of Contents

Advertisement

Managing Configuration Files
hostname Device1
ip rcmd remote-username User0
If the device IP address translates to device1.example.com, then the .rhosts file for User0 on the RCP server
should contain the following line:
Device1.example.com Device1
Requirements for the RCP Username
The RCP protocol requires a client to send a remote username on each RCP request to a server. When you
copy a configuration file from the device to a server using RCP, the Cisco IOS software sends the first valid
username it encounters in the following sequence:
1. The username specified in the copy EXEC command, if a username is specified.
2. The username set by the ip rcmd remote-username global configuration command, if the command
is configured.
3. The remote username associated with the current tty (terminal) process. For example, if the user is connected
to the device through Telnet and is authenticated through the username command, the device software
sends the Telnet username as the remote username.
4. The device host name.
For the RCP copy request to execute, an account must be defined on the network server for the remote
username. If the server has a directory structure, the configuration file or image is written to or copied from
the directory associated with the remote username on the server. For example, if the system image resides in
the home directory of a user on the server, specify that user name as the remote username.
Refer to the documentation for your RCP server for more information.

Copying a Configuration File from the Device to an FTP Server

You can copy a configuration file from the device to an FTP server.
Understanding the FTP Username and Password
Note
The password must not contain the special character '@'. If the character '@' is used, the copy fails to parse
the IP address of the server.
The FTP protocol requires a client to send a remote username and password on each FTP request to a server.
When you copy a configuration file from the device to a server using FTP, the Cisco IOS software sends the
first valid username it encounters in the following sequence:
1. The username specified in the copy EXEC command, if a username is specified.
2. The username set by the ip ftp username global configuration command, if the command is configured.
3. Anonymous.
The device sends the first valid password it encounters in the following sequence:
System Management Configuration Guide, Cisco IOS XE Gibraltar 16.10.x (Catalyst 9200 Switches)
Requirements for the RCP Username
147

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents