Sign in to follow this  
Followers 0
hikingguy

When would the privilege command be used under the vty lines?

2 posts in this topic

I'm needing some help understanding the configuration of privilege levels under the vty lines.

 

When I log into the router with the following config, I am placed into priv level 1 (not 12, which is configured under the vty lines). From testing I've done, I know that if you don't specifically set the priv level of a user in the local database, it defaults to priv level 1.

 

From other testing I did (on real equipment), I've determined that the priv level associated with a username always overrides the priv level configured under the vty lines. So, my question is, when would the privilege level x command under the vty lines ever be used)???

no aaa new-model
username buck password 0 rogers
!
line vty 0 4
privilege level 12

 

Thanks,

 

Andy

0

Share this post


Link to post
Share on other sites

did u set up level 12? by default only 2 are set: User EXEC mode commands are privilege level 1. Privileged EXEC mode and configuration mode commands are privilege level 15.

if u want use levels other than that, u must set them up:

i.e:

 

privilege configure all level 3 interface

privilege exec level 3 configure terminal

privilege exec level 3 configure
0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0