Cisco ISO 15.x – Warning: The cli will be deprecated soon

While setting up authentication on a new Cisco 2960G-X switch I kept getting the following warning when booting up.

Warning: The cli will be deprecated soon
'tacacs-server host timeout 5'
Please move to 'tacacs server <name>' CLI

Press RETURN to get started!

After some research it turn out the switch was running IOS 15.02 and the syntax has changed. The following steps will remove the warning and apply the correct syntax going forward.

Switch#conf t
Switch(config)#no tacacs-server host x.x.x.x timeout 5
Switch(config)#no tacacs-server key 7 047B08055C2D401D070D
Switch(config)#Radius Server TACAS-SERVER
Switch(config-radius-server)#address ipv4 x.x.x.x
Switch(config-radius-server)#key 7 047B08055C2D401D070D

The config will look like this:

radius server TACAS-SERVER
address ipv4 x.x.x.x auth-port 1645 acct-port 1646
key 7 047B08055C2D401D070D

It might we worthwhile verifying that you have …

aaa new-model

… in your configuration as well.

  • Share:

Leave a Comment

Send a Message