Copying The Configuration Files Using Scp Or Rcp - Cisco WS-C6506 Software Manual

Catalyst 6500 series switch
Hide thumbs Also See for WS-C6506:
Table of Contents

Advertisement

Working with the Configuration Files on the Switch
Uploading a Configuration File to a TFTP Server
To upload a configuration file from a switch to a TFTP server for storage, perform these steps:
Log into the switch through the console port or a Telnet session.
Step 1
Upload the switch configuration to the TFTP server with the copy config tftp command. Specify the IP
Step 2
address or host name of the TFTP server and the destination filename.
The file is uploaded to the TFTP server.
This example shows how to upload the running configuration to a TFTP server for storage:
Console> (enable) copy config tftp
IP address or name of remote host []? 172.20.52.3
Name of file to copy to []? cat6000_config.cfg
Upload configuration to tftp:cat6000_config.cfg, (y/n) [n]? y
.....
..........
.......
..........
...........
..
/
Configuration has been copied successfully.
Console> (enable)

Copying the Configuration Files Using SCP or rcp

This section describes how to copy the files using SCP or rcp:
rcp Overview
Remote copy protocol (rcp) provides another method of downloading, uploading, and copying the
configuration files between the remote hosts and the switch. Unlike TFTP, which uses User Datagram
Protocol (UDP), a connectionless protocol, rcp uses Transmission Control Protocol (TCP), which is
connection oriented.
To use rcp to copy the files, the server from or to which you will be copying the files must support rcp.
The rcp copy commands rely on the rsh server (or daemon) on the remote system. To copy the files using
rcp, you do not need to create a server for file distribution, as you do with TFTP. You need only to have
access to a server that supports the remote shell (rsh). (Most UNIX systems support rsh.) Because you
are copying a file from one place to another, you must have read permission on the source file and write
permission on the destination file. If the destination file does not exist, rcp creates it for you.
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
28-6
rcp Overview, page 28-6
SCP Overview, page 28-7
Chapter 28
Working with Configuration Files
OL-8978-04

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 6506Catalyst 6509Catalyst 6513

Table of Contents