Use it when users log in but get the wrong privilege or cannot run commands.
AAA Authorization
1. Authorization decides what a user may do (exec, commands).
2. TACACS+ per-command authorization.
3. Privilege levels.
4. Least privilege.
5. Test with a restricted user.
authenticated user → authorization request → permitted commands
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
show aaa serversShow Commands
Read-only Cisco show commands for confirming state, narrowing a fault and interpreting the current boundary.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification and output interpretation Verify boundary
Verify an authenticated user's effective EXEC privilege and test representative allowed and denied commands. Correlate the device request with the server-side policy result rather than assuming an authentication group automatically grants matching command rights. Check fallback behavior by observing method state, not by deliberately creating an uncontrolled outage. The key evidence is requested action → authorization decision → device enforcement. Verify each AAA layer separately.
Step 2 Verification & troubleshooting Narrow the fault
2. Verify shared secret, ports and group membership.
3. Verify line/service method list.
5. Show fallback safely.
- Authentication, authorization and accounting are separate decisions
- TACACS+ commonly separates AAA functions and encrypts the payload
- RADIUS commonly combines authentication/authorization and is widely used for network access
localfallback is evaluated only according to method-list reachability/failure semantics, not every rejection- Test new method lists on a spare session before closing the known-good session.
show running-config | include aaa authorization— authorizationshow privilege— current level
ReferenceImportant terms & boundaries4 sections · depth on demand
In depth
Authorization decides what an authenticated user may do
The Catalyst 9300 TACACS+ guide describes aaa authorization exec (starting an EXEC shell with a privilege level) and aaa authorization network. It states that users must authenticate before authorization is applied. Command authorization adds a check for each command entered.
C9300(config)# aaa authorization exec default group ISE local if-authenticated
C9300(config)# aaa authorization commands 1 default group ISE local if-authenticated
C9300(config)# aaa authorization commands 15 default group ISE local if-authenticated
C9300(config)# aaa authorization config-commands
C9300(config)# aaa authorization console
C9300# show privilege
Current privilege level is 15
Types of authorization
| Type | Controls |
|---|---|
exec | Whether a shell starts, and at which privilege level |
commands <level> | Each command at that privilege level (TACACS+) |
config-commands | Includes configuration-mode commands in command authorization |
network | Network services (for example 802.1X VLAN assignment with RADIUS) |
console | Applies authorization on the console line too (off by default) |
TACACS+ versus RADIUS for authorization
| TACACS+ | RADIUS | |
|---|---|---|
| Per-command authorization | Yes | No (privilege level only) |
| Separation of authentication and authorization | Separate exchanges | Combined in one exchange |
| Typical use | Device administration | Network access (802.1X, VPN) |
Common problems
| Symptom | Cause |
|---|---|
Command authorization failed | The server's command set denies it, or the server is unreachable without a working fallback |
| User lands at privilege 1 instead of 15 | The server doesn't return priv-lvl=15 in the shell profile |
| Locked out of configuration during an outage | No local or if-authenticated fallback |
Keep if-authenticated as the last method, so an authenticated user can still work when all servers are down.
Documented example, not captured output.
Quick reference
AAA authorization decides what an authenticated administrator may do: whether they get an EXEC shell, at which privilege level, and (with TACACS+) which individual commands they may run.
aaa authorization exec VTY group TACACS local
aaa authorization commands 15 VTY group TACACS local
aaa authorization config-commands
line vty 0 15
authorization exec VTY
authorization commands 15 VTY
Documented example, not captured output.
Test command authorisation with a second session open, so a mistake cannot lock you out of the device.
State model and technical mechanics
Authorization consumes an identity/context and evaluates requested service attributes or actions. EXEC authorization can decide whether a user receives a shell and with what attributes; command authorization can evaluate individual commands at selected privilege levels. This is separate from authentication, so a login may succeed but the session can still be denied or constrained. Remote authorization commonly depends on server-side user/group policy and device-request attributes, making both local AAA configuration and central policy part of the effective result. Authentication establishes an identity, authorization decides what that identity may do, and accounting records selected activity.
Limits and common misconceptions
An authentication success followed by an authorization denial is a coherent security outcome, not evidence that credentials are wrong. Command availability can also be affected by local privilege/parser behavior independent of AAA. Accounting records may show an attempted command even when authorization prevents execution. Keep authentication, authorization, local CLI privilege and accounting as separate layers when interpreting access.
ReferenceConfiguration & state1 section · depth on demand
Design and configuration model
Enable authorization only with a tested server policy and recovery path. Define which services require centralized decisions and avoid accidentally applying command authorization to paths where the server has no matching policy. Keep privilege design simple and auditable, use least privilege, and understand fallback behavior during AAA-server loss. When migrating from local privilege to remote command sets, stage the change with a second administrative session and console/recovery access available.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Security → AAA → Authorization. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.cisco.com/c/en/us/support/ios-nx-os-software/ios-xe-17/series.html · confidence 94%Quick lookup tables
Authorization · technical reference
Compact network access/security mechanics, policy and evidence boundaries for fast lookup.
| Layer | Example decision |
|---|---|
| EXEC authorization | May the user receive a shell? |
| Privilege attributes | What session privilege is assigned? |
| Command authorization | May this command execute? |
| Authentication | Separate identity decision |