AAA with RADIUS and TACACS+ for CCNA: Centralized Authentication
AAA (Authentication, Authorization, Accounting) centralizes access control to network devices. Instead of local users on every router, a RADIUS or TACACS+ server is queried. The local user is kept as a fallback if the server does not answer.

Edit this template Download .json
Learning objectives
- Enable aaa new-model and define the RADIUS/TACACS+ server.
- Create a method list with local fallback.
- Compare RADIUS (UDP, network access) with TACACS+ (TCP, device administration).
Devices and addressing
| Device | Type | Details |
|---|---|---|
| ADMIN | PC / user | SSH User ana |
| R1 | Router | AAA client G0/0 10.0.0.1/24 |
| SW-MGMT | Switch | Management |
| ISE / RADIUS | AAA | 10.0.0.50 UDP 1812/1813 |
| TACACS+ | TAC | 10.0.0.51 TCP 49 |
Reference configuration (Cisco IOS)
R1
username respaldo privilege 15 secret L0cal-Resp!
aaa new-model
radius server ISE
address ipv4 10.0.0.50 auth-port 1812 acct-port 1813
key Clave-Radius-2026
aaa authentication login VTY-LOGIN group radius local
aaa authorization exec VTY-EXEC group radius local
aaa accounting exec default start-stop group radius
line vty 0 4
login authentication VTY-LOGIN
authorization exec VTY-EXEC
transport input ssh
Verification commands
show aaa serverstest aaa group radius ana Clave123 new-codeshow running-config | section aaadebug aaa authentication
CCNA exam tips
TACACS+ encrypts the whole packet body and separates AAA; RADIUS only encrypts the password and combines authentication and authorization.
Always put local last in the method list so you do not lose access.
How to use this template
Press “Edit this template”: the editor opens with the topology loaded and ready to change (undo with Ctrl+Z). You can also copy the JSON and paste it into the editor with File ▸ Import JSON…. Then add devices, change IPs and export to PDF, PNG or SVG.
To practice, rebuild the topology in Cisco Packet Tracer, GNS3 or Cisco Modeling Labs and paste the reference configuration on each device. Addresses and names are examples: change them to create your own variants.
JSON template for the editor
This is the full diagram in JSON format. Paste it into the editor (File ▸ Import JSON…) or press the edit button to load it automatically.
Frequently asked questions
What is the difference between RADIUS and TACACS+?
RADIUS uses UDP and is a standard; TACACS+ uses TCP 49, is Cisco's and offers per-command authorization.
What does accounting do?
It records who accessed, when and which commands they ran.