# privilege

#### Syntax

privilege mode [ all ] level levelValue commandPrefix

no privilege mode [ all ] [ level levelValue ] commandPrefix

#### Release Information

Command introduced before JunosE Release 7.1.0.

#### Description

Assigns a privilege level to the specified command that appears in the specified mode. The no version sets the privilege level for the command to its default value and displays the default privilege level in the show configuration output.

| Note: You must access the CLI at privilege level 15 to view or use this command. You cannot modify the privilege level of this command.

#### Options

- mode—Mode in which the command appears; for example, User Exec mode, Global Configuration mode, Router Configuration mode
- all—Specifies that this command assigns the specified privilege level to all commands in the specified mode and/or to all commands that match the specified command prefix
- levelValue—Level, in the range 0–15, at which you want the command to be accessible
- commandPrefix—Command prefix that you want to change; can be a partial keyword, the starting keyword(s) of a command, or a complete command

#### Mode

Global Configuration