< Home

time-range (Quota Control Policy View)

Function

The time-range command sets the validity period of a quota control policy.

The undo time-range command deletes the validity period of a quota control policy.

Format

time-range time-range-name

undo time-range

Parameters

Parameter Description Value
time-range-name Indicates the name of a time range. The value must be the name of an existing time range.

Views

Quota control policy view

Default Level

2: Configuration level

Usage Guidelines

None

Example

# Set the validity period of the quota control policy quota_rule to work_time.

<sysname> system-view
[sysname] quota-policy
[sysname-policy-quota] rule name quota_rule
[sysname-policy-quota-rule-quota_rule] time-range work_time
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >