When selecting or upgrading a Cisco IOS router, it is important to choose the proper IOS image with the correct feature set and version. The Cisco IOS image file is based on a special naming convention. The name for the Cisco IOS image file contains multiple parts, each with a specific meaning. It is important to understand this naming convention when upgrading and selecting a Cisco IOS Software.
As shown in Figure 1, the show flash command displays the files stored in flash memory, including the system image files.
An example of an IOS 12.4 software image name is shown in Figure 2.
- Image Name (c2800nm) - Identifies the platform on which the image runs. In this example, the platform is a Cisco 2800 router with a network module.
- advipservicesk9 - Specifies the feature set. In this example, advipservicesk9 refers to the advanced IP services feature set which includes both the advanced security and service provider packages, along with IPv6.
- mz - Indicates where the image runs and if the file is compressed. In this example, mz indicates that the file runs from RAM and is compressed.
- 124-6.T - The filename format for image 12.4(6)T. This is the train number, maintenance release number, and the train identifier.
- bin - The file extension. This extension indicates that this file is a binary executable file.
Figure 3 illustrates the different parts of an IOS 15 system image file on an ISR G2 device:
- Image Name (c1900) - Identifies the platform on which the image runs. In this example, the platform is a Cisco 1900 router.
- universalk9 - Specifies the image designation. The two designations for an ISR G2 are universalk9 and universalk9_npe. Universalk9_npe does not contain strong encryption and is meant for countries with encryption restrictions. Features are controlled by licensing and can be divided into four technology packages. These are IP Base, Security, Unified Communications, and Data.
- mz - Indicates where the image runs and if the file is compressed. In this example, mz indicates that the file runs from RAM and is compressed.
- SPA - Designates that file is digitally signed by Cisco.
- 152-4.M3 - Specifies the filename format for the image 15.2(4)M3. This is the version of IOS, which includes the major release, minor release, maintenance release, and maintenance rebuild numbers. The M indicates this is an extended maintenance release.
- bin - The file extension. This extension indicates that this file is a binary executable file.
The most common designation for memory location and compression format is mz. The first letter indicates the location where the image is executed on the router. The locations can include:
- f - flash
- m - RAM
- r - ROM
- l - relocatable
The compression format can be either z for zip or x for mzip. Zipping is a method Cisco uses to compress some run-from-RAM images that is effective in reducing the size of the image. It is self-unzipping, so when the image is loaded into RAM for execution, the first action is to unzip.
Note: The Cisco IOS Software naming conventions, field meaning, image content, and other details are subject to change.
Memory Requirements
On most Cisco routers including the integrated services routers, the IOS is stored in compact flash as a compressed image and loaded into DRAM during boot-up. The Cisco IOS Software Release 15.0 images available for the Cisco 1900 and 2900 ISR require 256MB of flash and 512MB of RAM. The 3900 ISR requires 256MB of flash and 1GB of RAM. This does not include additional management tools such as Cisco Configuration Professional (Cisco CP). For complete details, refer to the product data sheet for the specific router.