Command Manual – AAA&RADIUS&HWTACACS
H3C S3610&S5510 Series Ethernet Switches
Chapter 1 AAA & RADIUS & HWTACACS
Configuration Commands
1-67
1.3.6 key
Syntax
key
{
accounting
|
authentication
|
authorization
}
string
undo key
{
accounting
|
authentication
|
authorization
}
View
HWTACACS scheme view
Parameter
accounting
: Specifies a shared key for the accounting server.
authentication
: Specifies a shared key for HWTACACS authentication packets.
authorization
: Specifies a shared key for HWTACACS authorization packets.
string
: Shared key, a string of 1 to 16 characters.
Description
Use the
key
command to configure a shared key for HWTACACS authentication,
authorization or accounting.
Use the
undo key
command to delete the configuration.
By default, no key is set for any HWTACACS server.
Related command:
display hwtacacs
.
Example
# Use hello as the shared key for HWTACACS accounting packets.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] hwtacacs scheme hwt1
[Sysname-hwtacacs-hwt1] key accounting hello
1.3.7 nas-ip
Syntax
nas-ip
ip-address
undo nas-ip
View
HWTACACS scheme view