55
# Add a local guest named
user3
and enter local guest view.
Sysname> system-view
[Sysname] local-user user3 class network guest
[Sysname-luser-network(guest)-user3]
Related commands
display local-user
service-type
local-user auto-delete enable
Use
local-user auto-delete enable
to enable the local user auto-delete feature.
Use
undo local-user auto-delete enable
to restore the default.
Syntax
local-user auto-delete enable
undo local-user auto-delete enable
Default
The local user auto-delete feature is disabled.
Views
System view
Predefined user roles
network-admin
mdc-admin
Usage guidelines
This feature enables the device to examine the validity of local users at fixed time periods of 10
minutes and automatically delete expired local users.
Examples
# Enable the local user auto-delete feature.
<Sysname> system-view
[Sysname] local-user auto-delete enable
Related commands
validity-datetime
local-user-export
Use
local-user-export
to export local guest account information to a .csv file in the specified path.
Syntax
local-user-export class network guest url url-string
Views
System view
Predefined user roles
network-admin