↪️
ccie.nyquist.eu
  • Table of Contents
  • Layer 2 Technologies
    • Ethernet Switching
      • L2 Switch Operations
      • Spanning Tree
        • 802.1d – STP
        • 802.1w – RSTP
        • 802.1s – MSTP
      • VTP 101
      • Private VLANs
      • VLANs
      • EtherChannel 101
    • Layer 2 WAN Protocols
      • HDLC
        • HDLC 101
      • PPP
        • PPP 101
        • PPP Authentication - PAP
        • PPP Authentication – CHAP
        • PPP Authentication – EAP
        • PPP Multilink
        • PPPoFR – PPP over Frame Relay
        • PPPoE – PPP over Ethernet
      • Frame Relay
        • Frame Relay 101
        • Frame Relay 102
        • Frame Relay Encapsulations – IETF vs Cisco
        • Multilink Frame Relay
        • Frame Relay Switching
        • Routing over Frame Relay
      • Bridging
        • Bridging on a router
        • MTU 101
    • Wireless
      • Wireless Principles
      • Wireless Implementations
      • Wireless Roaming
      • Wireless Authentication
        • WPA2 PSK
        • WPA2 802.1X
  • IPv4
    • IPv4 Addressing
      • Backup Interfaces
      • FHRP 101
      • DHCP 101
      • DNS 101
      • ARP 101
      • IPv4 101
      • Tunnel Interfaces
        • GRE Tunnels
      • BFD – Bidirectional Forwarding Detection
    • IPv4 Routing
      • How the routing table is built
        • How CEF works
        • Routing Order of Operations
        • NSF – Non Stop Forwarding
      • RIP
        • RIP 101
      • EIGRP
        • EIGRP 101
        • EIGRP Metric
        • More EIGRP Features
      • OSPF
        • OSPF 101
        • OSPF Areas
        • OSPF LSAs
        • OSPF Mechanics
      • IS-IS
        • IS-IS 101
        • IS-IS Mechanics – CLNP
      • BGP
        • BGP 101
        • BGP Attributes
        • More BGP
      • Route Redistribution
      • Policy based Routing
      • PfR 101 – Perfromance Routing
      • ODR
  • IPv6
    • IPv6-101
    • IPv6 Routing
    • Interconnecting IPv6 and IPv4
  • MPLS
    • MPLS 101
    • MPLS L3 VPN
  • Multicast
    • Multicast 101
    • PIM 101
    • IGMP 101
    • Inter Domain Multicast
    • IPv6 Multicast
    • Multicast features on switches
  • Security
    • NAT 101
    • NAT for Overlapping Networks
    • ACLs 101
    • ACLs 102
    • Cisco IOS Firewall
    • Zone Based Firewall
    • AAA 101
    • Controlling CLI Access
    • Control Plane
    • Switch Security
      • Switchport Traffic Control
      • Switchport Port Security
      • DHCP Snooping and DAI
      • 802.1x
      • Switch ACLs
    • IPSec VPN 101
      • IKE / ISAKMP 101
      • IPSEC Crypto Maps 101
      • IPSEC VTI 101
      • DMVPN 101
    • EAP 101
  • Network Services
    • NTP 101
    • HTTP 101
    • File Transfer 101 – TFTP & FTP
    • WCCP 101
  • QoS
    • QoS 101
    • Classification and Marking
    • Congestion Management
      • Legacy Congestion Management
      • SPD – Selective Packet Discard
      • CBWFQ
      • IP RTP Priority
    • Congestion Avoidance – WRED
    • Policing and Shaping
      • CAR 101
    • Compression and LFI
      • Header and Payload Compression
      • LFI for MultiLink PPP
    • Frame Relay QoS
      • Per VC Frame Relay QoS
    • RSVP 101
    • Switching QoS
  • Network Optimization
    • NetFlow 101 – TNF – Traditional NetFlow
    • NetFlow 102 – FNF – Flexible NetFlow
    • IP SLA 101
    • IP Accounting 101
    • Logging 101
    • SNMP and RMON 101
    • Cisco CLI Tips and Tricks
    • AutoInstall
    • Enhanced Object Tracking
    • Troubleshooting 101
    • SPAN, RSPAN, ERSPAN
  • Network Architecture
    • Hierarchical Network Architecture
    • SD Access
    • SD WAN
Powered by GitBook
On this page
  • Troubleshooting CPU
  • Troubleshooting memory
  • Troubleshooting interfaces
  • Other troubleshooting commands

Was this helpful?

  1. Network Optimization

Troubleshooting 101

Troubleshooting CPU

R# show process cpu [sorted COLUMN]
 CPU utilization for five seconds: 6%/3%; one minute: 7%; five minutes: 7%  
 PID Runtime(ms)    Invoked   uSecs   5Sec   1Min   5Min TTY Process   
 115    16866996   43153481     490  0.72%  0.52%  0.52%   0 Skinny Msg Serve   
 163       88084 1683463169       0  0.38%  0.43%  0.41%   0 HQF Shaper Backg   
 129    26750192   94979172     281  0.38%  0.37%  0.33%   0 IP Input        
 ...

In this example the 5 seconds CPU utilziation is 6%/3% with the first percentage representing total CPU utilization and the second percentage representing interrupt utilization. Interrupt utilization is time spent by the CPU dealing with network packets (data plane). The difference between the 2 numbers is the ammount of time spent by the CPU on dealing with the other processes of the device. An interrupt percentage between 5-10% is acceptable. CPU spikes aren't neceserily bad but constantly keeping a high CPU utilization is a cause of concern.

Troubleshooting memory

R# show memory
              Head    Total(b)     Used(b)     Free(b)   Lowest(b)  Largest(b) 
Processor 47C407A0   920385632   107682552   812703080   802714184   799891248
      I/O 3EA00000    23068672    22344664      724008      602976       82844
          Processor memory

  Address      Bytes     Prev     Next Ref  PrevF  NextF Alloc PC what 
47C407A0 0000000932 00000000 47C40B74 001 ------ ------ 40390618 *Packet Header* 
47C40B74 0000000932 47C407A0 47C40F48 001 ------ ------ 40390618 *Packet Header* 
47C40F48 0000000932 47C40B74 47C4131C 001 ------ ------ 40390618 *Packet Header* 

I/O memory is the memory used for temporary packet buffering. A device with low free memory can become slow or even reboot.

Troubleshooting interfaces

R# show interface [INTF-ID]
R# show controllers [INTF-IF]

When troubleshooting interfaces, look for:

  • MTU

  • input queue drops - signify that the traffic is dropping because the router is receiving more traffic than it can handle

  • Output queue drops - these are usuaully a result of congested links

  • Input errors - these may be result of interface problems, duplex errors, CRC errors

  • Output errors - these are usually the result of duplex issues

show controllers command providdes interface hardware statistics and may show different info based on controller type.

Other troubleshooting commands

R# show platform
! Can be helpful when troubleshooting a router reload

PreviousEnhanced Object TrackingNextSPAN, RSPAN, ERSPAN

Last updated 2 years ago

Was this helpful?