< Home

traffic-policy discard packet log interval

Function

The traffic-policy discard packet log interval command sets the interval for sending packet discarding logs based on a traffic policy.

The undo traffic-policy discard packet log interval command restores the default value.

Format

traffic-policy discard packet log interval interval

undo traffic-policy discard packet log interval

Parameters

Parameter Description Value
interval Specifies the interval for sending packet discarding logs based on a traffic policy. The value is an integer ranging from 1 to 6000, in minutes.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

The default interval is 5 minutes.

Example

# Set the interval for sending packet discarding logs based on a traffic policy to 10 minutes.

<sysname> system-view
[sysname] traffic-policy discard packet log interval 10
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >