H3C S6812 Series Command Reference Manual page 1691

Hide thumbs Also See for S6812 Series:
Table of Contents

Advertisement

for the DD argument varies with the specified month. The value range for the YYYY argument is
2000 to 2035.
start-time: Specifies the time on the day when the user becomes effective. The time is in the format
of hh:mm:ss. The value range for the hh argument is 0 to 23. The value range for the mm and ss
arguments is 0 to 59. The mm and ss arguments are optional. For example, enter 1 to indicate
1:00:00. A value of 0 indicates 00:00:00.
to: Specifies the expiration date and time for the user. If you do not specify this option, the command
defines only the validity start date and time of the user.
expiration-date: Specifies the expiration date in the format of MM/DD/YYYY or YYYY/MM/DD. The
value range for the MM argument is 1 to 12. The value range for the DD argument varies with the
specified month. The value range for the YYYY argument is 2000 to 2035.
expiration-time: Specifies the expiration time in the format of hh:mm:ss. The value range for the hh
argument is 0 to 23. The value range for the mm and ss arguments is 0 to 59. The mm and ss
arguments are optional. For example, enter 1 to indicate 1:00:00. A value of 0 indicates 00:00:00.
Usage guidelines
Expired network access user accounts cannot be used for authentication.
When both from and to options are specified, the expiration date and time must be later than the
validity start date and time.
When only the from option is specified, the user is valid since the specified date and time. When only
the to option is specified, the user is valid until the specified date and time.
Examples
# Specify the validity period for network access user 123.
<Sysname> system-view
[Sysname] local-user 123 class network
[Sysname-luser-network-123] validity-datetime from 2015/10/01 00:00:00 to 2016/10/02
12:00:00
Related commands
display local-user
RADIUS commands
aaa device-id
Use aaa device-id to configure the device ID.
Use undo aaa device-id to restore the default.
Syntax
aaa device-id device-id
undo aaa device-id
Default
The device ID is 0.
Views
System view
Predefined user roles
network-admin
50

Advertisement

Table of Contents
loading

This manual is also suitable for:

S6813 seriesS5150-ei

Table of Contents