33 General 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

Console(config)#prompt RD2

RD2(config)#

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:

Console(config-if)#end

Console#

exit

This command returns to the previous configuration mode or exits the configuration program.

Default Setting

None

33-4

Page 288
Image 288
Accton Technology ES4548D, ES4524D, 24/48-Port manual End, Exit, Syntax Prompt string no prompt