|
|
The commands shown in this chapter apply to the Catalyst 8540 MSR, Catalyst 8510 MSR, and LightStream 1010. Where an entire command or certain attributes of a command have values specific to a particular switch, an exception is indicated by the following callouts:
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
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. sec-bootflash: The secondary internal Flash memory on the redundant route processor. slot0: The first PC slot on the route processor card and is the initial default device. sec-slot0: The first PC slot on the redundant route processor card. (Catalyst 8540 MSR) slot1: The second PC slot on the route processor card. sec-slot1: The second PC slot on the redundant route processor card. (Catalyst 8540 MSR) 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. |
The current working device is the default device.
EXEC
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.
The following example shows how to get information and verify the test-image file using the dir and verify commands.
Switch# dir bootflash: -#- -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
cd
copy flash
ip rcmd remote-username
purge
show flash
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Posted: Mon May 8 18:42:01 PDT 2000
Copyright 1989 - 2000©Cisco Systems Inc.