Explains the RADIUS server host communication parameters that Cisco IOS XR uses to reach external RADIUS servers for authentication and accounting services.
A router-to-RADIUS server communication configuration is a RADIUS client configuration that
-
identifies external RADIUS server hosts by hostname, IP address, and authentication or accounting UDP port numbers
-
allows per-server timeout, retransmission, and key values to override global RADIUS values when both are configured, and
-
enables the source-interface setting to force outgoing RADIUS packets to use a specific interface or VRF-specific interface.
Additional reference information
Router-to-RADIUS server communications are configured to define how the router interacts with external RADIUS server hosts. The RADIUS host is typically a multiuser system running RADIUS server software from providers such as Cisco (CiscoSecure ACS), Livingston, Merit, or Microsoft. Key configurable components include:
-
Hostname or IP address
-
Authentication destination port
-
Accounting destination port
-
Retransmission value
-
Timeout period
-
Key string
RADIUS security servers are uniquely identified using either hostname or IP address, TCP/UDP port numbers, or combinations thereof. This enables RADIUS requests to be directed to multiple ports on the same server. If multiple host entries exist for the same service (such as accounting), backup switching is automatic—the second entry is used if the first fails. Host entries are tried in configuration order.
A router and RADIUS server use a shared secret (key string) to encrypt passwords and exchange responses. Global parameters can be set for timeout, retransmission, and encryption key values; these can also be specified per server and per global/per-server combinations. To set parameters globally, use the commands: radius-server timeout , radius-server retransmit , and radius-server key . For per-server settings, use the radius-server host command.
You can configure a maximum of 30 global RADIUS servers.
You can configure both global and per-server timeout, retransmission, and key value commands at the same time. If both are configured, the per-server settings override the global settings.
RADIUS summary example
radius source-interface Mgm0/rp0/cpu0/0 vrf default
radius-server timeout 10
radius-server retransmit 2
!
! OOB RADIUS
radius-server host 192.0.2.10 auth-port 1812 acct-port 1813
key cisco123
timeout 10
retransmit 2
!
radius-server host 192.0.2.11 auth-port 1812 acct-port 1813
key cisco123
timeout 10
retransmit 2
!
aaa group server radius radgrp
server 192.0.2.10 auth-port 1812 acct-port 1813
server 192.0.2.11 auth-port 1812 acct-port 1813
!
aaa authorization exec radauthen group radgrp local
aaa authentication login radlogin group radgrp local
!
line template vty
authorization exec radauthen
login authentication radlogin
timestamp disable
exec-timeout 0 0
!
vty-pool default 0 99 line-template vty