xStack
®
DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual
20
Example usage:
To configure the command prompt:
DGS-3450:admin# config command_prompt Tiberius
Command: config command_prompt Tiberius
Success.
Tiberius:admin#
config greeting_message
Purpose
Used to configure the greeting message or banner for the opening screen of the Command Line
Interface.
Syntax
config greeting_message {default}
Description
This command is used to configure the greeting message or login banner for the opening screen
of the CLI.
Parameters
default
– Adding this parameter will return the greeting command to its original factory default
configuration.
Restrictions
The
reset
command will not alter the configured greeting message, yet the
reset system
command will return the greeting message to its original factory default setting.
The maximum character capacity for the greeting banned is 6 lines and 80 characters per line.
Entering Ctrl+W will save the current configured banner to the DRAM only. To save it into the
FLASH memory, the user must enter the save command.
Only Administrator and Operator-level users can issue this command.
Example usage:
To configure the greeting message:
config command_prompt
Purpose
Used to configure the command prompt for the Command Line Interface.
Syntax
config command_prompt [<string 16> | username | default]
Description
This command is used to configure the command prompt for the CLI interface of the Switch. The
current command prompt consists of “product name + : + user level + product name” (ex. DGS-
3450:admin# ). The user may replace all parts of the command prompt, except the # by entering
a string of 16 alphanumerical characters with no spaces, or the user may enter the current login
username configured on the Switch.
Parameters
<string 16>
– Enter an alphanumeric string of no more than 16 characters to define the
command prompt for the CLI interface.
username
– Entering this parameter will replace the current CLI command prompt with the login
username configured on the Switch.
default
– Entering this parameter will return the command prompt to its original factory default
setting.
Restrictions
The
reset
command will not alter the configured command prompt, yet the
reset system
command will return the command prompt to its original factory default setting.
Only Administrator and Operator-level users can issue this command.