User's Manual

Table Of Contents
Configuration Guide of XGS-5240-Series
73-1
Chapter 73 Debugging and Diagnosis for
Packets Received and Sent by CPU
73.1 Introduction to Debugging and Diagnosis for Packets R
eceived and Sent by CPU
The following commands are used to debug and diagnose the packets received and sent by CP
U, and are supposed to be used with the help of the technical support.
73.2 Debugging and Diagnosis for Packets Received and Se
nt by CPU Task List
Command
Explanation
Global Mode
cpu-rx-ratelimit total <packet
s>
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 pa
ckets to default.
cpu-rx-ratelimit protocol <prot
ocol-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 def
ault.
clear cpu-rx-stat protocol [ <p
rotocol-type> ]
Clear the statistics of the CPU received packets of the
protocol type.
Admin Mode
show cpu-rx protocol [ <prot
ocol-type> ]
Show the information of the CPU received packets of t
he protocol type.
debug driver {receive|send} [i
nterface {<interface-name> |al
l}] [protocol {<protocol-type>
|discard |all}][detail]
Turn on the showing of the CPU receiving or sending p
acket informations.
no debug driver {receive |sen
d}
Turn off the showing of the CPU receiving or sending p
acket informations.