What Is AAA in Networking? Authentication, Authorization & Accounting Explained

What Is AAA in Networking? Authentication, Authorization & Accounting Explained
Networking ATN Campus October 08, 2026 20 views

What Is AAA in Networking? Authentication, Authorization & Accounting Explained

Enterprise networks may have hundreds of users and administrators accessing routers, switches, firewalls, VPNs, wireless networks, servers, and other systems.

How does an organization verify who is accessing the network? How does it control what each user is allowed to do? And how can it keep records of user activity?

The answer is AAA: Authentication, Authorization, and Accounting.


What Is AAA?

AAA is a framework for controlling and monitoring access to network resources.

    AAA
     |
     +-------------------+
     |                   |
     v                   v
```

Authentication      Authorization
"Who are you?"      "What can you do?"
|
+-------------------+
|
v
Accounting
"What happened?" 
```

The three components are:

  • Authentication – verifies identity.
  • Authorization – determines permissions.
  • Accounting – records activity or usage.

1. Authentication — Who Are You?

Authentication is the process of verifying the identity of a user or device.

For example, when an administrator logs into a Cisco router:

    Username: admin01
    Password: ********

             |
             v

      Authentication
             |
      Is the identity
         valid?
             |
       +-----+-----+
       |           |
      Yes          No
       |           |
       v           v
    Continue     Deny
    

Authentication methods can include:

  • Username and password
  • Certificates
  • Multi-factor authentication
  • 802.1X
  • Centralized AAA servers

2. Authorization — What Are You Allowed to Do?

Authentication alone does not determine what the user can do.

Authorization determines the permissions available to an authenticated user.

    User successfully authenticated
                |
                v
          Authorization
                |
      +---------+---------+
      |                   |
      v                   v
 Show commands       Configuration
   allowed              allowed?
      |                   |
      v                   v
    Yes/No              Yes/No
    

For example:

User Role Example Permission
Read-only administrator View device information
Network engineer Modify network configuration
Senior administrator Full administrative access

This principle helps organizations follow least privilege: users should receive only the access they need for their responsibilities.

3. Accounting — What Happened?

Accounting records information about user activity, sessions, or resource usage.

Depending on the system, accounting information may include:

  • Username
  • Login time
  • Logout time
  • Session duration
  • Device accessed
  • Network usage
  • Commands or events, where supported
    User
      |
      v
    Login
      |
      v
  Authentication
      |
      v
  Authorization
      |
      v
   Session
      |
      v
  Accounting
      |
      v
 Activity Record
    

AAA Real-World Example

Imagine a company with 50 network administrators.

An administrator wants to access a Cisco switch.

  1. The administrator enters their credentials.
  2. The system verifies their identity.
  3. The system determines their permissions.
  4. The administrator accesses the switch.
  5. Relevant activity is recorded.
    Administrator
          |
          v
   +-------------+
   |   Switch    |
   +-------------+
          |
          | AAA
          v
   +-------------+
   | AAA Server  |
   +-------------+
          |
          v
   Identity / Policy
          |
          v
   Access Decision
    

AAA and RADIUS

RADIUS is commonly used to provide centralized AAA services, especially for network access.

Common examples include:

  • Enterprise Wi-Fi
  • VPN authentication
  • 802.1X
  • Network Access Control
    Laptop
       |
       v
    Wi-Fi AP
       |
       | RADIUS
       v
   AAA / RADIUS
     Server
       |
       v
  User Database
    

AAA and TACACS+

TACACS+ is another AAA protocol commonly used for centralized administration of network devices.

For example:

    Network Engineer
           |
           v
       Cisco Switch
           |
           | TACACS+
           v
      AAA Server
           |
           v
    Authentication
           |
           v
     Authorization
           |
           v
    Administrative Access
    

TACACS+ is particularly useful when an organization needs detailed authorization policies for network administrators.

AAA Server vs Local Authentication

A small network might use local accounts directly on each device.

    Router
    |
    +-- username admin
    +-- local password
    

In a larger organization, centralized authentication is easier to manage.

                +----------------+
                |   AAA Server   |
                +----------------+
                  /      |      \
                 /       |       \
                v        v        v
             Router    Switch   Firewall
    

If an employee leaves the organization, administrators can disable the account centrally rather than manually changing credentials on every network device.

AAA and Least Privilege

AAA can help organizations implement the principle of least privilege.

Instead of giving every administrator full access:

    Junior Admin
    ↓
    Read-only access


    Network Engineer
    ↓
    Configuration access


    Senior Engineer
    ↓
    Full administrative access
    

This reduces the risk of accidental or unauthorized changes.

AAA in Network Security

AAA is an important part of enterprise network security because it provides identity-based access control and accountability.

AAA can work together with technologies such as:

  • 802.1X
  • RADIUS
  • TACACS+
  • NAC
  • VPN authentication
  • Multi-factor authentication
  • Role-based access control

AAA vs Authentication — Are They the Same?

No.

Authentication is only one part of AAA.

Concept Question Example
Authentication Who are you? Verify username/password
Authorization What can you do? Allow configuration commands
Accounting What happened? Record login/session activity

Simple AAA Memory Trick

    A — Authentication
        "Who are you?"

    A — Authorization
        "What can you do?"

    A — Accounting
        "What did you do?"
    

Remembering these three questions makes AAA very easy to understand during CCNA, networking, and interview preparation.

Cisco AAA Basic Example

A basic Cisco AAA configuration may look like:

```

aaa new-model

aaa authentication login default local

username admin privilege 15 secret StrongPassword123 
```

This example enables AAA and uses the local user database for login authentication.

In larger environments, the authentication method list can instead reference centralized RADIUS or TACACS+ servers.

Centralized AAA Architecture

                Users / Admins
                     |
                     v
          +-------------------+
          | Network Devices   |
          |                   |
          | Routers           |
          | Switches          |
          | Firewalls         |
          | VPN               |
          +-------------------+
                     |
                     | AAA
                     v
          +-------------------+
          | Central AAA Server |
          +-------------------+
                /          \
               /            \
              v              v
        RADIUS            TACACS+
         Access          Administration
    

AAA Interview Questions

1. What does AAA stand for?

AAA stands for Authentication, Authorization, and Accounting.

2. What is authentication?

Authentication verifies the identity of a user or device.

3. What is authorization?

Authorization determines what an authenticated user is allowed to access or perform.

4. What is accounting?

Accounting records information about sessions, usage, or activities depending on the system and configuration.

5. What is RADIUS used for?

RADIUS is commonly used for centralized network access authentication, including Wi-Fi, VPN and 802.1X.

6. What is TACACS+ used for?

TACACS+ is commonly used for centralized administrative access to network devices and detailed authorization.

7. Why is centralized AAA useful?

It simplifies account management, centralizes access policies, supports auditing, and helps enforce consistent access control.

Practical Lab Idea

Build a small AAA lab in Cisco Packet Tracer or a suitable network lab environment.

  1. Create a router or switch.
  2. Create a local administrative user.
  3. Enable AAA.
  4. Configure local authentication.
  5. Study how RADIUS or TACACS+ would replace the local database.
  6. Test successful and failed authentication.
  7. Explore authorization and accounting concepts.

Key Takeaways

  • AAA stands for Authentication, Authorization, and Accounting.
  • Authentication verifies identity.
  • Authorization controls permissions.
  • Accounting records activity or usage.
  • RADIUS and TACACS+ are commonly used for centralized AAA.
  • RADIUS is widely used for Wi-Fi, VPN and 802.1X.
  • TACACS+ is commonly used for network device administration.
  • AAA supports centralized and consistent access control.
  • Least privilege can be implemented through authorization policies.

Want to Learn AAA and Network Security? Visit ATN Campus

Want to learn AAA, RADIUS, TACACS+, 802.1X, Network Access Control, routing, switching, and network security through practical training?

Visit ATN Campus and build practical networking skills through theory, hands-on labs, and real-world networking scenarios.

Learn More Networking & Security Skills

  • CCNA – Cisco Certified Network Associate
  • CCNP – Cisco Certified Network Professional
  • Network Routing & Switching
  • Network Security
  • AAA, RADIUS & TACACS+
  • 802.1X & Network Access Control
  • CEH – Certified Ethical Hacker
  • Cisco CyberOps
  • Cloud Networking
  • Python for Network Automation
  • Practical Networking Labs

Whether you are a beginner learning networking, preparing for CCNA or CCNP, or building professional network security skills, ATN Campus can help you move from theory to practical experience.

???? Want to learn networking? Visit ATN Campus.

???? Learn Networking. ???? Secure Networks. ???? Practice with Real Labs. ???? Prepare for Certifications. ???? Build Your IT Career with ATN Campus.
Document ATN CAMPUS