cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1246
Views
0
Helpful
3
Replies

username access-class 10 password xxx ?

admin_2
Level 3
Level 3

I configured a username Florida access-class 10 password test

then I created the access-list 10 permit 10.1.1.1

Unfortunetly It does NOT restrict access ??

IS there more to this ?

I know I can restrict it by adding access-class 10 in

to the VTY, but I dont want to do that.

any ideas , It seems that this command in the username is useless.

thanks in advance for any help

3 Replies 3

rwiesmann
Level 4
Level 4

Hi

If you do the following it should work:

username xxxx access-class 10 password xxxx

!

access-list 10 permit 10.1.1.1

!

line vty 0 4

access-class 10 in

login local

Hope that helps

Roger

I have tested this config but the same result that I got, it seems the command username access-class is useless , anyone knows how to use this command ?

-rusdi-

hi

I did test the setup as i posted it above and it

worked. Means if i did not use the right source i was blocked. If i used the right source it asked me for the username/password.

Did you configure the folowing line under the vty?

line vty 0 4

access-class 10 in

Because this one is also needed to work properly.

What is the ios release you are using?

Regards

Roger

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: