< Home

qos lr pps

Function

The qos lr pps command rate-limits incoming traffic on a management network interface.

The undo qos lr pps command disables rate limiting for incoming traffic on a management network interface.

By default, the rate limit on the management interface is 1000 pps.

Only the S5720-EI (excluding the S5720-50X-EI-46S-AC, S5720-50X-EI-46S-DC, S5720-50X-EI-AC, and S5720-50X-EI-DC), S5720-HI, S5720S-SI, S5720-SI, S5730-HI, S5731-H, S5730S-EI, S5730-SI, S5735-L, S5735S-L, S5735S-L-M, S5735-S, S5735S-S, S5735-S-I, S6720-EI, S6720-HI, S6730-H, S6730S-H, S6720-LI, S6720S-EI, S6720S-LI, S6720S-SI, S6720-SI, S5731-S, S5731S-S, S5731S-H, S5732-H, S6730-S, and S6730S-S support this command.

Format

qos lr pps packets

undo qos lr

Parameters

Parameter

Description

Value

packets

Specifies the maximum number of packets that are allowed to pass per second.

The value is an integer that ranges from 1 to 3000, in pps.

Views

MEth interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

If there is heavy traffic on the management interface caused by malicious attacks or network exceptions, the CPU is overloaded and services are interrupted. To prevent this problem, run the qos lr pps command to rate-limit incoming traffic on a management network interface.

Configuration Impact

If a small rate limit is used, FTP and Telnet functions may be affected.

If you run the qos lr pps command multiple times on the same interface, only the latest configuration takes effect.

In a stack, only the management interface of the master switch can reach the value specified by the qos lr pps command.

Example

# Set the rate limit of MEth0/0/1 to 100 pps.

<HUAWEI> system-view
[HUAWEI] interface meth 0/0/1
[HUAWEI-MEth0/0/1] qos lr pps 100
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >