257
Parameters
role-name
: Specifies a user role name, a case-sensitive string of 1 to 63 characters. The user role
can be user-defined or predefined. Predefined user roles include network-admin, mdc-admin,
network-operator, mdc-operator, level-0 to level-15, and security-audit.
Usage guidelines
By assigning user roles to and removing user roles from a schedule, you can control the commands
to be executed in the schedule.
A schedule must have a minimum of one user role, and can have up to 64 user roles. A command in
a schedule can be executed if it is permitted by one or more user roles of the schedule.
You must have the network-admin user role to assign user roles to or remove user roles from a
schedule. You can assign only user roles lower than your own user role.
For more information about user roles, see the RBAC configuration in
Fundamentals Configuration
Guide
.
Examples
# Assign user role
rolename
to schedule
test
.
<Sysname> system-view
[Sysname] scheduler schedule test
[Sysname-schedule-test] user-role rolename
[Sysname-schedule-test] display this
#
scheduler schedule test
user-role network-admin
user-role network-operator
user-role rolename
#
return
Related commands
command
scheduler schedule