![HP 5120 SI Series Command Reference Manual Download Page 43](http://html.mh-extra.com/html/hp/5120-si-series/5120-si-series_command-reference-manual_162935043.webp)
32
Related commands:
user-group
.
Examples
# Display configuration information about user group
abc
.
<Sysname> display user-group abc
The contents of user group abc:
Authorization attributes:
Idle-cut: 120(min)
Work Directory: FLASH:
Level: 1
Acl Number: 2000
Vlan ID: 1
User-Profile: 1
Callback-number: 1
Password-Aging: Enabled(1 day(s))
Password-Length: Enabled(4 characters)
Password-Composition: Enabled(1 type(s), 1 character(s) per type)
Total 1 user group(s) matched.
expiration-date (local user view)
Syntax
expiration-date
time
undo expiration-date
View
Local user view
Default level
3: Manage level
Parameters
time
: Expiration time of the local 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 ranges from 0 to 23, MM and SS
range from 0 to 59. YYYY/MM/DD indicates the date, where YYYY ranges from 2000 to 2035, MM
ranges from 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-2011/2/2 equals to 02:02:00-2011/02/02.
Description
Use the
expiration-date
command to configure the expiration time of a local user.
Use the
undo expiration-date
command to remove the configuration.
By default, a local user has no expiration time and no time validity checking is performed.
When some users need to access the network temporarily, create a guest account and specify an
expiration time for the account. When a user uses the guest account for local authentication and passes
the authentication, the access device checks whether the current system time is within the expiration time.
If so, it permits the user to access the network. Otherwise, it 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 time validity checking.