win7系统下载
当前位置: 首页 > 网络技术教程 > 详细页面

路由器CPU运用率过高如何办?

发布时间:2022-07-24 文章来源:xp下载站 浏览:

网络技术是从1990年代中期发展起来的新技术,它把互联网上分散的资源融为有机整体,实现资源的全面共享和有机协作,使人们能够透明地使用资源的整体能力并按需获取信息。资源包括高性能计算机、存储资源、数据资源、信息资源、知识资源、专家资源、大型数据库、网络、传感器等。 当前的互联网只限于信息共享,网络则被认为是互联网发展的第三阶段。

  如果你遇到了上述问题,请参照以下解决方法进行操作

  一、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。


网络的神奇作用吸引着越来越多的用户加入其中,正因如此,网络的承受能力也面临着越来越严峻的考验―从硬件上、软件上、所用标准上......,各项技术都需要适时应势,对应发展,这正是网络迅速走向进步的催化剂。

本文章关键词: 路由器 使用率 过高 怎么办