< Home

display quota-policy

Function

The display quota-policy command displays the configuration of quota control policies.

Format

display quota-policy rule { all | name rule-name }

Parameters

Parameter Description Value
all Displays the configuration of all quota control policies. -
name rule-name Displays the configuration of a specified quota control policy. The value must be the name of an existing quota control policy.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

None

Example

# Display the configuration of the quota control policy quota_rule.

<sysname> display quota-policy rule name quota_rule
  (6 times matched)                                                             
  rule name quota_rule                                                        
  time-range worktime                                                           
    action quota profile aaa

# Display the configuration of all quota control policies.

<sysname> display quota-policy rule all
Total:4                                                                         
RULE ID RULE NAME                      STATE      ACTION     HITS             
------------------------------------------------------------------------------- 
1       quota_rule_1                   enable     quota      0                  
2       quota_rule_2                   enable     quota      0                  
3       quota_rule_3                   enable     quota      0                  
0       default                        enable     no-quota   0                  
------------------------------------------------------------------------------- 
Table 1 Description of the display quota-policy all command output
Item Description

Total

Total number of quota control policies.

RULE ID

ID of a quota control policy.

RULE NAME

Name of a quota control policy.

STATE

Status of a quota control policy:

  • enable: Indicates that the policy is enabled.
  • disable: Indicates that the policy is disabled.

ACTION

Action of a quota control policy:

  • no-quota: Indicates that quota statistics are not collected.
  • quota: Indicates that quota statistics are collected and controlled.

HITS

Number of times a quota control policy is matched.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >