125
<Sysname> system-view
[Sysname] hwtacacs scheme hwt1
[Sysname-hwtacacs-hwt1]
key (HWTACACS scheme view)
Syntax
key
{
accounting
|
authentication
|
authorization
}
key
undo key
{
accounting
|
authentication
|
authorization
}
View
HWTACACS scheme view
Default level
2: System level
Parameters
accounting
: Sets the shared key for authenticating HWTACACS accounting packets.
authentication
: Sets the shared key for authenticating HWTACACS authentication packets.
authorization
: Sets the shared key for authenticating HWTACACS authorization packets.
key
: Shared key, a case-sensitive string of 1 to 64 characters.
Description
Use the
key
command to set the shared key for authenticating HWTACACS authentication, authorization,
or accounting packets.
Use the
undo key
command to remove the configuration.
By default, no shared key is configured.
The shared keys configured on the device must match those configured on the HWTACACS servers.
Related commands:
display hwtacacs
.
Examples
# Set the shared key for authenticating HWTACACS accounting packets to
hello
for HWTACACS
scheme
hwt1
.
<Sysname> system-view
[Sysname] hwtacacs scheme hwt1
[Sysname-hwtacacs-hwt1] key accounting hello
[Sysname-hwtacacs-hwt1] display this
#
hwtacacs scheme hwt1
key accounting hello
#
return
nas-ip (HWTACACS scheme view)
Syntax
nas-ip
ip-address