Configuring protocol packet rate limiting, Overview, Configuration procedure – H3C Technologies H3C S12500 Series Switches User Manual

Page 67

Advertising
background image

58

Configuring protocol packet rate limiting

Overview

The protocol packets in the network are sent to the CPU for processing. The protocol packet processing

rate of a CPU is limited. When plenty of protocol packets are sent to the CPU for processing at the same
time, the CPU might be completely occupied by the protocol packets and cannot process other tasks. As

a result, the device is paralyzed. The protocol packet rate limiting function limits the rate of protocol

packets sent to the CPU, and guarantees the normal operation of the CPU.

Configuration procedure

To configure protocol packet rate limiting:

Step Command

Remarks

1.

Enter system view.

system-view N/A

2.

Create a class and enter
class view.

traffic classifier tcl-name [ operator { and
| or } ]

N/A

3.

Configure match criteria.

if-match match-criteria

N/A

4.

Return to system view.

quit

N/A

5.

Create a behavior and
enter behavior view.

traffic behavior behavior-name N/A

6.

Configure protocol packet

rate limiting.

packet-rate value

The value argument is in pps.

7.

Return to system view.

quit

N/A

8.

Create a policy and enter
policy view.

qos policy policy-name

N/A

9.

Associate the class with the
traffic behavior in the QoS

policy.

classifier tcl-name behavior
behavior-name

N/A

10.

Return to system view.

quit

N/A

11.

Apply the QoS policy to

the control plane.

Applying the QoS policy to the control
plane

N/A

12.

Display the protocol

packet rate limiting
configuration.

display traffic behavior user-defined
[ behavior-name ] [ | { begin | exclude |

include } regular-expression ]

Optional.
Available in any view.

Advertising