Define TACACS+ Server Key Option
The global authentication encryption key is set with the global configuration command tacacs-server key.
This key value must match the key value configured on the TACACS+ server, if one
is used. Use the no form of this command to disable the key. The syntax is
Rtr1(config)#tacacs-server key string
Rtr1(config)#no tacacs-server key [string]
The following example specifies a global timeout of seven seconds,
a global key of cisco-key, and then three TACACS+ servers. The first
one—tac-serv1—is the one all requests are sent to first. If those requests
aren’t answered before the timeout timer expires (seven seconds), the next two
servers are tried in order. The global timeout and key settings only apply to
the first two servers because the third one has overriding options defined.
Rtr1(config)#aaa new-model
Rtr1(config)#tacacs-server timeout 7
Rtr1(config)#tacacs-server key cisco-key
Rtr1(config)#tacacs-server host tac-serv1
Rtr1(config)#tacacs-server host 192.168.1.4
Rtr1(config)#tacacs-server host 192.168.6.4 port 1500 timeout 3 key cisco9