packet-rate

Use packet-rate to configure a protocol packet rate limiting action.

Use undo packet-rate to delete the action.

Syntax

packet-rate value

undo packet-rate

View

Traffic behavior view

Predefined user roles

network-admin

mdc-admin

Parameters

value: Specifies the protocol packet rate in the range of 1 to 1048575 pps.

Usage guidelines

The protocol packet rate limiting function limits the rate of protocol packets sent to the CPU, and it guarantees the normal operation of the CPU.

Examples

# Configure the behavior copp to rate-limit the protocol packets sent to the CPU to 1600 pps.

<Sysname> system-view
[Sysname] traffic behavior copp
[Sysname-behavior-copp] packet-rate 1600