RADIUS centralizes authentication and accounting using a shared secret and a server or server group. Cisco AAA method lists reference the server group.
Configuration
Replace highlighted placeholders. Configure only the variants required by the task.
Prerequisites and dependency links
Set up the RADIUS service and define this device as a permitted client on the server.
Confirm reachability, matching ports, source address and shared secret.
Named RADIUS server Recommended / essential starting point
Start in privileged EXEC; block enters and exits configuration mode.Section link
enable
configure terminal
aaa new-model
radius server [RADIUS-SERVER-NAME]
address ipv4 [SERVER-IP] auth-port 1812 acct-port 1813
key [SHARED-SECRET]
exit
end
Command parameters
[RADIUS-SERVER-NAME]
Local name for the RADIUS server definition.
[SERVER-IP]
IPv4 address of the relevant server.
[SHARED-SECRET]
Matching shared authentication secret on participating systems.
RADIUS server group Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode.Section link
enable
configure terminal
aaa group server radius [RADIUS-GROUP]
server name [RADIUS-SERVER-NAME]
exit
end
Command parameters
[RADIUS-GROUP]
Named AAA RADIUS server group.
[RADIUS-SERVER-NAME]
Local name for the RADIUS server definition.
Optional RADIUS source interface Optional when requested
Start in privileged EXEC; block enters and exits configuration mode.Section link
enable
configure terminal
ip radius source-interface [SOURCE-INTERFACE]
end
Command parameters
[SOURCE-INTERFACE]
Local source interface used for probes or management traffic.
Bind RADIUS with local fallback to VTY Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode.Section link
enable
configure terminal
! Secret hash depends on the IOS/IOS XE release and platform.
! Prefer type 9 (scrypt) or type 8 (PBKDF2-SHA-256) where supported; type 5 (MD5) is legacy.
! See Password Hashing for algorithm-type examples; secret 8/9 requires an encoded hash.
username [USERNAME] privilege 15 secret [PASSWORD]
aaa new-model
aaa authentication login [LOGIN-LIST] group [RADIUS-GROUP] local
line vty 0 [VTY-LAST]
login authentication [LOGIN-LIST]
exit
end
Command parameters
[USERNAME]
Local user account name.
[PASSWORD]
New local or line password; never include a real password in shared material.
[LOGIN-LIST]
AAA authentication method-list name.
[RADIUS-GROUP]
Named AAA RADIUS server group.
[VTY-LAST]
Last VTY line number supported by the device; configure remaining lines as needed.