SNR S2940-8G-v2 Switch Configuration Guide
Debugging and Diagnosis for Packets Received and Sent by CPU
Chapter 68
Debugging and Diagnosis for Packets
Received and Sent by CPU
68.1 Introduction to Debugging and Diagnosis for Packets Re-
ceived and Sent by CPU
The following commands are used to debug and diagnose the packets received and sent by CPU,
and are supposed to be used with the help of the technical support.
68.2 Debugging and Diagnosis for Packets Received and Sent
by CPU Task List
Command Explanation
Global Mode
cpu-rx-ratelimit total <packets>
no cpu-rx-ratelimit total
Set the total rate of the CPU receiving packets,
the no command sets the total rate of the CPU
receiving packets to default.
cpu-rx-ratelimit queue-length <queue-id>
<qlen-value>
no cpu-rx-ratelimit queue-length [<queue-
id>]
Set the length of the specified queue, the no com-
mand set the length to default.
cpu-rx-ratelimit protocol <protocol-type>
<packets>
no cpu-rx-ratelimit protocol [ <protocol-
type> ]
Set the max rate of the CPU receiving packets of
the protocol type, the no command set the max
rate to default.
clear cpu-rx-stat protocol [ <protocol-type>
]
Clear the statistics of the CPU received packets
of the protocol type.
Admin Mode
show cpu-rx protocol [ <protocol-type> ] Show the information of the CPU received pack-
ets of the protocol type.
419