xStack
®
DGS-3400 Series Layer 2 Gigabit Managed Switch CLI Manual
315
41
M
ODIFY
B
ANNER AND
P
ROMPT
C
OMMANDS
Administrator and Operator 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]
show greeting_message
Each command is listed, in detail, in the following sections.
config greeting _message
Purpose
Used to configure the login banner (greeting message).
Syntax
config greeting _message {default}
Description
This command is used 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 and Operator-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/config
” 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 “Good evening Mr. Bond.”: