Key (Radius Scheme View); Nas-Ip (Radius Scheme View) - HP E4510-48G Command Reference Manual

4510g series
Table of Contents

Advertisement

key (RADIUS scheme view)

Syntax
key { accounting | authentication } string
undo key { accounting | authentication }
View
RADIUS scheme view
Default Level
2: System level
Parameters
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 1 to 64 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.
You can use the commands to change the settings only when no user is using the RADIUS
scheme.
Related commands: display radius scheme.
Examples
# 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
2-8

Advertisement

Table of Contents
loading

Table of Contents