DGS-6604
m
cpu-protect type
CLI Reference Guide
132
cpu-protect type
Use this command to configure the rate-limit of traffic destined to CPU by
protocol type.
cpu-protect type
PROTOCOL-NAME
pps
RATE
no cpu-protect type
PROTOCOL-NAME
Default
None
Command Mode
Global configuration
Usage Guideline
CPU must handle certain packets, such as routing protocols, Layer 2 protocols,
and packets for management. If the traffic destined to CPU overloads, the CPU
will spend much time processing unnecessary traffic, and the routing processes
are impacted. To mitigate the impact, the user can use this command to control
the threshold of individual protocol packets. When the
no
-form of this command
is configured, the related counter will reset to zero.
Supported Protocols that can be configured rate-limit:
The following table lists the reference for the supported protocols for the cpu-
protect type command. According to the purpose of packets destined to CPU, the
router creates three virtual sub-interfaces to process the packets:
•
manage:
The packets are destined to one of the router interfaces via the
interactive access protocol, such as Telnet and SSH.
•
protocol:
The packets are protocol control packets which can be identi-
fied by the router.
•
route:
Others, packets traversing the router for routing that must be pro-
cessed by the router CPU (e.g. software routing) before it can be routed
without CPU's involvement.
The classification of each protocol lists at the column of “Classification (sub-
interface)”.
Syntax Description
PROTOCOL-NAME
Specifies the protocol name (for example,
bgp
) to be configured. See the
“Usage Guideline” for a list of protocols supported by most routers.
RATE
Specify the threshold. The unit is packets per second. The valid range is project
dependent. When set to 0, all packets of the specified protocol are dropped. The
max
RATE
is 2000.