Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

TACACS+

Direct answer

TACACS+ administrative AAA must be read as separate authentication, authorization and accounting decisions for an exact service/method list. Configuration presence and server reachability alone do not prove the resulting access or audit record.

When to use this

Use it for device administration with per-command authorization and accounting.

First 30 seconds

1. TCP 49; encrypts the whole payload.

2. Separates authentication, authorization and accounting — best for device admin and command authorization.

3. test aaa group tacacs+ user pass new-code.

Operational verification

service/line binding → method list/group/source → server exchange → authentication result → authorization decision → configured accounting receipt → tested recovery

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Protocol standard + deployed implementation
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformProtocol standard · IOS/IOS XE · Cisco IOS / IOS XE
Key commandtacacs server <name>
Scope / prerequisiteUse it for device administration with per-command authorization and accounting.
Show · 1Reference · 8
What next?3 suggested next steps
Catalog command links9
Evidence0
On this pageJump to a specific section
Cisco IOS / IOS XE first

Primary Commands

Configuration and operational commands for this Topic.

aaa authentication login default group <group> localReference
aaa authentication login default group <group> local

Authenticate logins against the AAA server group, falling back to local users only if the servers are unreachable.

Use when: Use this command at the AAA / RADIUS / TACACS+ boundary in the documented evidence chain.

Quick note: Cisco IOS / IOS XE first. Server reachability does not prove credentials, authorization or accounting; login success does not prove command authorization.

Cisco IOS / IOS XE · mixed
aaa authorization exec default group <group> localReference
aaa authorization exec default group <group> local

Authorize EXEC shells through the AAA server group, falling back to local authorization.

Use when: Use this command at the AAA / RADIUS / TACACS+ boundary in the documented evidence chain.

Quick note: Cisco IOS / IOS XE first. Server reachability does not prove credentials, authorization or accounting; login success does not prove command authorization.

Cisco IOS / IOS XE · mixed
aaa accounting exec default start-stop group <group>Reference
aaa accounting exec default start-stop group <group>

Send EXEC session start/stop accounting records to the named AAA server group.

Use when: Use this command at the AAA / RADIUS / TACACS+ boundary in the documented evidence chain.

Quick note: Cisco IOS / IOS XE first. Server reachability does not prove credentials, authorization or accounting; login success does not prove command authorization.

Cisco IOS / IOS XE · mixed
Verification

Show Commands

Read-only Cisco show commands for confirming state, narrowing a fault and interpreting the current boundary.

Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

4 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 TACACS+: safe success, reject and fallback lab Verify boundary

Authored isolated administrative-access lab: one IOS / IOS XE device, one TACACS+ server group, a deliberately scoped test service/list and a prevalidated independent console/recovery path. Keep a known-good session open as additional protection; it does not replace console recovery or show new sessions work.

Test a permitted lab user, an explicit server rejection and a permitted user denied one selected command/EXEC action. Correlate each outcome with the exact method list and server decision. For accounting, verify the configured session start/stop or selected command record arrives at the collector; inspect its actual type rather than assuming all events are enabled.

Separately simulate the whole relevant group being unavailable in this lab. With a reviewed local fallback and valid local recovery account, verify the configured error path using a new test session. An explicit reject must not be mislabeled as this outage case.

Save the exact original authentication, authorization, accounting and line/service bindings. Restore scoped changes through the independent recovery path and test new access plus intended restrictions before closing recovery sessions. Do not weaken production authorization or disconnect all live servers to show fallback. No executed test or new verification is claimed.

Step 2 Verification and output interpretation Verify boundary

Verify server reachability from the configured source context, server-group state and AAA transactions for authentication, authorization and accounting separately. Correlate a test username/device timestamp on the TACACS+ server. If a request times out, distinguish transport/server failure from an explicit reject. A server marked reachable does not show the requested user or command will be authorized, and an authenticated session does not show accounting records were ingested. Verify each AAA layer separately.

Step 3 TACACS+: distinguish rejection, server error and authorization Narrow the fault

Walk these boundaries independently:

1. No matching server request: inspect the selected method list/service binding, source address, VRF, route, filter and server group. Do not assume the displayed group is the one the failing service uses.

2. Server reachable but exchange invalid: inspect shared-secret/client identity and transport/counter evidence securely. Reachability alone does not show a valid AAA response.

3. Explicit authentication rejection: investigate the identity/credential/server policy. In the scoped IOS login method-list model, a negative response does not mean “try local next.” The next method is considered when the preceding method reports an error/unavailability according to its configured semantics, not every rejection.

4. Login succeeds but EXEC or commands fail: inspect the separate authorization list, returned attributes/privilege and command policy. An authentication success is not command authorization evidence.

5. Action succeeds but audit is missing: inspect whether the configured accounting record type was generated, sent and received. Accounting is not interchangeable with authentication or authorization.

Compare device and server observations without logging secrets. A server-test command generates traffic and may affect lockout counters; it is a bounded test, not a passive read.

Step 4 TACACS+ observation and test checklist Narrow the fault

1. Identify the exact administrative service, user and time window; preserve independent console/recovery access.

2. Inspect active method-list and line/service bindings, group membership, source/VRF and TCP/49 for the selected TACACS+ server.

3. Read supported AAA/server state and sanitized logs; separate timeout/error from explicit rejection.

4. In an isolated or explicitly approved bounded test, verify authentication, EXEC/command authorization and configured accounting independently.

5. Test the reviewed outage fallback using a new session without treating rejection as outage. Confirm normal server-based policy again after restoration.

Configuration edits, authentication probes, server isolation and debug are interventions. Define stop conditions, avoid account-lockout surprises and restore exact prior bindings. Do not infer a safe fallback merely from a local keyword.

Command lookup Jump straight to Cisco syntax
Key points

Inspect actual service/list bindings. Explicit rejection is different from method error/unavailability; local fallback is not tried after every rejection. Authentication success does not prove EXEC/command permission or accounting. Preserve independent recovery access before tests.

Key checks

1. Identify service/list and retain console recovery.

2. Inspect source/VRF, server group and TCP/49 for the selected TACACS+ server.

3. Correlate device/server state and sanitized response.

4. Separate authentication, authorization and accounting results.

5. Test success/reject/group-unavailable behavior only in a bounded lab or approved scope; restore and verify normal access.

ReferenceWhat it is1 section · depth on demand

What TACACS+ contributes to administrative AAA

TACACS+ supplies centralized AAA decisions for the administrative service in this Topic. Authentication checks identity, authorization determines permitted access/actions, and accounting records selected activity. Their configured lists and enforcement must be verified separately.

ReferenceHow it works1 section · depth on demand

TACACS+: configuration is not an observation

Scope: Cisco IOS / IOS XE administrative login/EXEC AAA for the selected service and method list. Network-access/EAP, ASA and NX-OS behavior require separate scope.

aaa accounting exec default start-stop group <group> is configuration that changes AAA behavior; it is not a read-only diagnostic. Login authentication, EXEC/command authorization and accounting are separately configured decisions. Inspect the relevant running configuration for named/default method lists, server group, source/VRF and actual console/VTY/service binding. Do not paste a default method-list change merely to investigate one session.

Use supported show aaa servers and protocol-specific server statistics on the deployed release, together with sanitized server logs for the same user, service and time. Verify TCP/49 for the selected TACACS+ server; ICMP reachability alone shows neither the AAA exchange nor the applied policy. Never put real passwords or shared secrets in examples or captured output.

Reference: Cisco IOS AAA command reference.

ReferenceImportant terms & boundaries5 sections · depth on demand

Key operational limits

  • 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
  • local fallback 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.

In depth

TACACS+: central device administration with per-command control

The Catalyst 9300 TACACS+ guide states that TACACS+ is configured only through AAA commands (after aaa new-model), that authentication, authorization and accounting are separate modular services, and that all exchanges between the switch and the TACACS+ daemon are encrypted. TACACS+ and AAA are disabled by default. show tacacs displays server statistics.

C9300(config)# aaa new-model
C9300(config)# tacacs server ISE-1
C9300(config-server-tacacs)# address ipv4 10.10.50.31
C9300(config-server-tacacs)# key 7 <key>
C9300(config)# tacacs server ISE-2
C9300(config-server-tacacs)# address ipv4 10.10.50.32
C9300(config-server-tacacs)# key 7 <key>
C9300(config)# aaa group server tacacs+ ISE
C9300(config-sg-tacacs+)# server name ISE-1
C9300(config-sg-tacacs+)# server name ISE-2
C9300(config-sg-tacacs+)# ip tacacs source-interface Loopback0
C9300(config)# aaa authentication login default group ISE local
C9300(config)# aaa authorization exec default group ISE local if-authenticated
C9300(config)# aaa accounting commands 15 default start-stop group ISE
C9300# show tacacs
C9300# test aaa group ISE alice <password> new-code

TACACS+ characteristics

PropertyValue
TransportTCP port 49
EncryptionThe whole packet body (with the shared key)
AAA separationAuthentication, authorization and accounting in separate exchanges
Per-command authorizationSupported
Typical serverCisco ISE (Device Administration), other TACACS+ daemons

Design checklist

ItemReason
Two servers in the groupRedundancy
Fixed source interfaceServers identify devices by source IP
Local fallback and a break-glass accountAccess during outages
Separate console method listConsole access without dependence on the network
Command accountingAudit trail for changes

Troubleshooting

SymptomCheck
Login falls back to localshow tacacs (socket errors, timeouts), server reachability from the source interface
Rejected at the serverServer logs; device registered with the right IP and key
Commands deniedServer command set and shell profile

Newer IOS XE releases also support TACACS+ over TLS 1.3, which replaces the shared-key encryption with TLS.

Documented example, not captured output.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

Quick reference

TACACS+ is a Cisco-originated AAA protocol over TCP 49 that encrypts the whole payload and separates authentication, authorisation and accounting. It supports per-command authorisation and accounting, which makes it the preferred protocol for device administration.

tacacs server ISE1
 address ipv4 10.0.0.60
 key <secret>
aaa group server tacacs+ TACACS
 server name ISE1
 ip tacacs source-interface Loopback0

Documented example, not captured output.

Cisco ISE (Device Administration) is a common TACACS+ server.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

State model and technical mechanics

TACACS+ exchanges AAA requests between the network access device and a TACACS+ server over its transport session, with device/server shared secret protecting protocol content according to the supported implementation. Its architecture is especially suited to administrative access because authentication can be separated from EXEC/command authorization and accounting. The network device is the AAA client/NAS in this relationship; the human administrator does not normally contact the TACACS+ server directly.

Limits and common misconceptions

TACACS+ is centralized AAA, not a general device-encryption mechanism and not evidence of secure management transport; SSH/HTTPS still protect the administrator-to-device session. Shared-secret/protocol protection and network path security are separate considerations. TACACS+ availability can become a management dependency, so fallback and redundancy must be intentional. Keep AAA decision layers and transport health separate when interpreting results. A user can authenticate and then fail authorization; accounting can fail while login and command execution continue; a reachable TACACS+/RADIUS server can reject a request because policy is working as designed.

ReferenceConfiguration & state1 section · depth on demand

Design and configuration model

Define named TACACS+ servers/groups, shared secrets, source interface/VRF and ordered AAA method lists. Use redundant servers and deterministic source addressing so server policy and return routing remain stable. Apply command authorization only after server-side policy is prepared. Protect shared secrets and do not place production keys in reference content. Maintain local recovery and console access so a server/network change cannot permanently lock administrators out.

Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docProtocol standard + deployed implementation RFC 8907

Authoritative/upstream documentation reviewed for bounded claims in Security → AAA → TACACS+. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://www.rfc-editor.org/rfc/rfc8907.html · confidence 94%
Embedded reference data

Quick lookup tables

TACACS+ · technical reference

Compact network access/security mechanics, policy and evidence boundaries for fast lookup.

CapabilityTACACS+ reference
AuthenticationCentral identity decision
AuthorizationEXEC / command policy
AccountingAdministrative records
Management transportStill use SSH/HTTPS separately
Confirmation

Confirm action

Continue?