Change Radius-server host to Radius server

Today I was configuring a Cisco router ( ISR2 ) 3945 and on the moment that I configured the Radius settings for the VPN login. Did i get a message ( warning ) “The CLI will be deprecated soon ‘radius-server host <IP address>’ Please move to ‘radius server <name>’ CLI.”
Well okay first was it quiet simple command and now I’ve to change it in something else.
Go to the CLI and remove the old radius-server host < IP address> string.
Continue to configure the new setup.

Radius server < name of your radius server >
address ipv4 < ip address >
key < the key you use to connect to you radius server >

Final output.

radius server server01
 address ipv4 10.0.4.1 auth-port 1645 acct-port 1646
 key 7 <scrambled key>
!

5 thoughts on “Change Radius-server host to Radius server”

  1. When you reboot the router, does it show some lines in the log like this?
    000008: *Mar 1 00:01:44.689 UTC: %RADIUS-4-NOSERVNAME: Warning: Server is not defined.
    000009: *Mar 1 00:01:44.695 UTC: %RADIUS-4-NOSERVNAME: Warning: Server is not defined.
    The login works via AAA/Radius but just after the boot these warnings are displayed. I configured the Radius servers with the new method.

    1. This is quiet simple. The radius policy hasn’t been active yet at the time of the message. NO issue actually. when you have a message like %RADIUS-3-NOSERVERS than there is an issue.
      So if radius works no problem.

  2. Thank you for your reply. Cisco confirmed this also. It is a bug at the moment. The Radius group is defined before the definition of the Radius servers, hence the warning… But no impact on the functionality 🙂

  3. I am trying to configure my cisco Switch for dot1x authentication, but when i run this command on console: radius-server host 192.168.xx.xx auth-port 1812 acct-port 1813 key xxxx
    i get an error message at host by an ^ mark.
    Can anyone help me please.

    1. Have you created a host already before making it available in the radius-server. this will cause this issue if you didn’t make a host referred to the output.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.