System Management Commands

4-25

4
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.
Syntax
hostname name
no hostname
name - The name of this host. (Maximum length: 255 characters)
Default Setting
None
Command Mode
Global Configuration
Table4-8 Device Designation Commands
Command Function Mode Page
prompt Customizes the prompt used in PE and NE mode GC 4-25
hostname Specifies the host name for the switch GC 4-25
snmp-server contact Sets the system contact string GC 4-113
snmp-server location Sets the system location string GC 4-113
Console(config)#prompt RD2
RD2(config)#