Table Of Contents
Configuring Timeout, Retransmission, and Key Values Per RADIUS Server
Configuring Timeout, Retransmission, and Key Values Per RADIUS Server
Feature Summary
The radius-server host command functions have been extended to include timeout, retransmission, and encryption key values on a per-server basis. Currently, timeout, retransmission, and encryption key values are applied globally to all RADIUS servers in the router configuration with three unique global commands: radius-server timeout, radius-server retransmit, and radius-server key.
Benefits
Offering per-server key, timeout, and retransmit functions provides the system administrator with greater flexibility when configuring RADIUS servers. Unique key values help improve network security requiring different keys for different servers. Per-server timeout and retransmit settings can help improve server access on busy networks where overall response times may vary widely from network to network.
Platforms
This feature is supported on the following platforms:
•
Cisco AS5200
•
Cisco AS5300
•
Cisco AS5800
•
Cisco 7200 series
Prerequisites
•
Enable AAA authentication with the aaa new-model command and configure AAA security services on the router or access server to support the RADIUS security protocol. Refer to the Security Configuration Guide for details on how to configure AAA services for RADIUS servers.
•
If you have at least one RADIUS server that does not have a per-server key, use the radius-server key command to set the authentication and encryption key for all RADIUS communications between the router and the RADIUS server.
Supported MIBs and RFCs
No MIBs or RFCs are supported by this feature.
Configuration Tasks
describes the tasks for configuring timeout, retransmission, and key values for a specific RADIUS server. Enter these commands in global configuration mode
:
Configuration Examples
The following example configures server-specific timeout, retransmit, and key values for the RADIUS server with IP address 172.31.39.46:
radius-server host 172.31.39.46 timeout 6 retransmit 5 key rad123The following configuration example configures two RADIUS servers with specific timeout, retransmit, and key values. In this example, the aaa new-model command enables AAA services on the router, while specific authentication, authorization, and accounting commands define the AAA services. The radius-server retransmit command changes the global retransmission value to 4 for all RADIUS servers. The radius-server host command configures specific timeout, retransmission, and key values for the RADIUS server hosts with IP addresses 172.16.1.1 and 172.29.39.46.
! Enable AAA services on the router and define those services.aaa new-modelaaa authentication login default radiusaaa authentication login console-login noneaaa authentication ppp default radiusaaa authorization network default radiusaaa accounting exec default start-stop radiusaaa accounting network default start-stop radiusenable password tryit1!! Change the global retransmission value for all RADIUS servers.radius-server retransmit 4!! Configure per-server specific timeout, retransmission, and key values.! Change the default auth-port and acct-port values.radius-server host 172.16.1.1 auth-port 1612 acct-port 1616 timeout 3 retransmit 3 key radkey!! Configure per-server specific timeout and key values. This server uses the global! retransmission value.radius-server host 172.29.39.46 timeout 6 key rad123Command Reference
The radius-server host command has been modified to add support for configuring timeout, retransmission, and key values per RADIUS server.
radius-server host
To specify a RADIUS server host, use the radius-server host configuration command. Use the no form of this command to delete the specified RADIUS host.
radius-server host {hostname | ip-address} [auth-port port-number] [acct-port port-number]
[timeout seconds] [retransmit retries] [key string]
no radius-server host {hostname | ip-address}Syntax Description
Default
No RADIUS host is specified; use global radius-server command values.
Command Mode
Global configuration
Usage Guidelines
This command first appeared in Cisco IOS Release 11.3. Options for configuring timeout, retransmission, and key values per RADIUS server were added in release 11.3(8) AA.
You can use multiple radius-server host commands to specify multiple hosts. The software searches for hosts in the order you specify them.
If no host specific timeout, retransmit, or key values are specified, the global values apply to that host.
For a list of supported vendor-specific RADIUS attributes, refer to the "RADIUS Attributes" appendix in the Security Configuration Guide.
Examples
The following example specifies host1 as the RADIUS server and uses default ports for both accounting and authentication:
radius-server host host1The following example specifies port 1612 as the destination port for authentication requests and port 1616 as the destination port for accounting requests on the RADIUS host named host1:
radius-server host host1 auth-port 1612 acct-port 1616Because entering a line resets all the port numbers, you must specify a host and configure accounting and authentication ports on a single line.
The following example specifies the host with IP address 172.29.39.46 as the RADIUS server, uses ports 1612 and 1616 as the authorization and accounting ports, sets the timeout value to 6, sets the retransmit value to 5, and sets "rad123" as the encryption key, matching the key on the RADIUS server:
radius-server host 172.29.39.46 auth-port 1612 acct-port 1616 timeout 6 retransmit 5 key rad123To use separate servers for accounting and authentication, use the zero port value as appropriate. The following example specifies that RADIUS server host1 be used for accounting but not for authentication, and that RADIUS server host2 be used for authentication but not for accounting:
radius-server host host1.domain.com auth-port 0radius-server host host2.domain.com acct-port 0Related Commands
aaa new-model
radius-server timeout
radius-server retransmit
radius-server key
