43 configuring system image, 1 image location on the switch, 2 copying image files by using tftp – CANOGA PERKINS CanogaOS Configuration Guide User Manual

Page 327

Advertising
background image

CanogaOS Configuration Guide

Proprietary & Confidential Canoga Perkins Metro Ethernet Switches

Page 327 of 350

43 Configuring System Image

This section describes how to archive (download and upload) software image files, which
contain the system Image file. You download a switch image file from a TFTP or FTP server to
upgrade the switch software. You can replace the current image with the new one or keep the
current image in flash memory after a download. You upload a switch image file to a TFTP or
FTP server for backup purposes. You can use this uploaded image for future downloads to the
same switch or another of the same type. The protocol you use depends on which type of server
you are using. The FTP transport mechanism provides faster performance and more reliable
delivery of data than TFTP. These improvements are possible because FTP is built on and use
the TCP/IP stack, which is connection-oriented.

43.1 Image location on the Switch

The system image is stored as a .bin file in a directory that shows the version number. The image
is stored on the system board flash memory (flash:/boot). You can use the show boot images
privileged EXEC command to see the software version that is currently running on your switch.
In the display, check the line that begins with Current boot image version:

43.2 Copying image files by using TFTP

You can download a switch image from a TFTP server or upload the image from the switch to a
TFTP 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; this uploaded image
can be used for future downloads to the same or another switch of the same type.

43.2.1 Preparing to download or upload an image file by using TFTP
Before you begin downloading or uploading an image file by using TFTP, do these tasks:
Ensure that the workstation acting as the TFTP server is properly configured.
Ensure that the switch has a route to the TFTP server. The switch and the TFTP server must be
in the same subnetwork if you do not have a router to route traffic between subnets. Check
connectivity to the TFTP server by using the ping command.
Ensure that the image to be downloaded is in the correct directory on the TFTP server.
For download operations, ensure that the permissions on the file are set correctly.
During upload operations, if you are overwriting an existing file (including an empty file, if
you had to create one) on the server, ensure that the permissions on the file are set correctly.

43.2.2 Downloading an image file by using TFTP
You can download a new image file and replace the current image or keep the current image.


Advertising