C
OMMAND
L
INE
I
NTERFACE
4-34Device 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.
Command Function Mode Page
prompt Customizes the prompt used in PE and NE mode GC 3-34
hostname Specifies the host name for the switch GC 3-34
snmp-server
contact
Sets the system contact string GC 3-148
snmp-server
location
Sets the system location string GC 3-149
Console(config)#prompt RD2
RD2(config)#