B-19
Catalyst 2950 and Catalyst 2955 Switch Software Configuration Guide
OL-10101-02
Appendix B Working with the Cisco IOS File System, Configuration Files, and Software Images
Working with Software Images
You can use the show version privileged EXEC command to see the software version that is currently
running on your switch. In the display, check the line that begins with System image file is... . It
shows the directory name in flash memory where the image is stored.
You can also use the dir filesystem: privileged EXEC command to see the directory names of other
software images you might have stored in flash memory.
tar File Format of Images on a Server or .com
Software images located on a server or downloaded from .com are provided in a tar file format, which
contains these files:
info file
The info file is always at the beginning of the tar file and has information about the files within it.
Cisco IOS image
Web management files needed by the HTTP server on the switch
LRE binary files needed for the proper functioning of LRE interfaces and LRE CPE devices.
info.ver file
The info.ver file is always at the end of the tar file and has the same information as the info file.
Because it is the last file in the tar file, its existence means that all files in the image have been
downloaded.
This example shows the information in the info and info.ver files:
version_suffix: i6k2l2q4-121-19.EA1
version_directory: c2950lre-i6k2l2q4-mz.121-19.16.EA1
image_name: c2950lre-i6k2l2q4-mz.121-19.16.EA1.bin
ios_image_file_size: 3214848
total_image_file_size: 4719616
image_feature: LAYER_2|MIN_DRAM_MEG=32
image_family: C2950lre
info_end:
Tab l e B-3 info and info.ver File Description
Field Description
version_suffix Specifies the software image version string suffix
version_directory Specifies the directory where the software image and the HTML subdirectory are installed
image_name Specifies the name of the software image within the tar file
ios_image_file_size Specifies the software image size in the tar file, which is an approximate measure of how much
flash space is required to hold just the software image
total_image_file_size Specifies the size of all the images (the software image and the HTML files) in the tar file,
which is an approximate measure of how much flash space is required to hold them
image_feature Describes the core functionality of the image
image_family Describes the family of products on which the software can be installed
image_min_dram Specifies the minimum amount of DRAM needed to run this image