<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<head><meta forua="true" http-equiv="Cache-Control" content="max-age=0" /></head>
<card title="路由器CPU使用率过高怎么办？" id="card1">
<p> 游客</p><p>
标题:路由器CPU使用率过高怎么办？<br/>
正文:<br/>
 　　如果你遇到了上述问题,请参照以下解决方法进行操作　　一、show process cpu 如显示IP input process is using a lot of CPU resources,检查以下情况　　(1)不能被fast switched的包有：switching cache没有entry的包、目的地是路由器的包、需要协议转换的包、做了policy routing的包、X.25 encapsulation的包、Multilink PPP、压缩和加密的包目的地是router的包。　　(2)Fast switching　　在大流量的外出接口上是否被disabled.可以用show interfaces switching 命令察看接口流量.然后在接口上重新Re-enable fast switching .记住fast switching是配置在output 接口。　　(3)Fast switching on the same interface是否被disabled. 如一个接口配有多个网段(secondary addresses )并且在这些网段间流量很大时路由器工作在process-switches方式.这种情况下要在接口上enable ip route-cache same-interface。　　二、用show interfaces 和show interfaces switching命令识别大量包进出的端口;　　一旦你确认进入端口后，打开ip accounting on the outgoing interface看其特征.如果是攻击，源地址会不断变化但是目的地址不变.可以用access list暂时解决此类问题(最好在接近攻击源的设备上配置), 最终解决办法是停止攻击源。　　(1)路由器配置了IP NAT (Network Address Translation)并且有很多DNS (Domain Name System) 包穿越router. UDP or TCP packets with source and/or destination port 53 (DNS) are always punted to process level by NAT。　　(2)路由器被over-used 不能处理amount of traffic<br/><a href="http://camnpr.com/wap.asp?mode=WAP&amp;act=View&amp;id=780&amp;Page=1">[&lt;&lt;]</a><a href="http://camnpr.com/wap.asp?mode=WAP&amp;act=View&amp;id=780&amp;Page=1">[[1]]</a><a href="http://camnpr.com/wap.asp?mode=WAP&amp;act=View&amp;id=780&amp;Page=2">[2]</a><a href="http://camnpr.com/wap.asp?mode=WAP&amp;act=View&amp;id=780&amp;Page=2">[&gt;&gt;]</a><br/>
<br/>
<a href="wap.asp?act=Com&amp;id=780">查看评论(0)</a><br/>
<a href="wap.asp?act=AddCom&amp;inpId=780">发表评论</a><br/><br/>

<br/>

<br/>
<a href="http://camnpr.com/wap.asp">首页</a>
</p>
</card>
</wml>