Validity-Datetime - H3C MSR Series Command Reference Manual

Comware 7 security
Hide thumbs Also See for MSR Series:
Table of Contents

Advertisement

You can modify settings for the system-defined user group system, but you cannot delete the user
group.
Examples
# Create a user group named abc and enter user group view.
<Sysname> system-view
[Sysname] user-group abc
[Sysname-ugroup-abc]
Related commands
display user-group

validity-datetime

Use validity-datetime to specify the validity period for a network access user.
Use undo validity-datetime to restore the default.
Syntax
validity-datetime start-date start-time to expiration-date expiration-time
undo validity-datetime
Default
The validity period for a network access user does not expire.
Views
Network access user view
Predefined user roles
network-admin
Parameters
start-date: Specifies the date on which the network access user becomes effective. The date is 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.
start-time: Specifies the time on the day when the network access 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 network access 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
The expiration date and time must be later than the start date and time.
Expired network access user accounts cannot be used for authentication.
Examples
# Specify the validity period for network access user abc.
85

Advertisement

Table of Contents
loading

Table of Contents