學(xué)習(xí)啦 > 學(xué)習(xí)電腦 > 電腦硬件知識(shí) > CPU知識(shí) > 路由器CPU使用率過高怎么辦

路由器CPU使用率過高怎么辦

時(shí)間: 沈迪豪908 分享

路由器CPU使用率過高怎么辦

  大家家里面都有路由器,當(dāng)路由器CPU使用率過高怎么辦?不知道的話跟著學(xué)習(xí)啦小編一起來學(xué)習(xí)路由器CPU使用率過高的解決方法。

  路由器CPU使用率過高的解決方法

  一、show process cpu 如顯示IP input process is using a lot of CPU resources,檢查以下情況

  (1)不能被fast switched的包有:switching cache沒有entry的包、目的地是路由器的包、需要協(xié)議轉(zhuǎn)換的包、做了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. 如一個(gè)接口配有多個(gè)網(wǎng)段(secondary addresses )并且在這些網(wǎng)段間流量很大時(shí)路由器工作在process-switches方式.這種情況下要在接口上enable ip route-cache same-interface。

  二、用show interfaces 和show interfaces switching命令識(shí)別大量包進(jìn)出的端口;

  一旦你確認(rèn)進(jìn)入端口后,打開ip accounting on the outgoing interface看其特征.如果是攻擊,源地址會(huì)不斷變化但是目的地址不變.可以用access list暫時(shí)解決此類問題(最好在接近攻擊源的設(shè)備上配置), 最終解決辦法是停止攻擊源。

  (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 或者考慮另購(gòu)買high-end router。

  (3)通過X.25封裝的包,因?yàn)橛衒low 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)大量組播流穿越路由器??梢詄nable 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使用率過高相關(guān)文章:

1.CPU使用率高的原因及解決方法匯總

2.CPU使用率高CPU資源不足出現(xiàn)電腦卡或無響應(yīng)的解決方法

3.連接路由器后網(wǎng)速變慢怎么辦

4.思科路由器怎么查看cpu利用率

5.路由器CPU性能的知識(shí)

6.路由器硬件問題會(huì)導(dǎo)致丟包嗎

1929782