|
如果你遇到了上述问题,请参照以下解决方法进行操作 一、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。
|
正在阅读:路由器小技巧:路由器CPU使用率过高怎么办?路由器小技巧:路由器CPU使用率过高怎么办?
2017-03-20 12:23
出处:其他
责任编辑:lihongyu1

- 软件版本:1.0
- 软件大小:3.21MB
- 软件授权:免费
- 适用平台: Android
- 下载地址://dl.pconline.com.cn/download/357051.html

西门子(SIEMENS)274升大容量家用三门冰箱 混冷无霜 零度保鲜 独立三循环 玻璃面板 支持国家补贴 KG28US221C
5399元
苏泊尔电饭煲家用3-4-5-8个人4升电饭锅多功能一体家用蓝钻圆厚釜可做锅巴饭煲仔饭智能煮粥锅预约蒸米饭 不粘厚釜 4L 5-6人可用
329元
绿联65W氮化镓充电器套装兼容45W苹果16pd多口Type-C快充头三星华为手机MacbookPro联想笔记本电脑配线
99元
KZ Castor双子座有线耳机入耳式双单元HM曲线发烧HiFi耳返耳麦
88元
格兰仕(Galanz)【国家补贴】电烤箱 家用 40L大容量 上下独立控温 多层烤位 机械操控 烘培炉灯多功能 K42 经典黑 40L 黑色
260.9元
漫步者(EDIFIER)M25 一体式电脑音响 家用桌面台式机笔记本音箱 蓝牙5.3 黑色 520情人节礼物
109元

