< Home

role eps-policy

Function

The role eps-policy command associates a role with the host check policies.

The undo role eps-policy command cancels the association between a role and the host check policies.

Format

role role-name eps-policy policy-name

undo role role-name eps-policy policy-name

Parameters

Parameter Description Value
role-name Specifies the role name. The value must be an existing role name.
policy-name Specifies the name of the host check policy. The value must be an existing host check policy.

Views

Role view

Default Level

2: Configuration level

Usage Guidelines

When a role is associated with the host check policies, users and groups that belong to the role are restricted by the host check policies.

A customized role can be associated with a maximum of 128 host check policies. The maximum number of host check policies that can be associated with a default role is the same as the number of host check policies allowed by the virtual gateway.

Example

# Associate host check policy policy1 with role role1.

<sysname> system-view
[sysname] v-gateway abc
[sysname-abc] role
[sysname-abc-role] role role1 eps-policy policy1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >