100
key (RADIUS scheme view)
Syntax
key
{
accounting
|
authentication
}
key
undo key
{
accounting
|
authentication
}
View
RADIUS scheme view
Default level
2: System level
Parameters
accounting
: Sets the shared key for authenticating RADIUS accounting packets.
authentication
: Sets the shared key for authenticating RADIUS authentication/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 RADIUS authentication/authorization or
accounting packets.
Use the
undo key
command to restore the default.
By default, no shared key is configured.
The shared keys specified during the configuration of the RADIUS servers, if any, take precedence.
The shared keys configured on the device must match those configured on the RADIUS servers.
Related commands:
display radius scheme
.
Examples
# For RADIUS scheme
radius1
, set the shared key for authenticating authentication/authorization
packets to the string
IT8Q4sHnitM=
.
<Sysname> system-view
[Sysname] radius scheme radius1
[Sysname-radius-radius1] key authentication IT8Q4sHnitM=
[Sysname-radius-radius1] display this
#
radius scheme radius1
key authentication IT8Q4sHnitM=
#
nas-ip (RADIUS scheme view)
Syntax
nas-ip
ipv4-address
undo nas-ip
View
RADIUS scheme view