display user-group-queue statistics

Function

The display user-group-queue statistics command displays the statistics about user group queues.

Format

display user-group-queue [ name ] user-group-name statistics [ group group-name ] [ slot slot-id ] inbound

Parameters

Parameter Description Value
name user-group-name

Specifies the name of a user group queue.

The value is a string of 1 to 31 characters.

group group-name

Specifies the name of a shared group.

The value is a string of 1 to 31 characters.

slot slot-id

Specifies a slot number.

The value is a string of 1 to 31 case-sensitive characters, spaces not supported.

inbound

Specifies the inbound direction.

-

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
qos read

Usage Guidelines

Usage Scenario

The display user-group-queue statistics command displays statistics about GQs in a specific direction, which facilitates scheduling monitoring and fault locating.

Precautions

When no slot is specified in the display user-group-queue statistics command, statistics about a GQ is displayed based on each board.

When mode template is configured for a GQ, the GQ is instantiated based on the group in the QoS profile. Therefore, you must specify a group name to query the GQ statistics.

When the first letter of parameters is c/n/s and a display command with name not being specified is run, the command association function may have other keywords displayed. For example, if the value of parameters is ccc and the display user-group-queue c ? command is run, the device automatically considers the command configuration as display user-group-queue configuration.

When using the display user-group-queue statistics command, note that:

  • If the message "Error: The specified board does not support this command" is displayed, the board does not support this command. In this case, run the display user-group-queue statistics interface command to

    query desired statistics.
  • If the message "Error: Failed to obtain GQ resources" is displayed, GQ resources fail to be applied for, or the board does not support this command. In this case, run the display user-group-queue statistics interface

    command to query desired statistics.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display the statistics about the user group queue in the inbound direction.
<HUAWEI> display user-group-queue test statistics inbound
test inbound traffic statistics:
[slot 1]
 [total]
  Pass rate:
                              127 pps,                         97,024 bps
  Drop rate:
                          101,097 pps,                     86,539,216 bps
  Pass:
                           11,527 packets,                  1,095,065 bytes
  Discard:
                        9,127,277 packets,                976,618,639 bytes
 [BE]
  Pass rate:
                              127 pps,                         97,024 bps
  Drop rate:
                          101,097 pps,                     86,539,216 bps
  Pass:
                           11,527 packets,                  1,095,065 bytes
  Discard:
                        9,127,277 packets,                976,618,639 bytes
 [AF1]
  Pass rate:
                                0 pps,                              0 bps
  Drop rate:
                                0 pps,                              0 bps
  Pass:
                                0 packets,                          0 bytes
  Discard:
                                0 packets,                          0 bytes
 [AF2]
  Pass rate:
                                0 pps,                              0 bps
  Drop rate:
                                0 pps,                              0 bps
  Pass:
                                0 packets,                          0 bytes
  Discard:
                                0 packets,                          0 bytes
 [AF3]
  Pass rate:
                                0 pps,                              0 bps
  Drop rate:
                                0 pps,                              0 bps
  Pass:
                                0 packets,                          0 bytes
  Discard:
                                0 packets,                          0 bytes
 [AF4]
  Pass rate:
                                0 pps,                              0 bps
  Drop rate:
                                0 pps,                              0 bps
  Pass:
                                0 packets,                          0 bytes
  Discard:
                                0 packets,                          0 bytes
 [EF]
  Pass rate:
                                0 pps,                              0 bps
  Drop rate:
                                0 pps,                              0 bps
  Pass:
                                0 packets,                          0 bytes
  Discard:
                                0 packets,                          0 bytes
 [CS6]
  Pass rate:
                                0 pps,                              0 bps
  Drop rate:
                                0 pps,                              0 bps
  Pass:
                                0 packets,                          0 bytes
  Discard:
                                0 packets,                          0 bytes
 [CS7]
  Pass rate:
                                0 pps,                              0 bps
  Drop rate:
                                0 pps,                              0 bps
  Pass:
                                0 packets,                          0 bytes
  Discard:
                                0 packets,                          0 bytes
[slot all]
 [total]
  Pass rate:
                              127 pps,                         97,024 bps
  Drop rate:
                          101,097 pps,                     86,539,216 bps
  Pass:
                           11,527 packets,                  1,095,065 bytes
  Discard:
                        9,127,277 packets,                976,618,639 bytes
 [BE]
  Pass rate:
                              127 pps,                         97,024 bps
  Drop rate:
                          101,097 pps,                     86,539,216 bps
  Pass:
                           11,527 packets,                  1,095,065 bytes
  Discard:
                        9,127,277 packets,                976,618,639 bytes
 [AF1]
  Pass rate:
                                0 pps,                              0 bps
  Drop rate:
                                0 pps,                              0 bps
  Pass:
                                0 packets,                          0 bytes
  Discard:
                                0 packets,                          0 bytes
 [AF2]
  Pass rate:
                                0 pps,                              0 bps
  Drop rate:
                                0 pps,                              0 bps
  Pass:
                                0 packets,                          0 bytes
  Discard:
                                0 packets,                          0 bytes
 [AF3]
  Pass rate:
                                0 pps,                              0 bps
  Drop rate:
                                0 pps,                              0 bps
  Pass:
                                0 packets,                          0 bytes
  Discard:
                                0 packets,                          0 bytes
 [AF4]
  Pass rate:
                                0 pps,                              0 bps
  Drop rate:
                                0 pps,                              0 bps
  Pass:
                                0 packets,                          0 bytes
  Discard:
                                0 packets,                          0 bytes
 [EF]
  Pass rate:
                                0 pps,                              0 bps
  Drop rate:
                                0 pps,                              0 bps
  Pass:
                                0 packets,                          0 bytes
  Discard:
                                0 packets,                          0 bytes
 [CS6]
  Pass rate:
                                0 pps,                              0 bps
  Drop rate:
                                0 pps,                              0 bps
  Pass:
                                0 packets,                          0 bytes
  Discard:
                                0 packets,                          0 bytes
 [CS7]
  Pass rate:
                                0 pps,                              0 bps
  Drop rate:
                                0 pps,                              0 bps
  Pass:
                                0 packets,                          0 bytes
  Discard:
                                0 packets,                          0 bytes

Info: The statistics do not include the user-group-queue in the behavior.
Table 1 Description of the display user-group-queue statistics command output
Item Description
user-group-queue

User group queue name.

inbound

Inbound.

slot

Slot on which the subscriber queue from the specified user group queue resides. The statistics about all subscriber queues from the same user group queue are displayed together.

Pass rate

Rate of passed packets and the rate of passed bytes.

Pass

Count of passing data, in packets and also in bytes.

Drop rate

Number of discarded packets and the number of discarded bytes.

all

Statistics on all subscriber queues from the whole user group queue.

Discard

Count of discarded data, in packets and also in bytes.

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