Copying Files Through A Vrf; Copy Configuration Files From A Switch To Another Switch - Cisco Catalyst 9500 Manual

Hide thumbs Also See for Catalyst 9500:
Table of Contents

Advertisement

Copying files through a VRF

3. Anonymous.
The device sends the first valid password it encounters in the following sequence:
1. The password specified in the copy command, if a password is specified.
2. The password set by the ip ftp password command, if the command is configured.
3. The device forms a password username @devicename.domain . The variable username is the username
associated with the current session, devicename is the configured host name, and domain is the domain
of the device.
The username and password must be associated with an account on the FTP server. If you are writing to the
server, the FTP server must be properly configured to accept the FTP write request from the user on the device.
If the server has a directory structure, the configuration file or image is written to or copied from the directory
associated with the 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 FTP server for more information.
Use the ip ftp username and ip ftp password global configuration commands to specify a username and
password for all copies. Include the username in the copy EXEC command if you want to specify a username
for that copy operation only.
Copying files through a VRF
You can copy files through a VRF interface specified in the copy command. Specifying the VRF in the copy
command is easier and more efficient as you can directly change the source interface without using a change
request for the configuration.
Example
The following example shows how to copy files through a VRF, using the copy command:
Device# copy scp: flash-1: vrf test-vrf
Address or name of remote host [10.1.2.3]?
Source username [ScpUser]?
Source filename [/auto/tftp-server/ScpUser/vrf_test.txt]?
Destination filename [vrf_test.txt]?
Getting the vrf name as test-vrf
Password:
Sending file modes: C0644 10 vrf_test.txt
!
223 bytes copied in 22.740 secs (10 bytes/sec)

Copy Configuration Files from a Switch to Another Switch

You can copy the configurations from one switch to another. This is a 2-step process - Copy the configurations
from the switch to the TFTP server, and then from TFTP to another switch.
To copy your current configurations from the switch, run the command copy startup-config tftp: and follow
the instructions. The configurations are copied onto the TFTP server.
Then, login to another switch and run the command copy tftp: startup-config and follow the instructions.
The configurations are now copied onto the other switch.
System Management Configuration Guide, Cisco IOS XE Fuji 16.8.x (Catalyst 9500 Switches)
184
Managing Configuration Files

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents