< Home

user (Quota Control Policy View)

Function

The user command configures the users (user groups) to which a quota control policy is applied.

The undo user command deletes the users (user groups) to which a quota control policy is applied.

Format

user { username user-name &<1-6> | user-group user-group-name &<1-6> | security-group security-group-name &<1-6> | any }

undo user { username user-name &<1-6> | user-group user-group-name &<1-6> | security-group security-group-name &<1-6> | all }

Parameters

Parameter Description Value
username user-name &<1-6>

Specifies the name of a user.

The user must already exist. A maximum of six users can be created or deleted at a time.

When a user in a non-default authentication domain is specified, the user name must carry "@authentication-domain-name." For example, user1@test indicates user1 in the test authentication domain.

user-group user-group-name &<1-6>

Specifies the name of a user group.

The user group must already exist. A maximum of six user groups can be created or deleted at a time.

A user group name must carry the authentication domain name. For example, /default/group1 indicates group1 in the default authentication domain.

security-group security-group-name &<1-6>

Specifies the name of a security group.

The security group must already exist. A maximum of six security groups can be created or deleted at a time.

When a security group in a non-default authentication domain is specified, the security group name must carry "@authentication-domain-name." For example, secgroup@test indicates security group secgroup in the test authentication domain.

any Indicates any user. -
all Deletes all users to which a quota control policy is applied. -

Views

Quota control policy view

Default Level

2: Configuration level

Usage Guidelines

The quota control policy differs from other policies (such as the security policy and traffic policy) in that if the parameter user of a policy is set to any, this policy applies to all users. Therefore, use this setting with caution to prevent complaints about such network problems as slow or failed to access the Internet at a large scope.

Example

# Set the user group to which the quota control policy quota_rule applies to managers.

<sysname> system-view
[sysname] quota-policy
[sysname-policy-quota] rule name quota_rule
[sysname-policy-quota-rule-quota_rule] user user-group /default/managers
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic