< Home

traffic-policy discard packet trap limit

Function

The traffic-policy discard packet trap limit command sets the maximum number of alarms generated concurrently when packets are discarded due to traffic policy matching.

The undo traffic-policy discard packet trap limit command restores the default value.

Format

traffic-policy discard packet trap limit limit-number

undo traffic-policy discard packet trap limit

Parameters

Parameter Description Value
limit-number Specifies the maximum number of alarms generated concurrently when packets are discarded due to traffic policy matching. The value is an integer ranging from 1 to 100.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

By default, 100 alarms are generated concurrently when packets are discarded due to traffic policy matching.

Example

# Set the maximum number of alarms generated concurrently when packets are discarded due to traffic policy matching to 10.

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