Use it for network access (802.1X, VPN) and device logins where TACACS+ is not available.
RADIUS
RADIUS 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.
1. UDP 1812/1813 (legacy 1645/1646); only the password is encrypted.
2. Typical for network access (802.1X, VPN).
3. show aaa servers — state and response counters.
service/line binding → method list/group/source → server exchange → authentication result → authorization decision → configured accounting receipt → tested recovery
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
radius server <name>Primary Commands
Configuration and operational commands for this Topic.
radius server <name>ReferenceDefine a named RADIUS server.
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 · mixedaddress ipv4 <server> auth-port 1812 acct-port 1813ReferenceSet the IPv4 address and authentication/accounting ports of a named RADIUS server.
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 · mixedkey <secret>ReferenceSet the shared key used with a TACACS+ server.
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 · mixedaaa group server radius <group>ReferenceCreate a named RADIUS server group for AAA method lists.
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 · mixedserver name <name>ReferenceReference a defined TACACS+ server inside a 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 · mixedaaa authentication login default group <group> localReferenceAuthenticate 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 · mixedShow 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 RADIUS: safe success, reject and fallback lab Verify boundary
Authored isolated administrative-access lab: one IOS / IOS XE device, one RADIUS 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 request/reply counters and correlate a transaction on the RADIUS server using username, NAS/device identity, source address and timestamp. Distinguish Access-Reject from timeout/no response. Inspect returned attributes when the authentication succeeds but the resulting VLAN/role/privilege is unexpected. Accounting success requires evidence of server receipt, not only an authentication Access-Accept. Verify each AAA layer separately.
Step 3 RADIUS: 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 RADIUS 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 configured RADIUS authentication/accounting UDP ports, commonly 1812/1813.
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.
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.
1. Identify service/list and retain console recovery.
2. Inspect source/VRF, server group and configured RADIUS authentication/accounting UDP ports, commonly 1812/1813.
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 RADIUS contributes to administrative AAA
RADIUS 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
RADIUS: 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 authentication login default group <group> local 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 configured RADIUS authentication/accounting UDP ports, commonly 1812/1813; 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
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.
In depth
RADIUS: the standard for network access, also usable for device login
The Catalyst 9300 RADIUS guide describes RADIUS over UDP, with default ports 1645 (authentication) and 1646 (accounting) on IOS. Many servers use the IANA ports 1812/1813, so the ports are often set explicitly. A server is defined with radius server <name>, address ipv4 <ip> auth-port <p> acct-port <p>, and key. The guide says to always configure the key last.
C9300(config)# aaa new-model
C9300(config)# radius server ISE-1
C9300(config-radius-server)# address ipv4 10.10.50.31 auth-port 1812 acct-port 1813
C9300(config-radius-server)# timeout 5
C9300(config-radius-server)# retransmit 2
C9300(config-radius-server)# key 7 <key>
C9300(config)# aaa group server radius ISE-RAD
C9300(config-sg-radius)# server name ISE-1
C9300(config)# radius-server deadtime 15
C9300(config)# aaa authentication dot1x default group ISE-RAD
C9300(config)# aaa authorization network default group ISE-RAD
C9300(config)# aaa accounting dot1x default start-stop group ISE-RAD
C9300(config)# aaa server radius dynamic-author
C9300(config-locsvr-da-radius)# client 10.10.50.31 server-key 7 <key>
C9300# show aaa servers
Settings from the guide
| Setting | Default / meaning |
|---|---|
radius-server retransmit | 3 |
radius-server timeout | 5 seconds |
radius-server deadtime | 0 (off); 1–1440 minutes skips a dead server |
| Dead server | %RADIUS-4-RADIUS_DEAD logged, next host tried in configuration order |
CoA (aaa server radius dynamic-author) | Reauthenticate, disconnect, bounce or disable a port from the server |
RADIUS versus TACACS+
| RADIUS | TACACS+ | |
|---|---|---|
| Transport | UDP | TCP 49 |
| Encryption | User password attribute only | Whole body |
| Authentication + authorization | Combined | Separate |
| Per-command authorization | No | Yes |
| Main use | 802.1X, MAB, VPN, Wi-Fi | Device administration |
Practice
Set deadtime so a failed server isn't retried for every request, use two servers, and verify CoA with the server before relying on it for 802.1X policy changes.
Documented example, not captured output.
Quick reference
RADIUS is a standard AAA protocol over UDP (1812 authentication, 1813 accounting) that combines authentication and authorisation in one exchange. It is the protocol for network access — 802.1X, VPN and Wi-Fi — and is also used for device login in multi-vendor environments.
radius server ISE1
address ipv4 10.0.0.60 auth-port 1812 acct-port 1813
key <secret>
aaa group server radius RADIUS
server name ISE1
Documented example, not captured output.
Classic RADIUS only encrypts the password field; RADIUS over TLS (RadSec) protects the whole exchange.
State model and technical mechanics
RADIUS exchanges Access-Request/Accept/Reject/Challenge style messages and accounting messages between a network access device and the RADIUS service. Policy is expressed through request attributes and returned attributes that can influence authorization such as VLAN, role or privilege depending on the use case/platform. Authentication/authorization information is typically coupled more closely than TACACS+ command-centric administration. Accounting commonly uses separate request/response exchanges and must be verified independently.
Limits and common misconceptions
RADIUS reachability does not show identity policy success, and Access-Accept does not show every returned attribute was understood or enforced by the device. RADIUS is also not a substitute for SSH/TLS transport between an administrator and the device. Keep transport, identity decision, returned authorization attributes, enforcement and accounting as separate facts. 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 redundant RADIUS servers/groups, shared secrets, source interface/VRF and timeout/retransmit behavior appropriate to the environment. Ensure server policy expects the attributes the device actually sends and returns attributes the device supports. For administrative access, confirm that the required privilege/authorization semantics are supported before standardizing on RADIUS. For 802.1X/network access, document identity source, authorization result and fallback behavior separately.
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 → RADIUS. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.rfc-editor.org/rfc/rfc2865.html · confidence 94%Quick lookup tables
RADIUS · technical reference
Compact network access/security mechanics, policy and evidence boundaries for fast lookup.
| Message/result | Meaning |
|---|---|
| Access-Request | Device asks AAA service |
| Access-Accept | Identity/policy accepted with attributes |
| Access-Reject | Explicit policy denial |
| Accounting | Separate audit exchange |