xStack DES-3800 Series Layer 3 Stackable Fast Ethernet Managed Switch CLI Manual
317
46
Modify Banner and Prompt Commands
Administrator level users can modify the login banner (greeting message) and command prompt by using
the commands described below.
Command Parameters
config
greeting_message
{default}
config command_
prompt
[<string 16> | username | default]
The Modify Banner and Prompt commands in the Command Line Interface (CLI) are listed (along with
the appropriate parameters) in the following table.
config greeting _message
Purpose
Used to configure the login banner (greeting message).
Syntax
config greeting _message {default}
Description
Users can use this command to modify the login banner (greeting
message).
Parameters
default
–
If the user enters
default
to the modify banner command,
then the banner will be reset to the original factory banner.
To open the Banner Editor, click
enter
after typing the
config
greeting_message
command. Type the information to be displayed
on the banner by using the commands described on the Banner
Editor:
Quit without save: Ctrl+C
Save and quit: Ctrl+W
Move cursor: Left/Right/Up/Down
Delete line: Ctrl+D
Erase all setting: Ctrl+X
Reload original setting: Ctrl+L
Restrictions Only
administrator-level users can issue this command. Other
restrictions include:
•
If the “reset” command is executed, the modified banner
will remain modified. However, the “reset system”
command will reset the modified banner to the original
factory banner.
•
The capacity of the banner is 6*80. 6 Lines and 80
characters per line.
•
Ctrl+W will only save the modified banner in the DRAM.
You need to type “save” command to save it into FLASH.
•
Only valid in threshold level.
Example usage
To modify the banner to read “this is the best switch ever”:
DES-3800:4#config greeting_message