< Home

security-policy traffic statistic interval-time

Function

The security-policy traffic statistic interval-time command specifies an interval for collecting statistics on the rate of packets matching security policies.

Format

security-policy traffic statistic interval-time interval-time

Parameters

Parameter Description Value
interval-time

Specifies the interval for collecting statistics on the rate of packets matching security policies.

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

Views

System view

Default Level

2: Configuration level

Usage Guidelines

After the security-policy statistic enable command is run to enable traffic statistics based on security policies, the device collects statistics on the total number of bytes (excluding the MAC header) of packets that match a security policy in forward and reverse directions per second, that is, the traffic rate. By default, the traffic rate is collected every 5 minutes. You can run the security-policy traffic statistic interval-time command to specify an interval.

Example

# Specify the interval for collecting statistics on the rate of packets matching security policies to 6 minutes.

<sysname> system-view
[sysname] security-policy traffic statistic interval-time 6
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >