Table Of Contents
Configuring Timeout, Retransmission, and Key Values per RADIUS Server
Related Features and Technologies
Supported Standards, MIBs, and RFCs
Configuring Global Timeout, Retransmission, and Key Values
Verifying Global Timeout, Retransmission, and Key Values
Configuring Per-Server Timeout, Retransmission, and Key Values
Verifying Per-Server Timeout, Retransmission, and Key Values
RADIUS Server with Server-Specific Values
Multiple RADIUS Servers with Global and Server-Specific Values
Configuring Timeout, Retransmission, and Key Values per RADIUS Server
The Configuring Timeout, Retransmission, and Key Values per RADIUS Server feature extends the functionality of the existing radius-server host command. This document contains the following sections:
•
Supported Standards, MIBs, and RFCs
Feature Overview
The radius-server host command functions have been extended to include timeout, retransmission, and encryption key values that enables you to apply any or all of these functions to individual RADIUS servers on a per-server basis. In previous Cisco IOS releases, you could only apply timeout, retransmission, and encryption key values globally to all RADIUS servers in the router configuration by using three unique global commands: radius-server timeout, radius-server retransmit, and radius-server key.
Note
You can configure both global and per-server timeout, retransmission, and key value commands simultaneously on the same Cisco network access server. If both global and per-server functions are configured on a router, the per-server timer, retransmission, and key value commands override global timer, retransmission, and key value commands.
Benefits
Greater Flexibility
Offering per-server, timeout, retransmit, and key values functions provides the system administrator with greater flexibility when configuring RADIUS servers.
Improved Network Security
Unique key values help improve network security requiring different keys for different servers.
Improved Server Access
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.
Related Features and Technologies
•
RADIUS
•
AAA Security Services
Related Documents
•
Cisco IOS Release 12.0 Security Configuration Guide
•
Cisco IOS Release 12.0 Security Command Reference
Supported Platforms
•
Cisco AS5200
•
Cisco AS5300
•
Cisco AS5800
•
Cisco 7200 series
Supported Standards, MIBs, and RFCs
Standards
None
MIBs
None
For descriptions of supported MIBs and how to use MIBs, see the Cisco MIB web site on CCO at http://www.cisco.com/public/sw-center/netmgmt/cmtk/mibs.shtml.
RFCs
None
Prerequisites
•
Enable authentication, authorization, and accounting (AAA) security services 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 Cisco IOS Release 12.0 Security Configuration Guide for details on how to configure AAA services.
•
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. Refer to the Cisco IOS Release 12.0 Security Configuration Guide and Cisco IOS Release 12.0 Security Command Reference for details on how to configure radius-server key command.
Configuration Tasks
See the following sections for configuration tasks for the Configuring Timeout, Retransmission, and Key Values per RADIUS server feature. Each task in the list indicates if the task is optional or required.
•
Configuring Global Timeout, Retransmission, and Key Values
•
Configuring Per-Server Timeout, Retransmission, and Key Values
Configuring Global Timeout, Retransmission, and Key Values
Verifying Global Timeout, Retransmission, and Key Values
To verify global timeout, retransmission, and key values, use the privileged EXEC show running-config command.
Configuring Per-Server Timeout, Retransmission, and Key Values
Verifying Per-Server Timeout, Retransmission, and Key Values
To verify global timeout, retransmission, and key values, use the privileged EXEC show running-config command.
Configuration Examples
This section provides the following configuration examples:
•
RADIUS Server with Server-Specific Values
•
Multiple RADIUS Servers with Global and Server-Specific Values
RADIUS Server with Server-Specific Values
The following example configures server-specific timeout, retransmit, and key values for the RADIUS server with IP address 172.31.39.46:
router(config)# radius-server host 172.31.39.46 timeout 6 retransmit 5 key rad123Multiple RADIUS Servers with Global and Server-Specific Values
The 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 AAA 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.router(config)# aaa new-modelrouter(config)# aaa authentication login default radiusrouter(config)# aaa authentication login console-login nonerouter(config)# aaa authentication ppp default radiusrouter(config)# aaa authorization network default radiusrouter(config)# aaa accounting exec default start-stop radiusrouter(config)# aaa accounting network default start-stop radiusrouter(config)# enable password tryit1!! Change the global retransmission value for all RADIUS servers.router(config)# radius-server retransmit 4!! Configure per-server specific timeout, retransmission, and key values.! Change the default auth-port and acct-port values.router(config)# radius-server host 172.16.1.1 auth-port 1612 acct-port 1616 timeout 3 router(config)# retransmit 3 key radkey!! Configure per-server specific timeout and key values. This server uses the global! retransmission value.router(config)# radius-server host 172.29.39.46 timeout 6 key rad123Command Reference
This section documents modified commands. All other commands used with this feature are documented in the Cisco IOS Release 12.0 command reference publications. In this feature, 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 global 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
Defaults
No RADIUS host is specified; use global radius-server command values.
Command Modes
Global configuration
Command History
Usage Guidelines
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.
Examples
The following example specifies host1 as the RADIUS server and uses default ports for both accounting and authentication:
router(config)# 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:
router(config)# 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:
router(config)# radius-server host 172.29.39.46 auth-port 1612 acct-port 1616 timeout 6retransmit 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:
router(config)# radius-server host host1.domain.com auth-port 0router(config)# radius-server host host2.domain.com acct-port 0Related Commands
