Configure AAA Authentication On Cisco Routers
Configure AAA Authentication On Cisco Routers
Configure AAA Authentication On Cisco Routers
Addressing Table
Learning Objectives
· Configure a local user account on R1 and authenticate on the console and VTY lines
using local AAA.
· Verify local AAA authentication from the R1 console and the PC-A client.
· Configure a server-based AAA authentication using TACACS+.
· Verify server-based AAA authentication from PC-B client.
· Configure a server-based AAA authentication using RADIUS.
· Verify server-based AAA authentication from PC-C client.
Introduction
The network topology shows routers R1, R2 and R3. Currently all administrative security is
based on knowledge of the enable secret password. Your task is to configure and test local and
server-based AAA solutions.
You will create a local user account and configure local AAA on router R1 to test the console and
VTY logins.
· User account: Admin1 and password admin1pa55
You will then configure router R2 to support server-based authentication using the TACACS+
protocol. The TACACS+ server has been pre-configured with the following:
· Client: R2 using the keyword tacacspa55
· User account: Admin2 and password admin2pa55
Finally, you will configure router R3 to support server-based authentication using the RADIUS
protocol. The RADIUS server has been pre-configured with the following:
· Client: R3 using the keyword radiuspa55
· User account: Admin3 and password admin3pa55
The routers have also been pre-configured with the following:
· Enable secret password: ciscoenpa55
· RIP version 2
Note: The console and VTY lines have not been pre-configured.
Step 4. Configure the line console to use the defined AAA authentication method.
Enable AAA on R1 and configure AAA authentication for console login to use the default method
list.
R1(config)# line console 0
R1(config-line)# login authentication default
Step 1. Configure a named list AAA authentication method for VTY lines on R1.
Configure a named list called TELNET-LOGIN to authenticate logins using local AAA.
R1(config)# aaa authentication login TELNET-LOGIN local
Step 2. Configure the VTY lines to use the defined AAA authentication method.
Configure the VTY lines to use the named AAA method.
R1(config)# line vty 0 4
R1(config-line)# login authentication TELNET-LOGIN
R1(config-line)# end
Step 5. Configure the line console to use the defined AAA authentication method.
Configure AAA authentication for console login to use the default AAA authentication
method.
R2(config)# line console 0
R2(config-line)# login authentication default
Step 5. Configure the line console to use the defined AAA authentication method.
Configure AAA authentication for console login to use the default AAA authentication method.
R3(config)# line console 0
R3(config-line)# login authentication default