2-282
Cisco IE 3000 Switch Command Reference
OL-13019-01
Chapter 2      IE 3000 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
dot1x critical (global configuration) Configures the parameters for the inaccessible authentication 
bypass feature.
dot1x critical (interface 
configuration)
Enables the inaccessible authentication bypass feature on an 
interface and configures the access VLAN to which the switch 
assigns the critical port when the port is in the 
critical-authentication state. 
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 running configuration on the switch. For syntax 
information, select Cisco IOS Configuration Fundamentals 
Command Reference, Release 12.2 > File Management 
Commands > Configuration File Management Commands.