H3C S5830V2 Command Reference Manual page 287

Switch series fundamentals
Hide thumbs Also See for S5830V2:
Table of Contents

Advertisement

Syntax
user-role role-name
undo user-role role-name
Default
A schedule has the user roles of the schedule creator.
Views
Schedule view
Predefined user roles
network-admin
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, network-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 command in a schedule can be executed if it is permitted by one or
more user roles of the schedule.
A schedule must have one or more user roles, and can have up to 64 user roles. After the upper limit
is reached, you cannot assign additional user roles to the schedule.
Assigning the security-audit user role to a schedule removes the other user role assignments for the
schedule. Assigning any other user roles to a schedule removes the security-audit user role
assignment for the schedule. Only the remaining user role assignments take effect. 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
275

Advertisement

Table of Contents
loading

This manual is also suitable for:

S5820v2

Table of Contents