2-8
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:
z
You must ensure that the same shared key is set on the device and the RADIUS server.
z
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.
z
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
Summary of Contents for E4510-48G
Page 109: ...2 18 Sysname interface bridge aggregation 1 Sysname Bridge Aggregation1 shutdown ...
Page 309: ...6 4 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address dhcp alloc ...
Page 324: ...8 3 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address bootp alloc ...
Page 530: ...2 5 Sysname mvlan 100 subvlan 10 to 15 ...
Page 739: ...8 15 Sysname system view Sysname port security trap addresslearned ...
Page 819: ...13 11 Sysname system view Sysname public key peer key2 import sshkey key pub ...
Page 914: ...5 17 Sysname reset oam ...
Page 1064: ...5 30 Slot 2 Set next configuration file successfully ...
Page 1325: ...21 13 Examples Redirect to member 2 Sysname irf switch to 2 Sysname Slave 2 ...