3Com S7902E Command Reference Manual - page 1779
2-8
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.
Related commands:
display radius scheme
.
Examples
# Set the shared key for authentication/authorization packets to hello for RADIUS scheme
radius1
.
[Sysname] radius scheme radius1
[Sysname-radius-radius1] key authentication hello
# Set the shared key for accounting packets to ok for RADIUS scheme
radius1
.
[Sysname] radius scheme radius1
[Sysname-radius-radius1] key accounting ok
nas-ip (RADIUS scheme view)
Syntax
nas-ip
ip-address
undo nas-ip
View
RADIUS scheme view
Default Level
2: System level
Parameters
ip-address
: IP address in dotted decimal notation. It must be an address of the device and cannot be all
0s address, all 1s address, a class D address, a class E address or a loopback address.