12-28-2004 09:06 AM - edited 03-10-2019 01:56 PM
Im trying to configure AAA authentication using username xxxxx privililege 15 password xxxx. I would like it so users with privilege level 15 go straight to enable mode and users with prvilege level 1 will go straight to router> read only. Currently the conly commands I have typed in are username
xxx privilege 15 password xxxx
AAA new-model
Do I need to configure anything else. I tried to put privilege level under int vty but then all users go to privilege mode. I only want to use AAA I do not want to have3 to setup a teacs or radius server. Thanks in advance.
Solved! Go to Solution.
12-28-2004 08:35 PM
To use privilege levels you need to define authorization as well as authentication. The following should do the trick for you:
username glenn privilege 15 password 0 cisco
username fred privilege 1 password 0 cisco
!
aaa new-model
aaa authentication login default local
aaa authorization exec default local
Now if I login:
> telnet 10.66.79.100
User Access Verification
Username: glenn
Password:
Router#sho priv
Current privilege level is 15
Router#q
>
>
> telnet 10.66.79.100
User Access Verification
Username: fred
Password:
Router>sho priv
Current privilege level is 1
Router>q
12-28-2004 08:35 PM
To use privilege levels you need to define authorization as well as authentication. The following should do the trick for you:
username glenn privilege 15 password 0 cisco
username fred privilege 1 password 0 cisco
!
aaa new-model
aaa authentication login default local
aaa authorization exec default local
Now if I login:
> telnet 10.66.79.100
User Access Verification
Username: glenn
Password:
Router#sho priv
Current privilege level is 15
Router#q
>
>
> telnet 10.66.79.100
User Access Verification
Username: fred
Password:
Router>sho priv
Current privilege level is 1
Router>q
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide