
DGS-3700 Series Layer 2 Managed Gigabit Ethernet Switch CLI Reference Guide
Page | 84
M
ODIFY
B
ANNER AND
P
ROMPT
C
OMMANDS
Back to Section Header
Administrator level users can modify the login banner (greeting message) and command prompt by using
the commands described below.
C
OMMAND
P
ARAMETERS
config command_ prompt
[<string 16> | username | default]
config greeting_message
{default}
show greeting_message
The modify Banner and Prompt commands in the Command Line Interface (CLI) are listed (along with the
appropriate parameters) in the following table.
config command prompt
Purpose
Used to configure the command prompt.
Syntax
config command_prompt [<string 16> | username | default]
Description
This command is for users to change the command prompt.
Parameters
string 16
–The command prompt can be changed by entering a new name of no more
that 16 characters.
username
– The command prompt will be changed to the login username.
default
– The command prompt will reset to factory default command prompt.
Restrictions
Only Administrator and Operator-level users can issue this command. Other
restrictions include:
•
If the “
reset
” command is executed, the modified command prompt will remain
modified. However, the “
reset config/reset system
” command will reset the
command prompt to the original factory banner.
Example usage:
To modify the command prompt to “AtYourService”:
DGS-3700-12:5#config command_prompt AtYourService
Command: config command_prompt AtYourService
Success.
AtYourService:5#
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