2-199
Catalyst 2350 Switch Command Reference
OL-19055-01
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands
radius-server host
Usage Guidelines
We recommend that you configure the UDP port for the RADIUS accounting server and the UDP port
for the RADIUS authentication server to nondefault values.
Use the
test
username
name
keywords to enable automatic server testing of the RADIUS server status
and to specify the username to be used.
You can configure the authentication and encryption key by using the
radius-server host
ip-address
key
string
or the
radius-server key
{
0
string
|
7
string
|
string
} global configuration command. Always
configure the key as the last item in this command.
Examples
This example shows how to configure 1500 as the UDP port for the accounting server and 1510 as the
UDP port for the authentication server:
Switch(config)#
radius-server host 1.1.1.1 acct-port 1500 auth-port 1510
This example shows how to configure the UDP port for the accounting server and the authentication
server, enable automated testing of the RADIUS server status, specify the username to be used, and
configure a key string:
Switch(config)#
radius-server host 1.1.1.2 acct-port 800 auth-port 900 test username
aaafail idle-time 75 key abc123
You can verify your settings by entering the
show running-config
privileged EXEC command.
Related Commands
Command
Description
radius-server key
{
0
string
|
7
string
|
string
}
Sets the authentication and encryption key for all RADIUS
communications between the router and the RADIUS daemon.
For syntax information, select
Cisco IOS Security Command
Reference, Release 12.2 > Server Security Protocols >
RADIUS Commands
.
show running-config
Displays the operating configuration. For syntax information,
use this link to the Cisco IOS Release 12.2 Command
Reference listing page:
http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/pr
od_command_reference_list.html
Select the
Cisco IOS Commands Master List, Release 12.2
to navigate to the command.