key (RADIUS)
To specify the authentication and encryption key that is used between the router and the RADIUS daemon
running on the RADIUS server, use the key (RADIUS) command in RADIUS server-group private
configuration mode.
key {0 clear-text-key| 7 encrypted-key| clear-text-key}
no key {0 clear-text-key| 7 encrypted-key| clear-text-key}
Syntax Description
Specifies an unencrypted (cleartext) shared key.
0 clear-text-key
Specifies an encrypted shared key.
7 encrypted-key
Specifies an unencrypted (cleartext) user password.
clear-text-key
Command Default
For submode key commands, the default is to use the radius-server key command in global configuration
mode, if defined. If the global key is also not defined, the configuration is not complete.
Command Modes
RADIUS server-group private configuration
Command History
ModificationRelease
This command was introduced.Release 3.4.0
Usage Guidelines
Task ID
OperationsTask ID
read, writeaaa
Examples
The following example shows how to set the encrypted key to anykey:
RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# aaa group server radius group1
RP/0/RP0/CPU0:router(config-sg-radius)# server-private 10.1.1.1 auth-port 300
RP/0/RP0/CPU0:router(config-sg-radius-private)# key anykey
Cisco IOS XR System Security Command Reference for the Cisco CRS Router, Release 4.1
38 OL-24740-01
Authentication, Authorization, and Accounting Commands
key (RADIUS)