Example
# Clear all the statistics of 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
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 server.
Description
Using the
shared-key
command, you can set a shared key for the router and a
server to carry out AAA negotiation. Using
undo shared-key
command,
you can delete the shared key used for the AAA negotiation with the
server.
By default, no key is set.
The entered key must match the key used by the 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
server.
[Router]
hwtacacs-server template tactemplate1
[Router-hwtacacs-tactemplate1]
shared-key mykey
3Com Router Command Reference Guide Addendum for V1.2
45