Table of Contents
V Commands
verify
V Commands
Note Commands that are identical to those documented in the Cisco IOS software documentation have been removed from this chapter. Refer to Appendix D, "Removed and Changed Commands," of this command reference for a list of removed commands.
verify
To verify the checksum of a file on a Flash device, use the verify EXEC command. This command replaces the copy verify and copy verify flash commands.
- verify [device:] filename
Syntax Description
|
device:
|
Device containing the file whose checksum is being verified. The colon (:) is required. Valid devices are as follows:
- bootflash: This device is the internal Flash memory.
- slot0: This device is the first PCMCIA slot on the route processor card.
- slot1: This device is the second PCMCIA slot on the route processor card.
When you omit this argument, the system verifies the checksum of the specified file on the current working device.
|
|
filename
|
Name of a file on the specified Flash device. The file can be of any type. The maximum filename length is 63 characters.
|
Default
The current working device is the default device.
Command Mode
EXEC
Usage Guidelines
Use the verify command to verify the checksum of a file before using it. When you omit the device: argument, the system verifies the checksum of the specified file on the current working device.
Example
The following example shows how to get information and verify the test-image file using the dir and verify commands.
-#- -length- -----date/time------ name
1 1699295 Dec 25 1927 17:53:24 b.Z
2 1382 Dec 25 1927 17:54:33 test-file
3 1382 Dec 25 1927 17:55:28 test-file3
4 1385 Dec 25 1927 17:56:11 test-file4
5 2200823 Dec 25 1927 17:58:56 test-image
6 1382 Dec 26 1927 10:28:42 test-file2
3695748 bytes available (3906428 bytes used)
Switch#
verify bootflash:test-image
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
File bootflash:test-image verified OK
Related Commands
cd
copy flash
ip rcmd remote-username
purge
show flash