1979
key (HWTACACS scheme view)
Syntax key { accounting | authentication | authorization } string
undo key { accounting | authentication | authorization } string
View HWTACACS scheme view
Parameter accounting: Sets the shared key for HWTACACS accounting packets.
authentication: Sets the shared key for HWTACACS authentication packets.
authorization: Sets the shared key for HWTACACS authorization packets.
string: Shared key, a string of 1 to 16 characters.
Description Use the
key command to set the shared key for HWTACACS authentication,
authorization, or accounting packets.
Use the
undo key command to remove the configuration.
By default, no shared key is configured.
Related command: display hwtacacs.
Example # Set the shared key for HWTACACS accounting packets to hello for HWTACACS
scheme hwt1.
<Sysname> system-view
[Sysname] hwtacacs scheme hwt1
[Sysname-hwtacacs-hwt1] key accounting hello
nas-ip (HWTACACS scheme view)
Syntax nas-ip ip-address
undo nas-ip
View HWTACACS scheme view
Parameter ip-address: IP address in dotted decimal notation. It must be an address of the
device and cannot be all 0s address, all 1s address, a class D address, a class E
address or a loopback address.
Description Use the
nas-ip command to set the IP address for the device to use as the source
address of the HWTACACS packets to be sent to the server.
Use the
undo nas-ip command to remove the configuration.