3 copying image files by using ftp – CANOGA PERKINS CanogaOS Configuration Guide User Manual

Page 328

Advertising
background image

CanogaOS Configuration Guide

Proprietary & Confidential Canoga Perkins Metro Ethernet Switches

Page 328 of 350

DUT#copy tftp://10.10.10.163/uImage.bin
flash:/boot/uImage.bin

Get a system image file from remote TFTP server.

DUT#show boot images

Verify your entries.

43.2.3 Uploading an image file by using TFTP
You can upload an image from the switch to a TFTP server. You can later download this image
to the switch or to another switch of the same type.
Beginning in privileged EXEC mode, follow these steps to upload an image to a TFTP server:

DUT#copy flash:/boot/uImage.bin
tftp://10.10.10.163/uImage.bin

Upload a system image file to remote TFTP server.

43.3 Copying image files by using FTP

You can download a switch image from an FTP server or upload the image from the switch to an
FTP server.
You download a switch image file from a server to upgrade the switch software. You can
overwrite the current image with the new one or keep the current image after a download. You
upload a switch image file to a server for backup purposes. You can use this uploaded image for
future downloads to the switch or another switch of the same type.

43.3.1 Preparing to download or upload an image file by using FTP
You can copy images files to or from an FTP server.
The FTP protocol requires a client to send a remote username and password on each FTP request
to a server.
Before you begin downloading or uploading an image file by using FTP, do these tasks:
Ensure that the switch has a route to the FTP server. The switch and the FTP server must be in
the same subnetwork if you do not have a router to route traffic between subnets. Check
connectivity to the FTP server by using the ping command.
If you are accessing the switch through the console or a Telnet session and you do not have a
valid username, make sure that the current FTP username is the one that you want to use for the
FTP download.
When you upload an image file to the FTP server, it must be properly configured to accept the
write request from the user on the switch.
For more information, see the documentation for your FTP server.

43.3.2 Downloading an image file by using FTP
You can download a new image file and overwrite the current image or keep the current image.


Advertising