C
OMMAND
L
INE
I
NTERFACE
4-34
Device Designation Commands
prompt
This command customizes the CLI prompt. Use the no form to restore
the default prompt.
Syntax
prompt string
no prompt
string - Any alphanumeric string to use for the CLI prompt.
(Maximum length: 255 characters)
Default Setting
Console
Command Mode
Global Configuration
Example
hostname
This command specifies or modifies the host name for this device. Use the
no form to restore the default host name.
Table 4-8 Device Designation Commands
Command Function Mod
e
Pag
e
prompt Customizes the prompt used in PE and NE
mode
GC 4-34
hostname Specifies the host name for the switch GC 4-34
snmp-server
contact
Sets the system contact string GC 4-14
0
snmp-server
location
Sets the system location string GC 4-14
1
Console(config)#prompt RD2
RD2(config)#