Command Manual – AAA&RADIUS&HWTACACS
H3C S3610&S5510 Series Ethernet Switches
Chapter 1 AAA & RADIUS & HWTACACS
Configuration Commands
1-37
<Sysname> display stop-accounting-buffer time-range 0:0:0-08/31/2002
23:59:59-08/31/2002
Total find 0 record(s)
1.2.6 key
Syntax
key
{
accounting
|
authentication
}
string
undo key
{
accounting
|
authentication
}
View
RADIUS scheme view
Parameter
accounting
: Specifies to set a shared key for the RADIUS accounting packets.
authentication
: Specifies to set a shared key for the RADIUS
authentication/authorization packets.
string
: Shared key, a character string of up to 16 characters.
Description
Use the
key
command to set a shared key for the RADIUS authentication/authorization
packets or accounting packets.
Use the
undo key
command to restore the corresponding default shared key.
Note that the shared key configured on the device and that on the RADIUS server must
be the same.
Related command:
primary accounting
,
primary authentication
and
radius
scheme
.
Example
# Set the shared key for the RADIUS authentication/authorization packets in RADIUS
scheme radius1 to hello.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] radius scheme radius1
New Radius scheme
[Sysname-radius-radius1] key authentication hello
# Set the shared key for the RADIUS accounting packets in RADIUS scheme radius1 to
ok.
<Sysname> system-view
System View: return to User View with Ctrl+Z.