Configuring Switch-to-RADIUS-Server Communication
Beginning in privileged EXEC mode, follow these steps to configure the RADIUS server parameters:
Before You Begin
Identify the following RADIUS security server settings that will be used in theses instructions:
•
Host name
•
Host IP address
•
Host name and specific UDP port numbers
•
IP address and specific UDP port numbers
The combination of the IP address and UDP port number creates a unique identifier, that enables RADIUS
requests to be sent to multiple UDP ports on a server at the same IP address. If two different host entries on
the same RADIUS server are configured for the same service (for example, authentication) the second host
entry that is configured functions as the failover backup to the first one. The RADIUS host entries are chosen
in the order that they were configured.
SUMMARY STEPS
1.
configure terminal
2.
ip radius source-interface vlan vlan interface number
3.
radius-server host
{
hostname
|
ip-address
}
test username username
4.
radius-server key string
5.
radius-server dead-criteria tries num-tries
6.
end
DETAILED STEPS
Purpose
Command or Action
Enters the global configuration mode.
configure terminal
Example:
Switch#
configure terminal
Step 1
Specifies that the RADIUS packets have the IP address of the indicated interface.
ip radius source-interface vlan vlan
interface number
Step 2
Example:
Switch(config)#
ip radius
source-interface vlan 80
Specifies the host name or IP address of the remote RADIUS server.
radius-server host
{
hostname
|
ip-address
}
test username username
Step 3
Catalyst 2960-XR Switch Security Configuration Guide, Cisco IOS Release 15.0(2)EX1
OL-29434-01
315
Configuring Web-Based Authentication
Configuring Switch-to-RADIUS-Server Communication