No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Fat AP and Cloud AP V200R010C00 Command Reference

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
rate-limit all-packets

rate-limit all-packets

Function

The rate-limit all-packets command sets the rate limit for all packets sent to the CPU.

The undo rate-limit all-packets command restores the default rate limit for all packets sent to the CPU.

By default, the rate limit for all packets sent to the CPU is 500 pps.

Format

rate-limit all-packets pps pps-value

undo rate-limit all-packets pps

Parameters

Parameter

Description

Value

pps pps-value

Specifies the rate limit for all packets sent to the CPU.

The value is an integer that ranges from 500 to 4294967295, in pps.

Views

Attack defense policy view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

After an attack defense policy is created, you can limit the rate of all packet sent to the CPU in the attack defense policy. The device randomly discards packets that exceed the rate limit to ensure CPU security.

Precautions

If you run the rate-limit all-packets command in the same attack defense policy view multiple times, only the latest configuration takes effect.

The priority of protocol packets sent to the CPU configured in an attack defense policy takes effect only when the attack defense policy is applied to the main control board.

Example

# Set the rate limit for all packets sent to the CPU to 600 pps in the attack defense policy named mypolicy.

<Huawei> system-view
[Huawei] cpu-defend policy mypolicy 
[Huawei-cpu-defend-policy-mypolicy] rate-limit all-packets pps 600
Translation
Download
Updated: 2019-11-21

Document ID: EDOC1100064352

Views: 204618

Downloads: 122

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Share
Previous Next