Specifications
2-900
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release IOS XE 3.3.0XO(15.1(1)XO)
OL_28738 -01
Chapter 2 Cisco IOS Commands for the Catalyst 4500 Series Switches
verify
verify
To verify the checksum of a file on a flash memory file system, use the verify command.
verify [/md5] [flash-filesystem:] [filename] [expecte d- md5 -sig nat ure ]
Syntax Description
Defaults T he current working device is specified.
Command Modes Privileged EXE C mode
Usage Guidelines E ach software image that is distributed on the disk uses a single checksum for the entire image. This
checksum is displayed only when the image is copied into the flash memory.
The Readme file, which is included with the image on the disk, lists the name, file size, and checksum
of the image. Review the contents of the Readme file before loading or duplicating the new image so that
you can verify the checksum when you copy it into the flash memory or on to a server.
Use the verify /md5 command to verify the MD5 signature of a file before using it. This command
validates the integrity of a copied file by comparing a precomputed MD5 signature with the signature
that is computed by this command. If the two MD5 signatures match, the copied file is identical to the
original file.
You can find the MD5 signature posted on the Cisco.com page with the image.
You can use the verify /md5 command in one of the following ways:
• Verify the MD5 sign atures manually by en tering the verify /md5 filename command.
Check the displayed signature against the MD5 signature posted on the Cisco.com page.
• Allow the sy stem to compare th e MD5 signatures by e ntering the verify /md5
{flash-filesystem:filename} {expected-md5-signature} command.
After completing the comparison, the system returns with a verified message. If an error is detected,
the output is similar to the following:
Switch# verify /md5 slot0:c4-jsv-mz 0f
..................................
..................................
..................................
..................................
..................................
...............................Done!
%Error verifying slot0:c4-jsv-mz
Computed signature = 0f369ed9e98756f179d4f29d6e7755d3
Submitted signature = 0f
/md5 (Optional) Verifies the MD5 signatures.
flash-filesystem: (Optional) Device where the fash resides; valid values are bootflash:,
slot0:, flash:, or sup-bootflash:.
filename (Optional) Name of the Cisco IOS image.
expected-md5-signature (Optio nal) MD5 signature .