Document ID: 10754
Contents
Introduction
Prerequisites
Requirements
Components Used
Conventions
Verify Downloads
Related Information
Introduction
This document describes how to use the chkflash command to verify that a download to a MGX 8220 module is successful.
Prerequisites
Requirements
Readers of this document should be knowledgeable of:
-
Cisco MGX 8220 hardware
Components Used
This document is not restricted to specific software and hardware versions.
The information in this document was created from the devices in a specific lab environment. All of the devices used in this document started with a cleared (default) configuration. If your network is live, make sure that you understand the potential impact of any command.
Conventions
For more information on document conventions, refer to the Cisco Technical Tips Conventions.
Verify Downloads
Occasionally, TFTP downloads to MGX 8220 modules may be interrupted, time out, or fail due to problems with the network over which the download is transmitted. You may not receive a warning of a failed or corrupted download, so it is a good practice to verify the integrity of a file after you download it.
The chkflash command checks the stored checksum of a file with a recalculated checksum, and it checks only files stored in Flash on any card. The command works with these software versions and hardware:
-
Release 2.x firmware and bootcode for the AXIS Shelf Controller (ASC) and all Service Modules
-
Release 3.x firmware and bootcode for the ASC and all Service Modules
-
Release 4.x bootcode for the ASC and all Service Modules
The chkflash command syntax is as follows:
shelf.1.<slot>.<type>.<a|s> chkflash |------System Prompt------| |-command-|
Here are examples of the chkflash command on MGX 8220 modules:
a1.1.7.AUSM8.a > chkflash Program length = 364867 Calculated checksum = 8310a907 stored checksum = 8310a907 Flash checksum passed a1.1.4.ASC.a > chkflash Program length = 484027 Calculated checksum = f8a1d568 stored checksum = f8a1d568 Flash checksum passed a1.1.11.IMATM.a > chkflash Program length = 408822 Calculated checksum = 51d6dbb stored checksum = 51d6dbb Flash checksum passed
Note: If the chkflash command returns a failed checksum, do not reset the module. Instead, TFTP the file again and issue the chkflash command again to verify the file's integrity. Reset the module only when the chkflash command returns a successful checksum message, as shown above.
Related Information
- Cisco WAN Switching Solutions - Cisco Documentation
- Guide to New Names and Colors for WAN Switching Products
- Downloads - WAN Switching Software
- Technical Support - Cisco Systems
| Updated: Apr 17, 2009 | Document ID: 10754 |
