64
state (local user view)
Use
state
to set the status of a local user.
Use
undo state
to restore the default.
Syntax
state
{
active
|
block
}
undo state
Default
A local user is in active state.
Views
Local user view
Predefined user roles
network-admin
mdc-admin
Parameters
active
: Places the local user in active state to allow the local user to request network services.
block
: Places the local user in blocked state to prevent the local user from requesting network
services.
Examples
# Place device management user
user1
in blocked state.
<Sysname> system-view
[Sysname] local-user user1 class manage
[Sysname-luser-manage-user1] state block
Related commands
display local-user
user-group
Use
user-group
to create a user group and enter its view, or enter the view of an existing user group.
Use
undo user-group
to delete a user group.
Syntax
user-group
group-name
undo user-group group-name
Default
A system-defined user group exists. The group name is
system
.
Views
System view
Predefined user roles
network-admin
mdc-admin