4 AAA Fundamentals
Learn how AAA separates identity verification, permission decisions, and activity records, and how centralized, local, and method-list approaches control access to network devices.
The three functions
addresses three distinct questions about access to a network device or service. asks who the user is, determines what that authenticated user may do, and records what activity occurred.
For example, a network administrator may authenticate by logging in to a switch over SSH. could allow one administrator to view configuration while allowing another to change it. could record session start and stop times or commands used. A successful login does not itself grant every permission, and recording activity does not itself grant access.
Centralized
With centralized , a network device acting as the client sends requests to a shared server, commonly using or . Administrators can manage accounts and policies centrally across many devices, making consistent access control and centralized auditing easier to manage.
Centralized access control depends on the server being available and reachable over the network, and on device-server communication being correctly configured. is commonly used for network-device administration and separates its , , and functions. is also widely used for network access and can return service and configuration information.
Local access control
With local access control, each device checks its own configured user database. It can work without an server and is straightforward for a small number of devices, but accounts and policies must be managed separately on each device. Its records and policies are therefore less centralized, and account management is duplicated.
A local account can also provide carefully controlled fallback access if the central service becomes unreachable. Centralized is useful for shared identity and policy management across devices, while local access can work independently of external and provide emergency access.
and fallback
On Cisco IOS-style devices, specify the order of , , or methods. A list named default applies by default to the relevant service; a named list can be applied to a specific line or service.
The following illustrative configuration tries first for login and uses the local database as a fallback. It also requests EXEC , records session start and stop activity, and applies the default login method list to remote terminal lines using SSH.
Illustrative Cisco IOS-style configuration
Behavior and safe deployment
The local method is not necessarily tried after every kind of failure. On Cisco IOS , the next method is generally tried when the earlier method does not respond. If the server responds and denies access, that denial is not bypassed by trying the local account; this preserves the central policy decision. Verify behavior for the specific platform before deployment.
Exact commands and server syntax vary by platform and software release. Before enabling on a production device, confirm the syntax for the device and release, configure a tested recovery path, and keep an active management session while testing a second login. Otherwise, a configuration mistake could prevent remote administration.