Command
Privilege
Use
Sets the privilege level you run at upon logging in through vty port.
Syntax
Router(config-line)#privilege level <0-15>
Example
In this example, privilege level 15 is used to set the vty privilege to enable mode upon login.
R2#conf t |
The running config for the vty port is shown with privilege level set to 15.
R2(config-line)#do show run | sec vty |
A telnet session is initiated from R3 to R2. Notice that the session starts in enable mode.
R3#telnet 10.2.2.2 Trying 10.2.2.2 … Open R2# |