80
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 local guest.
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 local guest does not expire.
Views
Local guest view
Predefined user roles
network-admin
Parameters
start-date
: Specifies the date on which the local guest 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 local guest 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 local guest.
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 local guest accounts cannot be used for authentication.
Examples
# Specify the validity period for local guest
abc
.
<Sysname> system-view
[Sysname] local-user abc class network guest
Summary of Contents for FlexNetwork MSR Series
Page 1005: ...987 ...