Authentication Commands

4-79

4
Example
Related Commands
enable (4-11)
authentication enable (4-82)

privilege

This command assigns a privilege level to specified command groups or individual
commands. Use the no form to restore the default setting.
Syntax
privilege mode [all] level level command
no privilege mode [all] command
mode - The configuration mode containing the specified command.
(See "Understanding Command Modes" on page 4-6 and "Configuration
Commands" on page 4-7.)
all - Modifies the privilege level for all subcommands under the specified
command.
level level - Specifies the privilege level for the specified command.
This device has three predefined privilege levels: 0:NormalExec,
8: Manager, 15: Privileged Exec. (Range: 0-15)
command - Specifies any command contained within the specified mode.
Default Setting
Privilege level 0 provides access to a limited number of the commands which
display the current status of the switch, as well as several database clear and
reset functions. Level 8 provides access to all display status and configuration
commands, except for those controlling various authentication and security
features. Level 15 provides full access to all commands.
Command Mode
Global Configuration
Example
This example sets the privilege level for the ping command to Privileged Exec.

privilege rerun

This command updates all privilege commands entered during the current session
to the running configuration.
Command Mode
Privileged Exec
Console(config)#enable password level 15 0 admin
Console(config)#
Console(config)#privilege exec level 15 ping
Console(config)#