radius-server client-ip
Syntax
radius-server client-ip ip-address [ key [ cipher | simple ] string ]
undo radius-server client-ip { ip-address | all }
View
System view
Default level
2: System level
Parameters
ip-address: Specifies the IPv4 address of the RADIUS client.
key: Sets the shared key for secure communication with the RADIUS client.
cipher: Sets a ciphertext shared key.
simple: Sets a plaintext shared key.
string: Specifies the shared key string. This argument is case sensitive. If simple is specified, it must be a string of 1 to 64 characters. If cipher is specified, it must be a ciphertext string of 1 to 117 characters. If neither cipher nor simple is specified, you set a plaintext shared key string.
all: Specifies all RADIUS clients.
Description
Use radius-server client-ip to specify a RADIUS client.
Use undo radius-server client-ip to delete the specified RADIUS client or all RADIUS clients.
The IP address of the RADIUS client specified on the RADIUS server must be consistent with the source IP address of RADIUS packets configured on the RADIUS client.
The shared key specified on the RADIUS serer must be consistent with that configured on the RADIUS client.
To specify multiple RADIUS clients, execute this command repeatedly.
For secrecy, all passwords, including passwords configured in plain text, are saved in cipher text to the configuration file.
Examples
# Specify RADIUS client 10.1.1.1 and set the shared key to 1234 in plain text.
<Sysname> system-view [Sysname] radius-server client-ip 10.1.1.1 key simple 1234