Privilege Command on CISCO Router/Switch

Command

Privilege

Use

Sets the privilege level you run at upon logging in through the console.

Syntax

Router(config-line)#privilege level <0-15>

Example

In this example, privilege level 15 is used to set the console privilege to enable mode upon login.

R2#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R2(config)#line con 0
R2(config-line)#privilege level 15

The running config for the console port is shown with privilege level set to 15.

R2(config-line)#do show run | sec con
Building configuration…
Current configuration : 1424 bytes
control-plane
line con 0
exec-timeout 15 50
privilege level 15
logging synchronous

Related Articles

Leave a Reply

avatar