User-Role - HP FlexFabric 12500 Series Network Management And Monitoring Command Reference

Routing
Hide thumbs Also See for FlexFabric 12500 Series:
Table of Contents

Advertisement

[Sysname] rtm cli-policy test
[Sysname-rtm-test] running-time 60

user-role

Use user-role to assign a user role to a CLI-defined policy.
Use undo user-role to remove a user role from a CLI-defined policy.
Syntax
user-role role-name
undo user-role role-name
Default
A monitor policy contains user roles that its creator had at the time of policy creation.
Views
CLI-defined policy view
Predefined user roles
network-admin
mdc-admin
Parameters
role-name: Specifies a user role, a string of 1 to 63 characters.
Usage guidelines
For EAA to execute an action in a monitor policy, you must assign the policy the user role that has access
to the action-specific commands and resources. If EAA lacks access to an action-specific command or
resource, EAA does not perform the action and all the subsequent actions.
For example, a monitor policy has four actions numbered from 1 to 4. The policy has user roles that are
required for performing actions 1, 3, and 4, but it does not have the user role required for performing
action 2. When the policy is triggered, EAA executes only action 1.
A monitor policy supports up to 64 valid user roles. User roles added after this limit is reached do not
take effect.
You cannot assign a monitor policy user roles that have higher privilege than the user roles you are
logged in with.
Examples
# Assign user roles to a CLI-defined policy.
<Sysname> system-view
[Sysname] rtm cli-policy test
[Sysname-rtm-test] user-role network-admin
[Sysname-rtm-test] user-role admin
255

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flexfabric 12500e series

Table of Contents