General Commands
33-4
33
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
end
This command returns to Privileged Exec mode.
Default Setting
None
Command Mode
Global Configuration, Interface Configuration, Line Configuration, VLAN
Database Configuration, and Multiple Spanning Tree Configuration.
Example
This example shows how to return to the Privileged Exec mode from the Interface
Configuration mode:
exit
This command returns to the previous configuration mode or exits the configuration
program.
Default Setting
None
Console(config)#prompt RD2
RD2(config)#
Console(config-if)#end
Console#