|
|
To display an idle terminal message, use the vacant-message line configuration command. The command enables the banner to be displayed on the screen of an idle terminal. The vacant-message command without any arguments restores the default message. The no form of this command removes the default vacant message or any other vacant message that may have been set.
vacant-message [d message d]| d | (Optional) A delimiting character of your choice--a pound sign (#), for example. You cannot use the delimiting character in the banner message. |
| message | (Optional) Vacant terminal message. |
The format of the default vacant message is as follows:
<blank lines>
Switch(config-line)# hostname tty# is now available
<blank lines>
Press RETURN to get started.
This message is generated by the system.
Line configuration.
Follow the command with one or more blank spaces and a delimiting character of your choice. Then enter one or more lines of text, terminating the message with the second occurrence of the delimiting character.
The following example turns on the system banner and displays this message.
Switch(config)#line 0Switch(config-line)#vacant-message #Welcome to Cisco Systems, Inc. Press Return to get started. #
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: | (Optional) 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 ASP card. · slot1: This device is the second PCMCIA slot on the ASP 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. |
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-imageCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC File bootflash:test-image verified OK
cd
copy flash
pwd
show flash
ip rcmd remote-username
|
|