radius-server test-profile

Use radius-server test-profile to configure a test profile for detecting the RADIUS server status.

Use undo radius-server test-profile to delete a RADIUS test profile.


radius-server test-profile profile-name username name [ password { cipher | simple } string ] [ interval interval ]

undo radius-server test-profile profile-name


No RADIUS test profiles exist.


System view

Predefined user roles




profile-name: Specifies the name of the test profile, which is a case-sensitive string of 1 to 31 characters.

username name: Specifies the username in the detection packets. The name argument is a case-sensitive string of 1 to 253 characters.

password: Specifies the user password in the detection packets. If you do not specify a user password, the device randomly generates a user password for each detection packet. As a best practice, specify a user password. RADIUS server might mistake detection packets that contain randomly generated passwords as attack packets.

cipher: Specifies a password in encrypted form.

simple: Specifies a password in plaintext form. For security purposes, the password specified in plaintext form will be stored in encrypted form.

string: Specifies the password. Its plaintext form is a case-sensitive string of 1 to 63 characters. Its encrypted form is a case-sensitive string of 1 to 117 characters.

interval interval: Specifies the interval for sending a detection packet, in minutes. The value range for the interval argument is 1 to 3600, and the default value is 60.

Usage guidelines

You can execute this command multiple times to configure multiple test profiles.

If you specify a nonexistent test profile for a RADIUS server, the device does not detect the status of the server until you create the test profile on the device.

When you delete a test profile, the device stops detecting the status of the RADIUS servers that use the test profile.


# Configure a test profile named abc for RADIUS server status detection. A detection packet that uses username admin and plaintext password abc123 is sent every 10 minutes.

<Sysname> system-view
[Sysname] radius-server test-profile abc username admin password simple abc123 interval 10

Related commands

primary authentication (RADIUS scheme view)

secondary authentication (RADIUS scheme view)