cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1020
Views
6
Helpful
5
Replies

AAA authentication and local user (Radius Server)

rkcontrol
Level 1
Level 1

Hi all,

We have a Radius server for authencation on cisco device, How can we access the device using AAA authencation and local user/Password (on Device) at the same time.

I have heard this can be done, any reference link available.

Many thanks,

Raj

5 Replies 5

lgijssel
Level 9
Level 9

The local database is a fall-back for the radius aaa-service. Local authentication will take place only when the latter fails.

You can simulate local authentication by adding the same useraccounts to your radius database also. Be aware that I do not recommend this solution because failing radius authentication is an indicator of network problems. Using the method described creates the possibility that one does not notice this failure.

Below is a sample config like we are using it for device access control:

username user01 privilege 15 password XXX

aaa new-model

aaa authentication login default group radius local

aaa authorization exec default group radius local

aaa accounting suppress null-username

aaa accounting update newinfo

aaa accounting exec default start-stop group radius

aaa accounting network default start-stop group radius

aaa accounting connection default start-stop group radius

regards,

Leo

bvsnarayana03
Level 5
Level 5

hi Raj,

Yes you can configure your device for aaa & still get locally authenticated when the aaa server cant be contacted. Pls note that its a common mistake to get locked while configuring aaa on the device for 1st time.

So before you configure aaa on device, use this min config to be authenticated locally in case something goes wrong.

Minimum aaa config to save u from getting locked while configuring aaa for tacacs:

aaa new-model

aaa authentication login local

username abc password xyz

Anytime u r locked while configuring, u can use the above username & password to gain access.

Please refer this doc for more details if ur interested:

http://www.cisco.com/en/US/docs/switches/lan/catalyst6500/catos/7.x/configuration/guide/authent.html#wp1221026

hope that clarifies.

Pls rate all helpful posts.

Hi Raj,

Is it that you want one user to be authenticated by local database even when the aaa server is up. In short, do you want an exception rule for a single user.

Ya Rishi,

This is what i am looking for (expection rule).

Can u guide me further on this.

Rgds,

Raj

Raj

I have not seen exception at the individual user level but I have done several types of authentication on the same router for different types of connections. So you could certainly do authentication with Radius for vty connections and with the local user database for console connections. Or you could configure some vty to use telnet and authenticate with the local user data base and configure other vty to use SSH and authenticate with Radius.

HTH

Rick

HTH

Rick
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:

Review Cisco Networking products for a $25 gift card