Navigation
set cli prompt
Syntax
set cli prompt string
Release Information
Command introduced before Junos OS Release 7.4.
Command introduced in Junos OS Release 9.0 for EX Series switches.
Description
Set the prompt so that it is displayed within the CLI.
Options
string | — | CLI prompt string. To include spaces in the prompt, enclose the string in quotation marks. By default, the string is username@hostname. |
Required Privilege Level
view
List of Sample Output
set cli promptOutput Fields
When you enter this command, the new CLI prompt is displayed.
Sample Output
set cli prompt
user@host> set cli prompt lab1-router>
lab1-router>