DGS-6604
m
command prompt
CLI Reference Guide
122
command prompt
Use this command to change the device CLI prompt to, for example: the product
name, system name, or other user-defined strings. The command can also
specify whether to display the current privilege level in the prompt.
command prompt [level | no-level] [string
STRING
| product-name | system-name]
Default
product-name
with privilege
level
Command Mode
Privileged EXEC
Usage Guideline
The prompt refers to the string that appears indicating to a user to input a
command. It consists of two parts. The first part is the prompt name. The second
part is the privileged level.
Using this command, the user can change the prompt to use either the product
name or system name and specify whether or not to display the privilege level in
the prompt
Either one or both settings can be changed. If the user selects to use the product
name or the system name as the prompt, only the first 8 characters are taken.
The prompt will be changed immediately after the command is executed.
Examples
This example shows how to change the prompt to use the system name.
The following example shows how to set the command prompt back to default
setting: (product name and privilege level).
Syntax Description
level
(Optional) The privilege level information is appended to prompt name.
no-level
(Optional) No privilege level information is appended to prompt name.
string
STRING
(Optional) Specifies the user-defined prompt. The valid length is 1-8 characters.
The syntax is a user-defined string.
product-name
(Optional) Use the product name as the prompt name
system-name
(Optional) Use the system name (as defined in SNMP System group MIB) as the
prompt name.
DGS-6600:15# command prompt system-name
switch:15#
switch:15# command prompt
DGS-6600:15#