RADIUS
Cheat sheet · https://pcornel.dk/topic.php?topic=756
Answer
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.
Remember
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.
First checks
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.
Commands
show aaa servers- Inspect AAA server state/statistics.
key <secret>- Set the shared key used with a TACACS+ server.
server name <name>- Reference a defined TACACS+ server inside a server group.
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.
radius server <name>- Define a named RADIUS server.
address ipv4 <server> auth-port 1812 acct-port 1813- Set the IPv4 address and authentication/accounting ports of a named RADIUS server.
aaa group server radius <group>- Create a named RADIUS server group for AAA method lists.
Verify in this order
service/line binding → method list/group/source → server exchange → authentication result → authorization decision → configured accounting receipt → tested recovery
Where it usually breaks
wrong list or source → transport/secret/client identity → reject versus error → EXEC/command policy → missing accounting → untested recovery path
RADIUS · technical reference
| 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 |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=756