Use it when 802.1X, Wi-Fi or VPN logons fail — for everyone (device-to-server problem) or for some (policy or credentials).
RADIUS
RADIUS is the protocol a switch, access point or VPN gateway uses to ask a central server whether a user or device may connect. The answer carries attributes — a VLAN, an access list, a privilege level. TACACS+ is the alternative for device administration.
1. RADIUS: UDP 1812/1813, shared secrets, AV pairs.
2. Use strong secrets; RadSec (TLS) where possible.
3. Redundant servers.
4. Accounting for sessions.
5. Blast-RADIUS: require Message-Authenticator.
NAS → Access-Request → RADIUS server → Accept/Reject + attributes
Context & applicabilityCommon mistakes · platform/version boundaries
- "No answer from the server means it is down." A wrong shared secret, or a source address the server does not know, gives the same silence.
- "The user was rejected, so the password is wrong." The server's log gives the reason: unknown user, expired account, a policy that did not match, a certificate problem.
- "Access-Accept means the user has the right access." The attributes in it decide the VLAN or rights; a missing attribute leaves the default.
- "RADIUS is encrypted." Only the password field is hidden.
- "The device sends requests from the interface nearest the server." Unless a source interface is configured, the address can change with routing — and the server knows the client by address.
- "The servers are redundant, so one failure is invisible." Each request waits for timeouts before moving on; logons become slow.
A valid RADIUS response shows the server processed a request under that client/transport context, but it does not show attribute enforcement or secure transport for every field.
Suspicious evidence: shared-secret mismatch, source IP/NAT change, UDP loss/retry, duplicate request, weak legacy transport, Message-Authenticator gap, attribute truncation or accounting missing.
Operational reference
Fast context before you go deeper.
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 path Verify boundary
NAD client → RADIUS transport/security → request/authenticator → policy/EAP processing → response attributes → NAD enforcement/accounting
Step 2 Operational verification Verify boundary
Centralized network-device authentication/authorization, shared secrets, reachability and policy troubleshooting.
Fast verification
- Confirm protocol/port, source interface/IP, shared secret and server reachability.
- Compare request/response on both device and server; timeouts differ from explicit reject/deny.
- For TACACS+, verify command authorization separately from login authentication.
Step 3 Verification & troubleshooting Narrow the fault
Path: Security → Network Access Control → RADIUS. Local intent: RADIUS is an AAA protocol commonly used between network access devices and authentication servers to carry access requests, challenges, accept/reject results, authorization attributes and accounting; legacy UDP protection has important limits.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
UDP 1812 authentication, 1813 accounting. The server knows each device by IP address and shared secret; a wrong secret or unknown address gets silence, which looks just like a server that is down. The server's log gives the reason for a reject. Only the password is hidden in transit.
radtest <user> <pw> <server> 0 <secret>— test authfreeradius -X— debug server (stop service first)show radius server-group all— NAS view
ReferenceWhat it is1 section · depth on demand
Mental model
RADIUS is the protocol a network device uses to ask a central server whether a user or device may connect, and on what terms. It is behind 802.1X on wired and wireless networks, VPN logons and often administrator logons. TACACS+ is the alternative preferred for administering network devices.
ReferenceWhy it matters2 sections · depth on demand
When to use it
Use this Topic when the problem is in RADIUS & TACACS+. Use Identity & Authentication when the problem concerns identity, authentication, certificates, access control, hardening, secure transport or security evidence.
Why it matters operationally
When 802.1X, Wi-Fi or VPN logons fail for everyone at once, the cause is usually between the network device and the RADIUS server — a shared secret that does not match, a server that does not recognise the device's address, a blocked port — and not the users' credentials. Knowing the exchange shows which side to look at.
ReferenceHow it works1 section · depth on demand
How it works
Roles. The switch, access point or VPN gateway is the RADIUS client (also called NAS or authenticator). It forwards the user's credentials to the RADIUS server, which checks them — usually against a directory — and answers. The user's device never talks to the server directly.
The exchange.
| Message | Direction | Meaning |
|---|---|---|
| Access-Request | Client → server | Here are the credentials |
| Access-Challenge | Server → client | More is needed (used by EAP and multi-factor) |
| Access-Accept | Server → client | Permitted — with attributes |
| Access-Reject | Server → client | Denied |
| Accounting-Request / Response | Both | Session started, updated, stopped |
Authentication and authorization arrive together: the Access-Accept carries attributes that tell the device what to do with the session — a VLAN, an access list, a privilege level, a session timeout.
Transport. UDP port 1812 for authentication and 1813 for accounting (1645 and 1646 on older systems). Because it is UDP, an unanswered request simply times out and is retried, then sent to the next server.
Trust between client and server. Each client is registered on the server with its IP address and a shared secret; the same secret is configured on the client. A request from an unknown address, or with the wrong secret, is silently dropped — to the device it looks exactly like a server that is down.
What is protected. Only the password attribute is hidden; user names and all other attributes travel in clear text. On untrusted networks RADIUS is wrapped in TLS (RadSec) or IPsec.
Change of Authorization. The server can later tell the device to re-authenticate or disconnect a session (UDP 3799) — used when a device's posture or policy changes.
RADIUS and TACACS+.
| RADIUS | TACACS+ | |
|---|---|---|
| Transport | UDP 1812/1813 | TCP 49 |
| Protection | Password only | The whole message body |
| Authentication and authorization | Combined | Separate |
| Per-command authorization | No | Yes |
| Typical use | Network access | Device administration |
Looking at it (Cisco IOS).
show aaa servers
test aaa group radius <user> <password> legacy
debug radius authentication
On the server, the authentication log gives the reason for each reject — and has no entry at all when the request was dropped.
ReferenceImportant terms & boundaries1 section · depth on demand
What this shows and what it does not
A valid RADIUS response shows the server processed a request under that client/transport context, but it does not show attribute enforcement or secure transport for every field.
Network Access Control owns admission, 802.1X/EAP roles, AAA exchange, authorization results and posture boundaries.
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 Network Access Control → RADIUS. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.rfc-editor.org/rfc/rfc3748 · confidence 94%What changed and what may be affected
Recent technical edits are separated from ordinary page timestamps. Relationship impact is advisory: it identifies nearby canonical references to review, not automatic breakage.
Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Quick lookup tables
Network Access Control → RADIUS proof map
Fast scope, effective-policy, runtime-evidence and closure boundaries for Network Access Control → RADIUS.
| Boundary | Establish | Does not establish |
|---|---|---|
| Scope and intent | Exact subjects, destinations, application, direction, trust zone and expected decision | Does not prove effective path, identity, cryptography or enforcement |
| Effective control state | Resolved rule/policy, session/SA, identity/posture, translation and selected path | Object/config presence does not prove a match or packet outcome |
| Runtime evidence | Correlated client, authenticator/firewall/VPN, AAA and destination observations for one flow/time | A single log or success does not prove every packet, peer, path or failover state |
| Closure | Original allowed/denied operation behaves as intended and regression/failure tests pass | Administrative commit or tunnel-up state alone is not closure |