networking-forum.com
Community BlogCommunity Wiki * Register  * Search  * Login
View unanswered postsView active topics

All times are UTC - 6 hours [ DST ]



Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Thu Jun 21, 2012 5:12 am 
Offline
Junior Member
Junior Member

Joined: Fri Mar 30, 2012 1:49 am
Posts: 88
Certs: CCNA
hi guys

the following is my configuration

aaa new-model
aaa authentication login ADMIN local
aaa authentication login USER local
!
username admin password 0 admin
username cisco password 0 cisco
.
.
.
.
line con 0
exec-timeout 0 0
logging synchronous
login authentication ADMIN
line aux 0
line vty 0 1
login authentication USER
line vty 2 4
!
end

and tested the authentication configuration on both connection (console and telnet), as the configuration i expected that if i connect to router using line telnet i only can use the username cisco and password cisco. and if i connect using console the username admin and password admin will be use to it, but the fact both line can user both username and password.

is my configuration correct or not to get my goal ?


Top
 Profile  
 
PostPosted: Thu Jun 21, 2012 8:58 am 
Offline
Post Whore
Post Whore
User avatar

Joined: Mon Jan 17, 2005 11:01 pm
Posts: 5148
Location: Canada eh
Certs: 350-001, CCNP, CXFF, ITILv3F
Both of your authentication methods specify local. The local database has 2 users in it. Therefore both of your authentication methods are identical.

See, there's no relationship between the ADMIN authentication method, and the admin user. Just because you named them the same doesn't mean that they are related.

_________________
blog.brokennetwork.ca


Top
 Profile  
 
PostPosted: Thu Jun 21, 2012 10:24 pm 
Offline
Junior Member
Junior Member

Joined: Fri Mar 30, 2012 1:49 am
Posts: 88
Certs: CCNA
what exactly purpose of "WORD" inside of aaa authentication login "WORD" command ? is there any example configuration which using different name of authentication methode ?


Top
 Profile  
 
PostPosted: Thu Jun 21, 2012 10:44 pm 
Offline
Post Whore
Post Whore
User avatar

Joined: Mon Jan 17, 2005 11:01 pm
Posts: 5148
Location: Canada eh
Certs: 350-001, CCNP, CXFF, ITILv3F
The purpose is to have different order of authentication methods. Both of the lists you created used the exact same authentication method: local. An example is if you wanted to have you SSH authenticate via RADIUS, and you wanted your HTTP to authenticate via the local database.

_________________
blog.brokennetwork.ca


Top
 Profile  
 
PostPosted: Thu Jun 21, 2012 11:21 pm 
Offline
Junior Member
Junior Member

Joined: Fri Mar 30, 2012 1:49 am
Posts: 88
Certs: CCNA
i undestand now. thanks


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 16 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group