3Com 10014302 Network Router User Manual


 
Example
# Clear all the statistics of TACACS+ servers.
[Router] reset hwtacacs server statistics
2.9 shared-key
Syntax
shared-key key-string
undo shared-key
View
Hwtacacs view
Parameter
key-string: The encrypted key used for the AAA negotiation between the router and a
TACACS+ server. It is a string of 1 to 64 printable characters (except for the space) in
length and must match the key used by the TACACS+ server.
Description
Using the shared-key command, you can set a shared key for the router and a
TACACS+ server to carry out AAA negotiation. Using undo shared-key command,
you can delete the shared key used for the AAA negotiation with the TACACS+
server.
By default, no key is set.
The entered key must match the key used by the TACACS+ server. All the leading
spaces in the key string will be ignored, and the keys containing spaces will not be
supported.
The key configured using this command will be replaced by the one configured using
the command host.
For related command, see host.
Example
# Use “mykey” as the encrypted key for the AAA negotiation with the TACACS+
server.
[Router] hwtacacs-server template tactemplate1
[Router-hwtacacs-tactemplate1] shared-key mykey
3Com Router Command Reference Guide Addendum for V1.2
45