How to check the CPU defend statistics on the S5700 LI/SI series switch

Latest reply: Apr 25, 2017 08:59:17 1061 1 0 0

A common problem we can meet on a device is the high CPU utilization. One of the first instincts when troubleshooting a high CPU utilization problem is to check the most active CPU tasks in order to determine which one is occupying a larger amount of the resources or to check the type and amount of packets sent to the CPU.

The latter procedure can be made by running the display cpu-defend statistics command which displays statistics on packets sent to the CPU, including the number of forwarded and discarded packets . According to the output of this command you can take different actions in order to limit or increase the rate of packets sent to the CPU.

In software versions newer than V2R7, this command can be run from the system view  just on the S5720EI and S5720HI series switches.The S5700 SI/LI do not include the command in the system view:

 

Example:

 

[R5_U28_S5700_ACC]display version                                                                                                   

Huawei Versatile Routing Platform Software                                                                                         

VRP (R) software, Version 5.160 (S5700 V200R008C00SPC500)                                                                           

Copyright (C) 2000-2015 HUAWEI TECH CO., LTD                                                                                       

HUAWEI S5700-28X-LI-AC Routing Switch uptime is 0 week, 3 days, 4 hours, 48 minutes            

 

[R5_U28_S5700_ACC]display cpu-defend ?                                                                                             

  applied        Applied                                                                                                            

  configuration  Current configuration                                                                                             

  policy         CPU-defend policy                       

  • x
  • convention:

ms.america
Created Apr 25, 2017 08:59:17 Helpful(0) Helpful(0)

We can provide a way to use this command on the S5700 LI/SI series switches by entering the diagnose view as follows:

[R5_U28_S5700_ACC]diagnose                                                                                                             

[R5_U28_S5700_ACC-diagnose]

                                                                                                                                    

[R5_U28_S5700_ACC-diagnose]display cpu-defend statistics mcu                                                                       

 Statistics on mainboard:                                                                                                           

--------------------------------------------------------------------------------                                                   

Packet Type          Pass(Packet)       Drop(Packet)                                                                                

--------------------------------------------------------------------------------                                                   

8021x                          0           0                                                                                        

arp-reply                  17538           0                                                                                       

arp-request               384487           0                                                                                       

bpdu-tunnel                    0           0                                                                                       

capwap-ctrl                    0           0                                                                                       

dhcp-client                    0           0                                                                                        

dhcp-server                    0           0                                                                                       

dhcpv6-reply                   0           0                                                                                        

dhcpv6-request                 0           0                                                                                       

eth-ring                       0           0                                                                                        

fib-hit                    13939           0                                                                                       

ftp                            0           0                                                                                        

icmp                        2847           0                                                                                       

igmp                           0           0                                                                                        

ldt                            0           0                                                                                       

nd                             0           0                                                                                        

pppoe                          0           0                                                                                       

telnet                       674           0                                                                                        

vbst                           0           0                                                                                       

vbst-trunk                     0           0                                                                                        

  • x
  • convention:

Reply

Reply
You need to log in to reply to the post Login | Register

Notice Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " Privacy."
If the attachment button is not available, update the Adobe Flash Player to the latest version!
Login and enjoy all the member benefits

Login and enjoy all the member benefits

Login