Command Line Interface

4-14

4
Command Mode
Privileged Exec
Command Usage
This command resets the entire system.
When the system is restarted, it will always run the Power-On Self-Test. It will
also retain all configuration information stored in non-volatile memory by the
copy running-config startup-config command.
Example
This example shows how to reset the switch:

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.
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:
Console#reload
System will be restarted, continue <y/n>? y
Console(config)#prompt RD2
RD2(config)#
Console(config-if)#end
Console#