user-traffic-statistic

Function

The user-traffic-statistic command configures the statistics mode for user traffic when SQ scheduling is applied to DAA services. Traffic statistics of the specified FQs (Flow Queue) are then collected as user traffic statistics.

The undo user-traffic-statistic command restores the default configuration.

By default, if DAA service separation is disabled, traffic statistics of all the eight FQs are collected as user traffic statistics; if DAA service separation is enabled, traffic statistics of FQs of non-DAA services are collected as user traffic statistics.

This command is supported only on the NetEngine 8000 F1A.

Format

user-traffic-statistic { cs7 | cs6 | ef | af4 | af3 | af2 | af1 | be } * { inbound | outbound }

undo user-traffic-statistic [ cs7 | cs6 | ef | af4 | af3 | af2 | af1 | be ] * { inbound | outbound }

Parameters

Parameter Description Value
cs7

Indicates that a service class is CS7.

-

cs6

Indicates that a service class is CS6.

-

ef

Indicates that a service class is EF.

-

af4

Indicates that a service class is AF4.

-

af3

Indicates that a service class is AF3.

-

af2

Indicates that a service class is AF2.

-

af1

Indicates that a service class is AF1.

-

be

Indicates that a service class is BE.

-

inbound

Indicates the upstream direction of user traffic.

-

outbound

Indicates the downstream direction of user traffic.

-

Views

Value-added service policy view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
vas write

Usage Guidelines

Usage Scenario

After CAR is performed on a DAA service flow, packets in the DAA service flow are re-marked with different priorities and are scheduled into SQs. In SQ-based traffic statistics, however, DAA traffic and non-DAA traffic are not differentiated. To specify the FQs of which traffic statistics are collected as user traffic statistics, run the user-traffic-statistic command.

Precautions

This command is supported only on the admin VS.

This command takes effect only when DAA services are scheduled into SQs. This command takes precedence over DAA service separation configurations.

Example

# Collect traffic statistics of downstream CS7, CS6, and BE queues as user traffic statistics in the value-added-service policy named policy1.
<HUAWEI> system-view
[~HUAWEI] value-added-service policy policy1 daa
[*HUAWEI-vas-policy-policy1] commit
[~HUAWEI-vas-policy-policy1] user-traffic-statistic cs7 cs6 be outbound
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >