路由器CPU过高怎么办
答案:2 悬赏:10 手机版
解决时间 2021-02-01 20:52
- 提问者网友:雨不眠的下
- 2021-02-01 02:49
路由器CPU过高怎么办
最佳答案
- 五星知识达人网友:罪歌
- 2021-02-01 03:36
占用过高,限制连接数
全部回答
- 1楼网友:妄饮晩冬酒
- 2021-02-01 05:04
如果你遇到了上述问题,请参照以下解决方法进行操作
一、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, 可以用load among other routers 或者考虑另购买high-end router。
(3)通过x.25封装的包,因为有flow control on the second open system interconnection (osi) layer.7.compressed traffic.如没有compression service adapter (csa) in the router, compressed packets must be process-switched.8.encrypted traffic. 如没有encryption service adapter (esa) in the router, encrypted packets must be process-switched。
(4)大量的user datagram protocol (udp) 流量. 可以用解决spoof attack的步骤解决。
(5)大量广播包。check the number of broadcast packets in the show interfaces command output。
(6)大量组播流穿越路由器。可以enable fast switching of multicast packets using the ip mroute-cache interface configuration command (fast switching of multicast packets is off by default)。
(7)需policy routing的包.在cisco ios version 11.3以前, policy-routed packets不能被fast switched. ios version 11.3 以后允许policy-routed packets to be fast switched.使用接口命令ip route-cache policy。
我要举报
如以上问答信息为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
推荐资讯