CLI Guide

Security Commands 1035
one with the lowest priority value is tried first. In a server with multiple
hostnames/IP addresses with the same priority, the order of attempts is
based on lexicographic order. For example, if hostnames name9, name1,
name6 are configured as secondary hosts, the hostnames are attempted in
the order name1, name6, name9 when the primary host fails to respond.
Command History
Updated syntax in version 6.5 firmware.
Example
The following example specifies a RADIUS authentication server with the
following characteristics:
Server IP address — 192.168.10.1
Server Name — name1
Type — primary
console(config)#radius server 192.168.10.1
console(config-auth-radius)#name name1
console(config-auth-radius)#primary
The following shows an example configuration with two servers (list1 and
list2), each of which has a Primary and Secondary IP addresses:
console(config)#show aaa servers authentication
* Host Address Server Name Port Type
---- ------------ ----------- --------- -------
1.2.3.1 list1 1812 Primary
4.3.2.2 list2 1812 Secondary
4.3.2.1 list2 1812 Primary
1.2.3.5 list1 1812 Secondary
1.2.3.4 list1 1812 Secondary
* currently selected server
radius server key
Use the radius server key command to set the authentication and encryption
key for all RADIUS communications between the switch and the RADIUS
server. Use the no form of the command to disable the key.