You can configure up to five RADIUS servers on a device.
Prior to configuring a RADIUS server by specifying a domain or host name, you must configure the Domain Name System (DNS) server on the device by using the ip dns command. The host name cannot be resolved unless the DNS server is configured.
Note
When a list of servers is configured on the device, failover from one server to another server only happens when a RADIUS server fails to respond; it does not happen when user authentication fails.Perform the following task to add a RADIUS server to a device.
device# configure terminal Entering configuration mode terminal
device(config)# radius-server host 10.38.37.180 use-vrf mgmt-vrf device(config-host-10.38.37.180/mgmt-vrf)#
device(config-host-10.38.37.180/mgmt-vrf)# protocol pap
device(config-host-10.38.37.180/mgmt-vrf)# key "new#vertigo*secret"
device(config-host-10.38.37.180/mgmt-vrf)# timeout 10
device(config-host-10.38.37.180/mgmt-vrf)# source-interface ethernet 0/2
device(config-host-10.38.37.180/mgmt-vrf)# end
device# show running-config radius-server host 10.38.37.180 radius-server host 10.38.37.180 use-vrf mgmt-vrf protocol pap key "ayykN/07wCMEy0SKrpZXPm0hzI37Ze9qNugdSQXhoo0=\n" encryption-level 7 timeout 10 source-interface ethernet 0/2