Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

set cli prompt

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
set cli prompt string

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

Output Fields

When you enter this command, the new CLI prompt is displayed.

Sample Output

set cli prompt

content_copy zoom_out_map
user@host> set cli prompt lab1-router>
lab1-router> 

Release Information

Command introduced before Junos OS Release 7.4.

footer-navigation