Uploading The Crypto Images To An Sftp Server - Cisco WS-C6506 Software Manual

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

Advertisement

Chapter 27
Working with System Software Images
Enter the copy sftp destination command. When prompted, enter the IP address or hostname of the SFTP
Step 4
server and the name of the file to download. You are also prompted for the flash device to which to copy
the file and the destination filename. Enter your username and password. The switch downloads the
image file from the SFTP server to the specified flash device.
Note
Step 5
Modify the BOOT environment variable by entering the set boot system flash device:filename prepend
command, so that the new image boots when you reset the switch. Specify the flash device (device:) and
the filename of the downloaded image (filename).
Reset the switch by entering the reset system command. If you are connected to the switch through
Step 6
Telnet, your Telnet session disconnects.
During startup, the flash memory on the supervisor engine is reprogrammed with the new flash code.
When the switch reboots, enter the show version command to check the version of the code on the
Step 7
switch.

Uploading the Crypto Images to an SFTP Server

To upload a supervisor engine crypto software image from the switch to an SFTP server, perform these
steps:
Log into the switch through the console port or a Telnet session.
Step 1
Upload the software image to the SFTP server with the copy source sftp command. When prompted,
Step 2
specify the SFTP server address and destination filename. You are first prompted for the flash device and
the source filename. Enter your username and password. The switch uploads the image file from the flash
device on the switch to the SFTP server.
In the examples below, you can stop the copy process by entering Control+C at any time.
Note
This example shows how to download a software image from an SFTP server to the switch:
Console> (enable) copy sftp <switch name>
IP address or name of remote host [10.6.1.10]?
Name of file to copy from [/tmp/bob/test2]?
Username for sftp[]? <username>
Password for User bob[]: <password>
37562980 bytes available on device bootflash, proceed (y/n) [n]? y
File has been copied successfully.
Console> (enable) copy sftp bootflash:
IP address or name of remote host []? <IP address>
Username for sftp[bob]?
Password for User bob[]:
Name of file to copy from []? <filename>
Can not open source file scp:/tmp/tin/test2 (SCP authentication error)
Copy from switch to SFTP Server
copy <source> sftp
OL-8978-04
The switch remains operational while the image downloads.
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
Uploading the Crypto Images to an SFTP Server
27-27

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 6506Catalyst 6509Catalyst 6513

Table of Contents