Switch Memory and Configuration

Using Primary and Secondary Flash Image Options

For example, if the switch is using a software version of G.01.01 stored in Primary flash, show version produces the following:

Figure 6-7. Example Showing the Identity of the Current Flash Image

Determining Whether the Flash Images Are Different Versions. If the flash image sizes in primary and secondary are the same, then in almost every case, the primary and secondary images are identical. This command provides a comparison of flash image sizes, plus the boot ROM version and from which flash image the switch booted. For example, in the following case, the images are different versions of the switch software and the switch is running on the version stored in the secondary flash image:

The unequal code size and differing dates indicate two different versions of the software.

Figure 6-8. Example Showing Different Flash Image VersionsDetermining Which Flash Image Versions Are Installed. The show ver­

sion command displays which software version the switch is currently running and whether that version booted from primary or secondary flash. Thus, if the switch booted from primary flash, you will see the version number of the software image stored in primary flash, and if the switch booted from second­ ary flash, you will see the version number of the software version stored in secondary flash. Thus, by using show version, then rebooting the switch from the opposite flash image and using show version again, you can determine the version(s) of switch software in both flash sources. For example:

6-13