A SERVICE OF

logo

1957
key (RADIUS scheme view)
Syntax key { accounting | authentication } string
undo key { accounting | authentication }
View RADIUS scheme view
Parameter accounting: Sets the shared key for RADIUS accounting packets.
authentication: Sets the shared key for RADIUS authentication/authorization
packets.
string: Shared key, a case-sensitive string of up to 16 characters.
Description Use the
key command to set the shared key for RADIUS
authentication/authorization or accounting packets.
Use the
undo key command to restore the default.
By default, no shared key is configured.
Note that:
You must ensure that the same shared key is set on the device and the RADIUS
server.
If authentication/authorization and accounting are performed on two servers
with different shared keys, you must set separate shared key for each on the
device.
Related command: display radius scheme.
Example # Set the shared key for authentication/authorization packets to hello for RADIUS
scheme radius1.
<Sysname> system-view
[Sysname] radius scheme radius1
[Sysname-radius-radius1] key authentication hello
# Set the shared key for accounting packets to ok for RADIUS scheme radius1.
<Sysname> system-view
[Sysname] radius scheme radius1
[Sysname-radius-radius1] key accounting ok
nas-ip (RADIUS scheme view)
Syntax nas-ip ip-address
undo nas-ip