traffic-statistic

Function

The traffic-statistic command enables the traffic statistics function of DAA.

The undo traffic-statistic command disables the traffic statistics function of DAA.

By default, the traffic statistics function is disabled for DAA.

This command is supported only on the NetEngine 8000 F1A.

Format

traffic-statistic

undo traffic-statistic

Parameters

None

Views

Traffic behavior view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
qos write

Usage Guidelines

Usage Scenario

To collect traffic statistics about DAA services for accounting, run the traffic-statistic command in the traffic behavior view. If the command is not run, traffic statistics about DAA services collected is 0.

Prerequisites

  • A traffic behavior has been defined using the traffic behavior <BEHAVIOR-NAME>command.
  • The DAA traffic policing function has been enabled using the car command.

Precautions

This command is supported only on the admin VS.

The traffic-statistic command is valid only for DAA services.

The traffic-statistic command is mutually exclusive with the traffic-policy <POLICY-NAME>outbound vxlan-mode command in the bridge domain view .

Example

# Enable the traffic statistics function in traffic behavior tb1.
<HUAWEI> system-view
[~HUAWEI] traffic behavior tb1
[*HUAWEI-behavior-tb1] traffic-statistic
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >