traffic-behavior log

Function

The traffic-behavior log command configures the maximum number of flows and the interval for collecting packet statistics recorded by the log first-packet action.

The undo traffic-behavior log command restores the default values.

By default, the maximum number of flows recorded simultaneously is 256, and the interval for collecting packet statistics is 5 minutes.

Format

traffic-behavior log { entries number-of-entries | interval interval-time } *

undo traffic-behavior log

Parameters

Parameter Description Value
entries number-of-entries

Specifies the maximum number of flows recorded simultaneously.

The value is an integer ranging from 1 to 8191, The default value is 256.

interval interval-time

Specifies the interval for collecting packet statistics.

The value is an integer ranging from 1 to 60, in minutes. The default value is 5 minutes.

Views

System view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
qos write

Usage Guidelines

Usage Scenario

To configure the maximum number of flows and the interval for collecting packet statistics recorded by the log first-packet action.

In VS mode, this command is supported only by the admin VS.

Example

# Globally set the interval for collecting log first-packet statistics to 10 minutes.
<HUAWEI> system-view
[*HUAWEI] traffic-behavior log entries 260 interval 10
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >