R2511-HP MSR Router Series Security Command Reference(V5)
116
Parameters
time: Specifies the expiration time of the RADIUS user, in the format HH:MM:SS-MM/DD/YYYY or
HH:MM:SS-YYYY/MM/DD. HH:MM:SS indicates the time, where HH is in the range of 0 to 23, and
MM and SS are in the range of 0 to 59. YYYY/MM/DD indicates the date, where YYYY is in the range
of 2000 to 2035, MM is in the range of 1 to 12, and the range of DD depends on the month. Except for
the zeros in 00:00:00, leading zeros can be omitted. For example, 2:2:0-2010/2/2 equals
02:02:00-2010/02/02.
Usage guidelines
For temporary network access requirements, create a guest account for the user, and specify an
expiration time for the account. After the user passes authentication, the RADIUS server checks whether
the current system time is before the expiration time. If it is, the server permits the user to access the
network. Otherwise, the server denies the access request of the user.
If you change the system time manually or the system time is changed in any other way, the access device
uses the new system time for expiration check.
Examples
# Configure user user1 to expire in 12:10:20 on May 31, 2012.
<Sysname> system-view
[Sysname] radius-server user user1
[Sysname-rdsuser-user1] expiration-date 12:10:20-2012/05/31
Related commands
radius-server user
password (RADIUS-server user view)
Use password to configure a password for a RADIUS user.
Use undo password to delete the password of a RADIUS user.
Syntax
password [ cipher | simple ] password
undo password
Default
No password is configured for a RADIUS user.
Views
RADIUS-server user view
Default command level
2: System level
Parameters
cipher: Sets a ciphertext password.
simple: Sets a plaintext password.
password: Specifies the password string. This argument is case sensitive. If simple is specified, it must be
a string of 1 to 128 characters. If cipher is specified, it must be a ciphertext string of 1 to 201 characters.
If neither cipher nor simple is specified, you set a plaintext password string.










