Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

set cli prompt

Syntax

set cli prompt string

Release Information

Command introduced before Junos OS Release 7.4.

Description

Set the prompt so that it is displayed within the CLI.

user@host> set cli prompt
lab1-router> 

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

Published: 2012-06-25