set prompt

Use this command to modify the command prompt.

Syntax

set prompt prompt-string

Parameters

prompt-string Specifies a text string for the command prompt.

A prompt string containing a space in the text must be enclosed in quotes as shown in the example below.

Defaults

None.

Mode

All command modes.

Example

This example shows how to set the command prompt to Switch 1:

System(rw)->set prompt “Switch 1”
Switch 1(rw)->