Difference between revisions of "Performance Cisco IOS"

From Teknologisk videncenter
Jump to: navigation, search
m
m (CPU)
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
= Processes =
+
=3560=
== CPU ==
+
== Processes ==
 +
=== CPU ===
 
<source lang=cli>
 
<source lang=cli>
 
R1#<input>show processes cpu sorted 5min</input>
 
R1#<input>show processes cpu sorted 5min</input>
Line 14: Line 15:
 
<notice> Output omitted... </notice>
 
<notice> Output omitted... </notice>
 
</source>
 
</source>
 +
or
 +
<source lang=cli>
 +
VIHCA-K20-03#<input>show processes cpu | exclude 0.00</input>
 +
CPU utilization for five seconds: 19%/14%; one minute: 18%; five minutes: 17%
 +
PID Runtime(ms)  Invoked      uSecs  5Sec  1Min  5Min TTY Process
 +
  7    9680822  27142632        356  0.15%  0.20%  0.20%  0 ARP Input
 +
119      15071      1832      8226  0.15%  0.74%  1.65%  2 Virtual Exec
 +
154    16165892  34282702        471  0.63%  0.39%  0.52%  0 IP Input
 +
</source>
 +
 
<source lang=cli>
 
<source lang=cli>
 
R1#<input>show processes cpu history</input>
 
R1#<input>show processes cpu history</input>
Line 72: Line 83:
 
                   * = maximum CPU%  # = average CPU%
 
                   * = maximum CPU%  # = average CPU%
 
</source>
 
</source>
==Memory==
+
 
 +
===Memory===
 
<source lang=cli>
 
<source lang=cli>
 
R1#<input>show processes memory sorted</input>
 
R1#<input>show processes memory sorted</input>
Line 87: Line 99:
 
<notice> Output omitted... </notice>
 
<notice> Output omitted... </notice>
 
</source>
 
</source>
= Example on problems =
+
==TCAM==
 +
<source lang=cli>
 +
VIHCA-K20-03#<input>sh platform tcam utilization</input>
 +
 
 +
CAM Utilization for ASIC# 0                      Max            Used
 +
                                            Masks/Values    Masks/values
 +
 
 +
Unicast mac addresses:                        544/4352        178/1352
 +
IPv4 IGMP groups + multicast routes:          144/1152          6/26
 +
IPv4 unicast directly-connected routes:      544/4352        178/1352
 +
IPv4 unicast indirectly-connected routes:    176/1408        53/351
 +
IPv6 Multicast groups:                        544/4352        178/1352
 +
IPv6 unicast directly-connected routes:      544/4352        178/1352
 +
IPv6 unicast indirectly-connected routes:    262/2096          5/31
 +
IPv4 policy based routing aces:              256/256          22/22
 +
IPv4 qos aces:                                512/512          6/6
 +
IPv4 security aces:                          512/512          22/22
 +
IPv6 policy based routing aces:                0/0            0/0
 +
IPv6 qos aces:                                  0/0            0/0
 +
IPv6 security aces:                          204/510          5/5
 +
 
 +
Note: Allocation of TCAM entries per feature uses
 +
a complex algorithm. The above information is meant
 +
to provide an abstract view of the current TCAM utilization
 +
</source>
 +
 
 +
== Example on problems ==
 
<source lang=cli>
 
<source lang=cli>
 
VIHCA-K20-03#<input>sh processes cpu history</input>
 
VIHCA-K20-03#<input>sh processes cpu history</input>
Line 179: Line 217:
 
   
 
   
 
</source>
 
</source>
 +
== CPU Forwarding ==
 +
<source lang=cli>
 +
3560Switch#<input>debug platform cpu-queues software-fwd-q</input>
 +
2y37w: SW-FWD-Q:Pak FastSW'ed: Local Port Fwding L3If:Vlan2 L2If:StackPort1 DI:0xF002, LT:7, Vlan:2  SrcGPN:456, SrcGID:456, ACLLogIdx:0x0, MacDA:000c.291d.8eff, MacSA: 001b.0c5d.42f7  IP_SA:172.16.2.22 IP_DA:192.168.4.6 IP_Proto:6
 +
  TPFFD:D00001C8_00058094_004D0040-0000F002_0B64F03C_00000008
 +
 +
2y37w: SW-FWD-Q:Queued to L3If: Local Port Fwding L3If:Vlan4 L2If:GigabitEthernet0/2 DI:0x2F, LT:7, Vlan:4  SrcGPN:2, SrcGID:2, ACLLogIdx:0x0, MacDA:001b.0c5d.42c2, MacSA: 0007.e940.0abf  IP_SA:172.16.4.16 IP_DA:172.16.0.5 IP_Proto:6
 +
  TPFFD:D8001002_00000004_00B00040-0000002F_472A0000_00000000
 +
 +
2y37w: SW-FWD-Q:Pak FastSW'ed: Local Port Fwding L3If:Vlan4 L2If:StackPort1 DI:0xF002, LT:7, Vlan:4  SrcGPN:456, SrcGID:456, ACLLogIdx:0x0, MacDA:0013.c32c.9448, MacSA: 001b.0c5d.42c0  IP_SA:172.16.4.16 IP_DA:172.16.0.1 IP_Proto:1
 +
  TPFFD:D00001C8_00058001_004D0066-0000F002_3A50F001_00000008
 +
 +
2y37w: SW-FWD-Q:Pak FastSW'ed: Local Port Fwding L3If:Vlan2 L2If:StackPort1 DI:0xF002, LT:7, Vlan:2  SrcGPN:456, SrcGID:456, ACLLogIdx:0x0, MacDA:0019.bbdb.3058, MacSA: 001b.0c5d.42cb  IP_SA:172.16.2.38 IP_DA:172.16.17.97 IP_Proto:6
 +
  TPFFD:D00001C8_00058011_004D00BC-0000F002_2354F00F_00000008
 +
<notice>Output omitted</notice>
 +
2y37w: SW-FWD-Q:Pak FastSW'ed: Local Port Fwding L3If:Vlan2 L2If:StackPort1 DI:0xF002, LT:7, Vlan:2  SrcGPN:456, SrcGID:456, ACLLogIdx:0x0, MacDA:0030.9201.5738, MacSA: 001b.0c5d.42cd
 +
2y37w: %SYS-3-CPUHOG: Task is running for (2134)msecs, more than (2000)msecs (134/40),process = Logger.
 +
-Traceback= 563C60 564D44 B6A5FC B697E0 B69EB0 B6E830 8D9B24 8D00EC
 +
2y37w: %SYS-3-CPUHOG: Task is running for (4267)msecs, more than (2000)msecs (226/40),process = Logger.
 +
-Traceback= 563C64 564D44 B6A5FC B697E0 B69EB0 B6E830 8D9B24 8D00EC
 +
2y37w: %SYS-3-CPUHOG: Task is running for (2128)msecs, more than (2000)msecs (85/6),process = Logger.
 +
-Traceback= 563C64 564D44 B6A5FC B697E0 B69EB0 B6E830 8D9B24 8D00EC
 +
2y37w: %SYS-3-CPUHOG: Task is running for (4252)msecs, more than (2000)msecs (155/6),process = Logger.
 +
-Traceback= 563C64 564D44 B6A5FC B697E0 B69EB0 B6E830 8D9B24 8D00EC
 +
2y37w: %SYS-3-CPUHOG: Task is running for (2129)msecs, more than (2000)msecs (92/8),process = Logger.
 +
-Traceback= 563C64 564D44 B6A5FC B697E0 B69EB0 B6E830 8D9B24 8D00EC
 +
2y37w: %SYS-3-CPUHOG: Task is running for (4257)msecs, more than (2000)msecs (171/8),process = Logger.
 +
-Traceback= 563C64 564D44 B6A5FC B697E0 B69EB0 B6E830 8D9B24 8D00EC
 +
2y37w: %SYS-3-CPUHOG: Task is running for (2129)msecs, more than (2000)msecs (93/11),process = Logger.
 +
-Traceback= 563C64 564D44 B6A5FC B697E0 B69EB0 B6E830 8D9B24 8D00EC
 +
2y37w: %SYS-3-CPUHOG: Task is running for (4259)msecs, more than (2000)msecs (177/11),process = Logger.
 +
-Traceback= 563C64 564D44 B6A5FC B697E0 B69EB0 B6E830 8D9B24 8D00EC
 +
2y37w: %SYS-3-CPUHOG: Task is running for (2126)msecs, more than (2000)msecs (88/14),process = Logger.
 +
-Traceback= 563C64 564D44 B6A5FC B697E0 B69EB0 B6E830 8D9B24 8D00EC
 +
2y37w: %SYS-3-CPUHOG: Task is running for (4254)msecs, more than (2000)msecs (168/14),process = Logger.
 +
-Traceback= 563C60 564D44 B6A5FC B697E0 B69EB0 B6E830 8D9B24 8D00EC
 +
2y37w: %SYS-3-CPUHOG: Task is running for (2131)msecs, more than (2000)msecs (94/8),process = Logger.
 +
-Traceback= 563C64 564D44 B6A5FC B697E0 B69EB0 B6E830 8D9B24 8D00EC
 +
2y37w: %SYS-3-CPUHOG: Task is running for (4262)msecs, more than (2000)msecs (181/8),process = Logger.
 +
-Traceback= 563C64 564D44 B6A5FC B697E0 B69EB0 B6E830 8D9B24 8D00EC
 +
2y37w: %SYS-3-CPUHOG: Task is running for (2131)msecs, more than (2000)msecs (91/5),process = Logger.
 +
-Traceback= 563C60 564D44 B6A5FC B697E0 B69EB0 B6E830 8D9B24 8D00EC
 +
2y37w: %SYS-3-CPUHOG: Task is running for (4258)msecs, more than (2000)msecs (169/5),process = Logger.
 +
-Traceback= 563C64 564D44 B6A5FC B697E0 B69EB0 B6E830 8D9B24 8D00EC
 +
2y37w: %SYS-3-CPUHOG: Task is running for (2129)msecs, more than (2000)msecs (93/10),process = Logger.
 +
-Traceback= 563C64 564D44 B6A5FC B697E0 B69EB0 B6E830 8D9B24 8D00EC
 +
2y37w: %SYS-3-CPUHOG: Task is running for (4259)msecs, more than (2000)msecs (178/10),process = Logger.
 +
-Traceback= 563C64 564D44 B6A5FC B697E0 B69EB0 B6E830 8D9B24 8D00EC
 +
2y37w: %SYS-3-CPUHOG: Task is running for (2131)msecs, more than (2000)msecs (94/7),process = Logger.
 +
-Traceback= 563C64 564D44 B6A5FC B697E0 B69EB0 B6E830 8D9B24 8D00EC
 +
2y37w: %SYS-3-CPUHOG: Task is running for (4258)msecs, more than (2000)msecs (172/7),process = Logger.
 +
-Traceback= 563C60 564D44 B6A5FC B697E0 B69EB0 B6E830 8D9B24 8D00EC
 +
2y37w: %SYS-3-CPUHOG: Task is running for (2132)msecs, more than (2000)msecs (95/7),process = Logger.
 +
-Traceback= 563C64 564D44 B6A5FC B697E0 B69EB0 B6E830 8D9B24 8D00EC
 +
2y37w: %SYS-3-CPUHOG: Task is running for (4258)msecs, more than (2000)msecs (170/7),process = Logger.
 +
-Traceback= 563C64 564D44 B6A5FC B697E0 B69EB0 B6E830 8D9B24 8D00EC
 +
2y37w: %SYS-3-CPUHOG: Task is running for (2126)msecs, more than (2000)msecs (83/10),process = Logger.
 +
-Traceback= 563C64 564D44 B6A5FC B697E0 B69EB0 B6E830 8D9B24 8D00EC
 +
2y37w: %SYS-3-CPUHOG: Task is running for (4248)msecs, more than (2000)msecs (148/10),process = Logger.
 +
-Traceback= 563C60 564D44 B6A5FC B697E0 B69EB0 B6E830 8D9B24 8D00EC
 +
2y37w: %SYS-3-LOGGER_DROPPED: <notice>System dropped 30641 console debug messages.</notice>
 +
</source>
 +
== Interface switching (Hidden command)==
 +
<source lang=cli>
 +
VIHCA-K20-03#<input>show interfaces switching</input>
 +
Vlan1
 +
          Throttle count          0
 +
        Drops        RP          0        SP          0
 +
  SPD Flushes      Fast          0        SSE          0
 +
  SPD Aggress      Fast          0
 +
SPD Priority    Inputs          0      Drops          0
 +
 +
    Protocol      Path    Pkts In  Chars In  Pkts Out  Chars Out
 +
          IP    Process      1314    136621        50      5708
 +
            Cache misses          0
 +
                    Fast        371      36936      58852    8542325
 +
              Auton/SSE          0          0          0          0
 +
          ARP    Process      5302    318120        34      2040
 +
            Cache misses          0
 +
                    Fast          0          0          0          0
 +
              Auton/SSE          0          0          0          0
 +
<notice>Output omitted...</notice>
 +
</source>
 +
== MAC addresses ==
 +
Many SVI's
 +
<source lang=cli>
 +
VIHCA-K20-03#<input>sh int | i Vlan|bia</input>
 +
Vlan1 is up, line protocol is up
 +
  Hardware is EtherSVI, address is 001b.0c5d.42c0 (bia 001b.0c5d.42c0)
 +
Vlan2 is up, line protocol is up
 +
  Hardware is EtherSVI, address is 001b.0c5d.42c1 (bia 001b.0c5d.42c1)
 +
Vlan4 is up, line protocol is up
 +
  Hardware is EtherSVI, address is 001b.0c5d.42c2 (bia 001b.0c5d.42c2)
 +
Vlan5 is up, line protocol is up
 +
  Hardware is EtherSVI, address is 001b.0c5d.42c3 (bia 001b.0c5d.42c3)
 +
Vlan6 is up, line protocol is up
 +
  Hardware is EtherSVI, address is 001b.0c5d.42c4 (bia 001b.0c5d.42c4)
 +
Vlan7 is up, line protocol is up
 +
  Hardware is EtherSVI, address is 001b.0c5d.42c5 (bia 001b.0c5d.42c5)
 +
Vlan10 is up, line protocol is up
 +
  Hardware is EtherSVI, address is 001b.0c5d.42c6 (bia 001b.0c5d.42c6)
 +
Vlan11 is up, line protocol is up
 +
  Hardware is EtherSVI, address is 001b.0c5d.42c7 (bia 001b.0c5d.42c7)
 +
Vlan12 is up, line protocol is up
 +
  Hardware is EtherSVI, address is 001b.0c5d.42c8 (bia 001b.0c5d.42c8)
 +
Vlan13 is up, line protocol is up
 +
  Hardware is EtherSVI, address is 001b.0c5d.42c9 (bia 001b.0c5d.42c9)
 +
Vlan14 is up, line protocol is up
 +
  Hardware is EtherSVI, address is 001b.0c5d.42ca (bia 001b.0c5d.42ca)
 +
Vlan15 is up, line protocol is up
 +
  Hardware is EtherSVI, address is 001b.0c5d.42cb (bia 001b.0c5d.42cb)
 +
Vlan16 is up, line protocol is up
 +
  Hardware is EtherSVI, address is 001b.0c5d.42cc (bia 001b.0c5d.42cc)
 +
Vlan17 is up, line protocol is up
 +
  Hardware is EtherSVI, address is 001b.0c5d.42cd (bia 001b.0c5d.42cd)
 +
Vlan18 is up, line protocol is up
 +
  Hardware is EtherSVI, address is 001b.0c5d.42ce (bia 001b.0c5d.42ce)
 +
Vlan19 is up, line protocol is up
 +
  Hardware is EtherSVI, address is 001b.0c5d.42cf (bia 001b.0c5d.42cf)
 +
Vlan21 is up, line protocol is up
 +
  Hardware is EtherSVI, address is 001b.0c5d.42d0 (bia 001b.0c5d.42d0)
 +
Vlan30 is up, line protocol is up
 +
  Hardware is EtherSVI, address is 001b.0c5d.42d1 (bia 001b.0c5d.42d1)
 +
Vlan31 is up, line protocol is up
 +
  Hardware is EtherSVI, address is 001b.0c5d.42d2 (bia 001b.0c5d.42d2)
 +
Vlan47 is up, line protocol is down
 +
  Hardware is EtherSVI, address is 001b.0c5d.42d3 (bia 001b.0c5d.42d3)
 +
Vlan48 is up, line protocol is up
 +
  Hardware is EtherSVI, address is 001b.0c5d.42d4 (bia 001b.0c5d.42d4)
 +
Vlan49 is up, line protocol is down
 +
  Hardware is EtherSVI, address is 001b.0c5d.42d5 (bia 001b.0c5d.42d5)
 +
Vlan50 is up, line protocol is up
 +
  Hardware is EtherSVI, address is 001b.0c5d.42d6 (bia 001b.0c5d.42d6)
 +
Vlan51 is up, line protocol is up
 +
  Hardware is EtherSVI, address is 001b.0c5d.42d7 (bia 001b.0c5d.42d7)
 +
Vlan52 is up, line protocol is up
 +
  Hardware is EtherSVI, address is 001b.0c5d.42d8 (bia 001b.0c5d.42d8)
 +
Vlan53 is up, line protocol is up
 +
  Hardware is EtherSVI, address is 001b.0c5d.42d9 (bia 001b.0c5d.42d9)
 +
Vlan54 is up, line protocol is up
 +
  Hardware is EtherSVI, address is 001b.0c5d.42da (bia 001b.0c5d.42da)
 +
Vlan55 is up, line protocol is up
 +
  Hardware is EtherSVI, address is 001b.0c5d.42db (bia 001b.0c5d.42db)
 +
Vlan56 is up, line protocol is up
 +
  Hardware is EtherSVI, address is 001b.0c5d.42dc (bia 001b.0c5d.42dc)
 +
Vlan58 is up, line protocol is up
 +
  Hardware is EtherSVI, address is 001b.0c5d.42dd (bia 001b.0c5d.42dd)
 +
Vlan59 is up, line protocol is up
 +
  Hardware is EtherSVI, address is 001b.0c5d.42de (bia 001b.0c5d.42de)
 +
Vlan61 is up, line protocol is up
 +
  Hardware is EtherSVI, address is 001b.0c5d.42df (bia 001b.0c5d.42df)
 +
Vlan62 is up, line protocol is up
 +
  Hardware is EtherSVI, address is 001b.0c5d.42e0 (bia 001b.0c5d.42e0)
 +
Vlan63 is up, line protocol is up
 +
  Hardware is EtherSVI, address is 001b.0c5d.42e1 (bia 001b.0c5d.42e1)
 +
Vlan64 is up, line protocol is up
 +
  Hardware is EtherSVI, address is 001b.0c5d.42e2 (bia 001b.0c5d.42e2)
 +
Vlan65 is up, line protocol is up
 +
  Hardware is EtherSVI, address is 001b.0c5d.42e3 (bia 001b.0c5d.42e3)
 +
Vlan67 is up, line protocol is up
 +
  Hardware is EtherSVI, address is 001b.0c5d.42e4 (bia 001b.0c5d.42e4)
 +
Vlan70 is up, line protocol is up
 +
  Hardware is EtherSVI, address is 001b.0c5d.42e5 (bia 001b.0c5d.42e5)
 +
Vlan71 is up, line protocol is up
 +
  Hardware is EtherSVI, address is 001b.0c5d.42e6 (bia 001b.0c5d.42e6)
 +
Vlan72 is up, line protocol is up
 +
  Hardware is EtherSVI, address is 001b.0c5d.42e7 (bia 001b.0c5d.42e7)
 +
Vlan73 is up, line protocol is up
 +
  Hardware is EtherSVI, address is 001b.0c5d.42e8 (bia 001b.0c5d.42e8)
 +
Vlan75 is up, line protocol is up
 +
  Hardware is EtherSVI, address is 001b.0c5d.42e9 (bia 001b.0c5d.42e9)
 +
Vlan76 is up, line protocol is up
 +
  Hardware is EtherSVI, address is 001b.0c5d.42ea (bia 001b.0c5d.42ea)
 +
Vlan77 is up, line protocol is up
 +
  Hardware is EtherSVI, address is 001b.0c5d.42eb (bia 001b.0c5d.42eb)
 +
Vlan78 is up, line protocol is up
 +
  Hardware is EtherSVI, address is 001b.0c5d.42ec (bia 001b.0c5d.42ec)
 +
Vlan79 is up, line protocol is down
 +
  Hardware is EtherSVI, address is 001b.0c5d.42ed (bia 001b.0c5d.42ed)
 +
Vlan80 is up, line protocol is up
 +
  Hardware is EtherSVI, address is 001b.0c5d.42ee (bia 001b.0c5d.42ee)
 +
Vlan81 is up, line protocol is up
 +
  Hardware is EtherSVI, address is 001b.0c5d.42ef (bia 001b.0c5d.42ef)
 +
Vlan82 is up, line protocol is up
 +
  Hardware is EtherSVI, address is 001b.0c5d.42f0 (bia 001b.0c5d.42f0)
 +
Vlan85 is up, line protocol is up
 +
  Hardware is EtherSVI, address is 001b.0c5d.42f1 (bia 001b.0c5d.42f1)
 +
Vlan86 is up, line protocol is up
 +
  Hardware is EtherSVI, address is 001b.0c5d.42f2 (bia 001b.0c5d.42f2)
 +
Vlan87 is up, line protocol is up
 +
  Hardware is EtherSVI, address is 001b.0c5d.42f3 (bia 001b.0c5d.42f3)
 +
Vlan88 is down, line protocol is down
 +
  Hardware is EtherSVI, address is 001b.0c5d.42f4 (bia 001b.0c5d.42f4)
 +
Vlan89 is up, line protocol is up
 +
  Hardware is EtherSVI, address is 001b.0c5d.42f5 (bia 001b.0c5d.42f5)
 +
Vlan90 is up, line protocol is up
 +
  Hardware is EtherSVI, address is 001b.0c5d.42f6 (bia 001b.0c5d.42f6)
 +
Vlan91 is up, line protocol is up
 +
  Hardware is EtherSVI, address is 001b.0c5d.42f7 (bia 001b.0c5d.42f7)
 +
Vlan92 is up, line protocol is up
 +
  Hardware is EtherSVI, address is 001b.0c5d.42f8 (bia 001b.0c5d.42f8)
 +
Vlan93 is up, line protocol is up
 +
  Hardware is EtherSVI, address is 001b.0c5d.42f9 (bia 001b.0c5d.42f9)
 +
Vlan94 is up, line protocol is up
 +
  Hardware is EtherSVI, address is 001b.0c5d.42fa (bia 001b.0c5d.42fa)
 +
Vlan95 is up, line protocol is up
 +
  Hardware is EtherSVI, address is 001b.0c5d.42fb (bia 001b.0c5d.42fb)
 +
Vlan96 is up, line protocol is up
 +
  Hardware is EtherSVI, address is 001b.0c5d.42fc (bia 001b.0c5d.42fc)
 +
Vlan99 is up, line protocol is down
 +
  Hardware is EtherSVI, address is 001b.0c5d.42fd (bia 001b.0c5d.42fd)
 +
Vlan100 is up, line protocol is up
 +
  Hardware is EtherSVI, address is 001b.0c5d.42fe (bia 001b.0c5d.42fe)
 +
Vlan116 is up, line protocol is up
 +
  Hardware is EtherSVI, address is <notice>001b.0c5d.42ff</notice> (bia 001b.0c5d.42ff)
 +
Vlan128 is up, line protocol is up
 +
  Hardware is EtherSVI, address is <notice>001b.0c5d.42ff</notice> (bia 001b.0c5d.42ff)
 +
Vlan138 is up, line protocol is up
 +
  Hardware is EtherSVI, address is <notice>001b.0c5d.42ff</notice> (bia 001b.0c5d.42ff)
 +
Vlan148 is up, line protocol is up
 +
  Hardware is EtherSVI, address is <notice>001b.0c5d.42ff</notice> (bia 001b.0c5d.42ff)
 +
Vlan500 is up, line protocol is up
 +
  Hardware is EtherSVI, address is <notice>001b.0c5d.42ff</notice> (bia 001b.0c5d.42ff)
 +
Vlan800 is up, line protocol is up
 +
  Hardware is EtherSVI, address is 001b.0c5d.42ff (bia 001b.0c5d.42ff)
 +
  Hardware is Fast Ethernet, address is 001b.0c5d.4283 (bia 001b.0c5d.4283)
 +
  Hardware is Fast Ethernet, address is 001b.0c5d.4284 (bia 001b.0c5d.4284)
 +
  Hardware is Fast Ethernet, address is 001b.0c5d.4285 (bia 001b.0c5d.4285)
 +
  Hardware is Fast Ethernet, address is 001b.0c5d.4286 (bia 001b.0c5d.4286)
 +
  Hardware is Fast Ethernet, address is 001b.0c5d.4287 (bia 001b.0c5d.4287)
 +
  Hardware is Fast Ethernet, address is 001b.0c5d.4288 (bia 001b.0c5d.4288)
 +
  Hardware is Fast Ethernet, address is 001b.0c5d.4289 (bia 001b.0c5d.4289)
 +
  Hardware is Fast Ethernet, address is 001b.0c5d.428a (bia 001b.0c5d.428a)
 +
  Hardware is Fast Ethernet, address is 001b.0c5d.428b (bia 001b.0c5d.428b)
 +
  Hardware is Fast Ethernet, address is 001b.0c5d.428c (bia 001b.0c5d.428c)
 +
  Hardware is Fast Ethernet, address is 001b.0c5d.428d (bia 001b.0c5d.428d)
 +
  Hardware is Fast Ethernet, address is 001b.0c5d.428e (bia 001b.0c5d.428e)
 +
  Hardware is Fast Ethernet, address is 001b.0c5d.428f (bia 001b.0c5d.428f)
 +
  Hardware is Fast Ethernet, address is 001b.0c5d.4290 (bia 001b.0c5d.4290)
 +
  Hardware is Fast Ethernet, address is 001b.0c5d.4291 (bia 001b.0c5d.4291)
 +
  Hardware is Fast Ethernet, address is 001b.0c5d.4292 (bia 001b.0c5d.4292)
 +
  Hardware is Fast Ethernet, address is 001b.0c5d.4293 (bia 001b.0c5d.4293)
 +
  Hardware is Fast Ethernet, address is 001b.0c5d.4294 (bia 001b.0c5d.4294)
 +
  Hardware is Fast Ethernet, address is 001b.0c5d.4295 (bia 001b.0c5d.4295)
 +
  Hardware is Fast Ethernet, address is 001b.0c5d.4296 (bia 001b.0c5d.4296)
 +
  Hardware is Fast Ethernet, address is 001b.0c5d.4297 (bia 001b.0c5d.4297)
 +
  Hardware is Fast Ethernet, address is 001b.0c5d.4298 (bia 001b.0c5d.4298)
 +
  Hardware is Fast Ethernet, address is 001b.0c5d.4299 (bia 001b.0c5d.4299)
 +
  Hardware is Fast Ethernet, address is 001b.0c5d.429a (bia 001b.0c5d.429a)
 +
  Hardware is Gigabit Ethernet, address is 001b.0c5d.4281 (bia 001b.0c5d.4281)
 +
  Hardware is Gigabit Ethernet, address is 001b.0c5d.4282 (bia 001b.0c5d.4282)
 +
</source>
 +
 +
== acl statistics ==
 +
<source lang=cli>
 +
VIHCA-K20-03#<input>show platform acl statistics 0</input>
 +
L2 ACL INPUT Statistics
 +
    Drop:                      frame count: 0
 +
    Drop:                      bytes count: 0
 +
    Bridge Only:                frame count: 1057981
 +
    Bridge Only:                bytes count: 79066981
 +
    Forwarding To CPU:          frame count: 0
 +
    Forwarding To CPU:          bytes count: 0
 +
 +
L3 ACL INPUT Statistics
 +
    Drop:                      frame count: 0
 +
    Drop:                      bytes count: 0
 +
    Bridge Only:                frame count: 0
 +
    Bridge Only:                bytes count: 0
 +
    Forwarding To CPU:          frame count: 0
 +
    Forwarding To CPU:          bytes count: 0
 +
    Forwarded:                  frame count: 275670086
 +
    Forwarded:                  bytes count: 3075217887
 +
    Drop And Log:              frame count: 0
 +
    Drop And Log:              bytes count: 0
 +
    Bridge Only And Log:        frame count: 0
 +
    Bridge Only And Log:        bytes count: 0
 +
    Forwarded And Log:          frame count: 0
 +
    Forwarded And Log:          bytes count: 0
 +
    IPv6 Drop:                  frame count: 0
 +
    IPv6 Drop:                  bytes count: 0
 +
    IPv6 Bridge Only:          frame count: 0
 +
    IPv6 Bridge Only:          bytes count: 0
 +
    IPv6 Forwarding To CPU:    frame count: 0
 +
    IPv6 Forwarding To CPU:    bytes count: 0
 +
    IPv6 Forwarded:            frame count: 6724
 +
    IPv6 Forwarded:            bytes count: 993672
 +
    IPv6 Drop And Log:          frame count: 0
 +
    IPv6 Drop And Log:          bytes count: 0
 +
    IPv6 Bridge Only And Log:  frame count: 0
 +
    IPv6 Bridge Only And Log:  bytes count: 0
 +
    IPv6 Forwarded And Log:    frame count: 0
 +
    IPv6 Forwarded And Log:    bytes count: 0
 +
 +
L2 ACL OUTPUT Statistics
 +
    Drop:                      frame count: 0
 +
    Drop:                      bytes count: 0
 +
    Bridge Only:                frame count: 1151411
 +
    Bridge Only:                bytes count: 87417057
 +
    Forwarding To CPU:          frame count: 0
 +
    Forwarding To CPU:          bytes count: 0
 +
 +
L3 ACL OUTPUT Statistics
 +
    Drop:                      frame count: 0
 +
    Drop:                      bytes count: 0
 +
    Bridge Only:                frame count: 0
 +
    Bridge Only:                bytes count: 0
 +
    Forwarding To CPU:          frame count: 0
 +
    Forwarding To CPU:          bytes count: 0
 +
    Forwarded:                  frame count: 272699583
 +
    Forwarded:                  bytes count: 138445972
 +
    Drop And Log:              frame count: 0
 +
    Drop And Log:              bytes count: 0
 +
    Bridge Only And Log:        frame count: 0
 +
    Bridge Only And Log:        bytes count: 0
 +
    Forwarded And Log:          frame count: 0
 +
    Forwarded And Log:          bytes count: 0
 +
    IPv6 Drop:                  frame count: 0
 +
    IPv6 Drop:                  bytes count: 0
 +
    IPv6 Bridge Only:          frame count: 0
 +
    IPv6 Bridge Only:          bytes count: 0
 +
    IPv6 Forwarding To CPU:    frame count: 0
 +
    IPv6 Forwarding To CPU:    bytes count: 0
 +
    IPv6 Forwarded:            frame count: 6744
 +
    IPv6 Forwarded:            bytes count: 995443
 +
    IPv6 Drop And Log:          frame count: 0
 +
    IPv6 Drop And Log:          bytes count: 0
 +
    IPv6 Bridge Only And Log:  frame count: 0
 +
    IPv6 Bridge Only And Log:  bytes count: 0
 +
    IPv6 Forwarded And Log:    frame count: 0
 +
    IPv6 Forwarded And Log:    bytes count: 0
 +
</source>
 +
== ACL usage ==
 +
<source lang=cli>
 +
VIHCA-K20-03#<input>show platform acl usage 0</input>
 +
IPV4/MAC ACL TCAM USAGE:
 +
  ACL Type      Label      Entries Used
  
 +
                Used        Available      Total
 +
  Mask          22            490            512
 +
  Value          22            490            512
 +
 +
IPV6 ACL TCAM USAGE:
 +
  ACL Type      Label      Entries Used
 +
 +
                Used        Available      Total
 +
  Mask            5            199            204
 +
  Value          5            505            510
 +
</source>
 +
== ARP Usage ==
 +
Clear the counters and measure over a period if APR process spends to much time
 +
<source lang=cli>
 +
VIHCA-K20-03#<input>show interfaces accounting</input>
 +
Vlan1
 +
                Protocol    Pkts In  Chars In  Pkts Out  Chars Out
 +
                      IP    3009132  294105822  630174171  487243045
 +
                    ARP    5882158  352929480    159542    9572520
 +
Vlan2
 +
                Protocol    Pkts In  Chars In  Pkts Out  Chars Out
 +
                  Other      65609    3936540          0          0
 +
                      IP 1195789610 1243603367  719479515 1325664786
 +
                    ARP    3560083  215461480    874013  52440780
 +
Vlan4
 +
                Protocol    Pkts In  Chars In  Pkts Out  Chars Out
 +
                  Other      63062    3783720          0          0
 +
                      IP  127207810 3830015121  13557692  227018914
 +
                    ARP    5815092  349749528    391925  23515500
 +
Vlan5
 +
                Protocol    Pkts In  Chars In  Pkts Out  Chars Out
 +
                      IP    109302  13623415        171      20357
 +
                    ARP      42552    2553120      9605    576300
 +
Vlan6
 +
                Protocol    Pkts In  Chars In  Pkts Out  Chars Out
 +
                      IP      59334  20913986  91437251 2403752479
 +
                    ARP      8426    505560      7921    475260
 +
<notice>...Output omitted...</notice>
 +
</source>
 +
== Broadcasts==
 +
<source lang=cli>
 +
VIHCA-K20-03#<input>show interfaces gi0/2 controller | inc broadcast</input>
 +
    Received 64175342 broadcasts (0 multicast)
 +
</source>
  
 
= See also =
 
= See also =
Line 186: Line 605:
  
 
=Links=
 
=Links=
 +
*[http://www.cisco-secure.com/en/US/docs/switches/lan/catalyst3560/software/release/12.2_25_see/configuration/guide/swsdm.html 3560 SDM configuration] (Notes on PBR)
 
*[http://www.ciscocatalyst.info/en/US/products/hw/routers/ps133/products_tech_note09186a00800a70f2.shtml Troubleshooting High CPU Utilization on Cisco Routers]
 
*[http://www.ciscocatalyst.info/en/US/products/hw/routers/ps133/products_tech_note09186a00800a70f2.shtml Troubleshooting High CPU Utilization on Cisco Routers]
 +
*[http://www.cisco.com/en/US/products/hw/routers/ps359/products_tech_note09186a00801c2af0.shtml#inapprop_swpath Troubleshooting High CPU Utilization Due to Interrupts]
 
*[http://www.solarwinds.com/products/toolsets/RouterCPULoad.aspx SolarWinds Cisco CPU Load monitor]
 
*[http://www.solarwinds.com/products/toolsets/RouterCPULoad.aspx SolarWinds Cisco CPU Load monitor]
 
{{Source cli}}
 
{{Source cli}}
 
[[Category:Cisco]]
 
[[Category:Cisco]]

Latest revision as of 07:43, 18 June 2010

3560

Processes

CPU

R1#<input>show processes cpu sorted 5min</input>
CPU utilization for five seconds: 5%/0%; one minute: 5%; five minutes: 5%
 PID Runtime(ms)   Invoked      uSecs   5Sec   1Min   5Min TTY Process
 112     3719202   1028129       3617  0.15%  0.13%  0.15%   0 HRPC qos request
   4     2111767    304796       6928  0.00%  0.09%  0.06%   0 Check heaps
 139         232       304        763  0.15%  0.11%  0.05%   2 Virtual Exec
 142      554927   2283402        243  0.15%  0.10%  0.05%   0 IP Input
  34       57731  47158926          1  0.00%  0.02%  0.00%   0 RedEarth Tx Mana
   7      637306   3220477        197  0.15%  0.03%  0.00%   0 ARP Input
   6           0         2          0  0.00%  0.00%  0.00%   0 Timers
<notice> Output omitted... </notice>

or

VIHCA-K20-03#<input>show processes cpu | exclude 0.00</input>
CPU utilization for five seconds: 19%/14%; one minute: 18%; five minutes: 17%
 PID Runtime(ms)   Invoked      uSecs   5Sec   1Min   5Min TTY Process
   7     9680822  27142632        356  0.15%  0.20%  0.20%   0 ARP Input
 119       15071      1832       8226  0.15%  0.74%  1.65%   2 Virtual Exec
 154    16165892  34282702        471  0.63%  0.39%  0.52%   0 IP Input
R1#<input>show processes cpu history</input>

     22
     0055555444445555555555555554444455555444445555555555444444
100
 90
 80
 70
 60
 50
 40
 30
 20  **
 10  *******     ***************     *****     **********
    0....5....1....1....2....2....3....3....4....4....5....5....
              0    5    0    5    0    5    0    5    0    5

               CPU% per second (last 60 seconds)



     5555555656555555555555655565566555555555555556555565655555
100
 90
 80
 70
 60
 50
 40
 30
 20
 10  *********#************************************************
    0....5....1....1....2....2....3....3....4....4....5....5....
              0    5    0    5    0    5    0    5    0    5

               CPU% per minute (last 60 minutes)
              * = maximum CPU%   # = average CPU%


                                                                     2   2
     6666666666666666666666666666666666666666666666666666666666666666166616
100
 90
 80
 70
 60
 50
 40
 30
 20                                                                  *   *
 10  **********************************************************************
    0....5....1....1....2....2....3....3....4....4....5....5....6....6....7.
              0    5    0    5    0    5    0    5    0    5    0    5    0

                   CPU% per hour (last 72 hours)
                  * = maximum CPU%   # = average CPU%

Memory

R1#<input>show processes memory sorted</input>
Total: 93767804, Used: 26748864, Free: 67018940
 PID TTY  Allocated      Freed    Holding    Getbufs    Retbufs Process
   0   0   44412416    9304512   31757752          0          0 *Init*
 207   0   19663088   19130936     539048          0          0 hulc running con
   0   0   16018800   16718240     514160   10630004    1993968 *Dead*
  11   0     666608     425136     249328          0          0 Entity MIB API
  40   0     272992      10600     236144          0          0 Stack Mgr Notifi
 150   0     160216       2048     164056          0          0 CEF: IPv4 proces
 155   0      86128       6072      88256          0          0 MDFS LC Process
 167   0   18972712   18979792      82216          0          0 IGMPSN
<notice> Output omitted... </notice>

TCAM

VIHCA-K20-03#<input>sh platform tcam utilization</input>

CAM Utilization for ASIC# 0                      Max            Used
                                             Masks/Values    Masks/values

 Unicast mac addresses:                        544/4352        178/1352
 IPv4 IGMP groups + multicast routes:          144/1152          6/26
 IPv4 unicast directly-connected routes:       544/4352        178/1352
 IPv4 unicast indirectly-connected routes:     176/1408         53/351
 IPv6 Multicast groups:                        544/4352        178/1352
 IPv6 unicast directly-connected routes:       544/4352        178/1352
 IPv6 unicast indirectly-connected routes:     262/2096          5/31
 IPv4 policy based routing aces:               256/256          22/22
 IPv4 qos aces:                                512/512           6/6
 IPv4 security aces:                           512/512          22/22
 IPv6 policy based routing aces:                 0/0             0/0
 IPv6 qos aces:                                  0/0             0/0
 IPv6 security aces:                           204/510           5/5

Note: Allocation of TCAM entries per feature uses
a complex algorithm. The above information is meant
to provide an abstract view of the current TCAM utilization

Example on problems

VIHCA-K20-03#<input>sh processes cpu history</input>

     8888888888888888888888888888888888888888888888888888888888
     4111114444444444333332222211116666677777555556666666666666
100
 90                                ****************************
 80  **********************************************************
 70  **********************************************************
 60  **********************************************************
 50  **********************************************************
 40  **********************************************************
 30  **********************************************************
 20  **********************************************************
 10  **********************************************************
    0....5....1....1....2....2....3....3....4....4....5....5....
              0    5    0    5    0    5    0    5    0    5

               CPU% per second (last 60 seconds)


     8888888888888888899998888888888888888888888888888888888888
     7777787876887888800009899888887675678888889988899879998888
100
 90  ***#**#******#################******######################
 80  ##########################################################
 70  ##########################################################
 60  ##########################################################
 50  ##########################################################
 40  ##########################################################
 30  ##########################################################
 20  ##########################################################
 10  ##########################################################
    0....5....1....1....2....2....3....3....4....4....5....5....
              0    5    0    5    0    5    0    5    0    5

               CPU% per minute (last 60 minutes)
              * = maximum CPU%   # = average CPU%

                       1
     8687557666866668890999999546756666676568889999998466656666666466789999
     9247556224818034800761809097551110411972391011319131164680525936190000
100                    *** * *
 90  *         *     *******#*                *####***                *####
 80  # **  *   *    **#***###*   *          ***######*                *####
 70  # **  *   * *  *###**###*  **      *  ***#######*      ** * *  **#####
 60  #***************###*####*  **************#######* *********** ***#####
 50  #***************#########***************######### ***************#####
 40  #***************#########***************#########****************#####
 30  #**************##########**************##########****************#####
 20  #*#*#***#*#*#*###########**********##*###########******#**###*########
 10  ######################################################################
    0....5....1....1....2....2....3....3....4....4....5....5....6....6....7.
              0    5    0    5    0    5    0    5    0    5    0    5    0

                   CPU% per hour (last 72 hours)
                  * = maximum CPU%   # = average CPU%
VIHCA-K20-03#<input>show sdm prefer</input>
 The current template is "desktop IPv4 and IPv6 routing" template.
 The selected template optimizes the resources in
 the switch to support this level of features for
 8 routed interfaces and 1024 VLANs.

  number of unicast mac addresses:                  1536
  number of IPv4 IGMP groups + multicast routes:    1K
  number of IPv4 unicast routes:                    2816
    number of directly-connected IPv4 hosts:        1536
    number of indirect IPv4 routes:                 1280
  number of IPv6 multicast groups:                  1152
  number of directly-connected IPv6 addresses:      1536
  number of indirect IPv6 unicast routes:           1280
  number of IPv4 policy based routing aces:         256
  number of IPv4/MAC qos aces:                      512
  number of IPv4/MAC security aces:                 512
  number of IPv6 policy based routing aces:         255
  number of IPv6 qos aces:                          510
  number of IPv6 security aces:                     510
VIHCA-K20-03#<input>show processes cpu sorted 5min</input>
CPU utilization for five seconds: 85%/79%; one minute: 83%; five minutes: 84%
 PID Runtime(ms)   Invoked      uSecs   5Sec   1Min   5Min TTY Process
 152   252718026 584420122        432  0.31%  0.44%  0.41%   0 IP Input
   7   157557489 434633225        362  0.79%  0.35%  0.32%   0 ARP Input
 216         636     10297         61  0.47%  0.34%  0.12%   1 Virtual Exec
 109     8314164  34050193        244  0.00%  0.08%  0.09%   0 HRPC qos request
   4    79303242  10109263       7844  0.00%  0.08%  0.07%   0 Check heaps
 149    20425599  37945322        538  0.00%  0.04%  0.05%   0 IP SNMP
 187    14955620  14850321       1007  0.15%  0.06%  0.04%   0 DHCPD Receive
 213    17683047  21886229        807  0.00%  0.04%  0.04%   0 SNMP ENGINE
<notice>Output omitted...</notice>

CPU Forwarding

3560Switch#<input>debug platform cpu-queues software-fwd-q</input>
2y37w: SW-FWD-Q:Pak FastSW'ed: Local Port Fwding L3If:Vlan2 L2If:StackPort1 DI:0xF002, LT:7, Vlan:2   SrcGPN:456, SrcGID:456, ACLLogIdx:0x0, MacDA:000c.291d.8eff, MacSA: 001b.0c5d.42f7   IP_SA:172.16.2.22 IP_DA:192.168.4.6 IP_Proto:6
   TPFFD:D00001C8_00058094_004D0040-0000F002_0B64F03C_00000008

2y37w: SW-FWD-Q:Queued to L3If: Local Port Fwding L3If:Vlan4 L2If:GigabitEthernet0/2 DI:0x2F, LT:7, Vlan:4   SrcGPN:2, SrcGID:2, ACLLogIdx:0x0, MacDA:001b.0c5d.42c2, MacSA: 0007.e940.0abf   IP_SA:172.16.4.16 IP_DA:172.16.0.5 IP_Proto:6
   TPFFD:D8001002_00000004_00B00040-0000002F_472A0000_00000000

2y37w: SW-FWD-Q:Pak FastSW'ed: Local Port Fwding L3If:Vlan4 L2If:StackPort1 DI:0xF002, LT:7, Vlan:4   SrcGPN:456, SrcGID:456, ACLLogIdx:0x0, MacDA:0013.c32c.9448, MacSA: 001b.0c5d.42c0   IP_SA:172.16.4.16 IP_DA:172.16.0.1 IP_Proto:1
   TPFFD:D00001C8_00058001_004D0066-0000F002_3A50F001_00000008

2y37w: SW-FWD-Q:Pak FastSW'ed: Local Port Fwding L3If:Vlan2 L2If:StackPort1 DI:0xF002, LT:7, Vlan:2   SrcGPN:456, SrcGID:456, ACLLogIdx:0x0, MacDA:0019.bbdb.3058, MacSA: 001b.0c5d.42cb   IP_SA:172.16.2.38 IP_DA:172.16.17.97 IP_Proto:6
   TPFFD:D00001C8_00058011_004D00BC-0000F002_2354F00F_00000008
<notice>Output omitted</notice>
2y37w: SW-FWD-Q:Pak FastSW'ed: Local Port Fwding L3If:Vlan2 L2If:StackPort1 DI:0xF002, LT:7, Vlan:2   SrcGPN:456, SrcGID:456, ACLLogIdx:0x0, MacDA:0030.9201.5738, MacSA: 001b.0c5d.42cd
2y37w: %SYS-3-CPUHOG: Task is running for (2134)msecs, more than (2000)msecs (134/40),process = Logger.
-Traceback= 563C60 564D44 B6A5FC B697E0 B69EB0 B6E830 8D9B24 8D00EC
2y37w: %SYS-3-CPUHOG: Task is running for (4267)msecs, more than (2000)msecs (226/40),process = Logger.
-Traceback= 563C64 564D44 B6A5FC B697E0 B69EB0 B6E830 8D9B24 8D00EC
2y37w: %SYS-3-CPUHOG: Task is running for (2128)msecs, more than (2000)msecs (85/6),process = Logger.
-Traceback= 563C64 564D44 B6A5FC B697E0 B69EB0 B6E830 8D9B24 8D00EC
2y37w: %SYS-3-CPUHOG: Task is running for (4252)msecs, more than (2000)msecs (155/6),process = Logger.
-Traceback= 563C64 564D44 B6A5FC B697E0 B69EB0 B6E830 8D9B24 8D00EC
2y37w: %SYS-3-CPUHOG: Task is running for (2129)msecs, more than (2000)msecs (92/8),process = Logger.
-Traceback= 563C64 564D44 B6A5FC B697E0 B69EB0 B6E830 8D9B24 8D00EC
2y37w: %SYS-3-CPUHOG: Task is running for (4257)msecs, more than (2000)msecs (171/8),process = Logger.
-Traceback= 563C64 564D44 B6A5FC B697E0 B69EB0 B6E830 8D9B24 8D00EC
2y37w: %SYS-3-CPUHOG: Task is running for (2129)msecs, more than (2000)msecs (93/11),process = Logger.
-Traceback= 563C64 564D44 B6A5FC B697E0 B69EB0 B6E830 8D9B24 8D00EC
2y37w: %SYS-3-CPUHOG: Task is running for (4259)msecs, more than (2000)msecs (177/11),process = Logger.
-Traceback= 563C64 564D44 B6A5FC B697E0 B69EB0 B6E830 8D9B24 8D00EC
2y37w: %SYS-3-CPUHOG: Task is running for (2126)msecs, more than (2000)msecs (88/14),process = Logger.
-Traceback= 563C64 564D44 B6A5FC B697E0 B69EB0 B6E830 8D9B24 8D00EC
2y37w: %SYS-3-CPUHOG: Task is running for (4254)msecs, more than (2000)msecs (168/14),process = Logger.
-Traceback= 563C60 564D44 B6A5FC B697E0 B69EB0 B6E830 8D9B24 8D00EC
2y37w: %SYS-3-CPUHOG: Task is running for (2131)msecs, more than (2000)msecs (94/8),process = Logger.
-Traceback= 563C64 564D44 B6A5FC B697E0 B69EB0 B6E830 8D9B24 8D00EC
2y37w: %SYS-3-CPUHOG: Task is running for (4262)msecs, more than (2000)msecs (181/8),process = Logger.
-Traceback= 563C64 564D44 B6A5FC B697E0 B69EB0 B6E830 8D9B24 8D00EC
2y37w: %SYS-3-CPUHOG: Task is running for (2131)msecs, more than (2000)msecs (91/5),process = Logger.
-Traceback= 563C60 564D44 B6A5FC B697E0 B69EB0 B6E830 8D9B24 8D00EC
2y37w: %SYS-3-CPUHOG: Task is running for (4258)msecs, more than (2000)msecs (169/5),process = Logger.
-Traceback= 563C64 564D44 B6A5FC B697E0 B69EB0 B6E830 8D9B24 8D00EC
2y37w: %SYS-3-CPUHOG: Task is running for (2129)msecs, more than (2000)msecs (93/10),process = Logger.
-Traceback= 563C64 564D44 B6A5FC B697E0 B69EB0 B6E830 8D9B24 8D00EC
2y37w: %SYS-3-CPUHOG: Task is running for (4259)msecs, more than (2000)msecs (178/10),process = Logger.
-Traceback= 563C64 564D44 B6A5FC B697E0 B69EB0 B6E830 8D9B24 8D00EC
2y37w: %SYS-3-CPUHOG: Task is running for (2131)msecs, more than (2000)msecs (94/7),process = Logger.
-Traceback= 563C64 564D44 B6A5FC B697E0 B69EB0 B6E830 8D9B24 8D00EC
2y37w: %SYS-3-CPUHOG: Task is running for (4258)msecs, more than (2000)msecs (172/7),process = Logger.
-Traceback= 563C60 564D44 B6A5FC B697E0 B69EB0 B6E830 8D9B24 8D00EC
2y37w: %SYS-3-CPUHOG: Task is running for (2132)msecs, more than (2000)msecs (95/7),process = Logger.
-Traceback= 563C64 564D44 B6A5FC B697E0 B69EB0 B6E830 8D9B24 8D00EC
2y37w: %SYS-3-CPUHOG: Task is running for (4258)msecs, more than (2000)msecs (170/7),process = Logger.
-Traceback= 563C64 564D44 B6A5FC B697E0 B69EB0 B6E830 8D9B24 8D00EC
2y37w: %SYS-3-CPUHOG: Task is running for (2126)msecs, more than (2000)msecs (83/10),process = Logger.
-Traceback= 563C64 564D44 B6A5FC B697E0 B69EB0 B6E830 8D9B24 8D00EC
2y37w: %SYS-3-CPUHOG: Task is running for (4248)msecs, more than (2000)msecs (148/10),process = Logger.
-Traceback= 563C60 564D44 B6A5FC B697E0 B69EB0 B6E830 8D9B24 8D00EC
2y37w: %SYS-3-LOGGER_DROPPED: <notice>System dropped 30641 console debug messages.</notice>

Interface switching (Hidden command)

VIHCA-K20-03#<input>show interfaces switching</input>
Vlan1
          Throttle count          0
        Drops         RP          0         SP          0
  SPD Flushes       Fast          0        SSE          0
  SPD Aggress       Fast          0
 SPD Priority     Inputs          0      Drops          0

     Protocol       Path    Pkts In   Chars In   Pkts Out  Chars Out
           IP    Process       1314     136621         50       5708
            Cache misses          0
                    Fast        371      36936      58852    8542325
               Auton/SSE          0          0          0          0
          ARP    Process       5302     318120         34       2040
            Cache misses          0
                    Fast          0          0          0          0
               Auton/SSE          0          0          0          0
<notice>Output omitted...</notice>

MAC addresses

Many SVI's

VIHCA-K20-03#<input>sh int | i Vlan|bia</input>
Vlan1 is up, line protocol is up
  Hardware is EtherSVI, address is 001b.0c5d.42c0 (bia 001b.0c5d.42c0)
Vlan2 is up, line protocol is up
  Hardware is EtherSVI, address is 001b.0c5d.42c1 (bia 001b.0c5d.42c1)
Vlan4 is up, line protocol is up
  Hardware is EtherSVI, address is 001b.0c5d.42c2 (bia 001b.0c5d.42c2)
Vlan5 is up, line protocol is up
  Hardware is EtherSVI, address is 001b.0c5d.42c3 (bia 001b.0c5d.42c3)
Vlan6 is up, line protocol is up
  Hardware is EtherSVI, address is 001b.0c5d.42c4 (bia 001b.0c5d.42c4)
Vlan7 is up, line protocol is up
  Hardware is EtherSVI, address is 001b.0c5d.42c5 (bia 001b.0c5d.42c5)
Vlan10 is up, line protocol is up
  Hardware is EtherSVI, address is 001b.0c5d.42c6 (bia 001b.0c5d.42c6)
Vlan11 is up, line protocol is up
  Hardware is EtherSVI, address is 001b.0c5d.42c7 (bia 001b.0c5d.42c7)
Vlan12 is up, line protocol is up
  Hardware is EtherSVI, address is 001b.0c5d.42c8 (bia 001b.0c5d.42c8)
Vlan13 is up, line protocol is up
  Hardware is EtherSVI, address is 001b.0c5d.42c9 (bia 001b.0c5d.42c9)
Vlan14 is up, line protocol is up
  Hardware is EtherSVI, address is 001b.0c5d.42ca (bia 001b.0c5d.42ca)
Vlan15 is up, line protocol is up
  Hardware is EtherSVI, address is 001b.0c5d.42cb (bia 001b.0c5d.42cb)
Vlan16 is up, line protocol is up
  Hardware is EtherSVI, address is 001b.0c5d.42cc (bia 001b.0c5d.42cc)
Vlan17 is up, line protocol is up
  Hardware is EtherSVI, address is 001b.0c5d.42cd (bia 001b.0c5d.42cd)
Vlan18 is up, line protocol is up
  Hardware is EtherSVI, address is 001b.0c5d.42ce (bia 001b.0c5d.42ce)
Vlan19 is up, line protocol is up
  Hardware is EtherSVI, address is 001b.0c5d.42cf (bia 001b.0c5d.42cf)
Vlan21 is up, line protocol is up
  Hardware is EtherSVI, address is 001b.0c5d.42d0 (bia 001b.0c5d.42d0)
Vlan30 is up, line protocol is up
  Hardware is EtherSVI, address is 001b.0c5d.42d1 (bia 001b.0c5d.42d1)
Vlan31 is up, line protocol is up
  Hardware is EtherSVI, address is 001b.0c5d.42d2 (bia 001b.0c5d.42d2)
Vlan47 is up, line protocol is down
  Hardware is EtherSVI, address is 001b.0c5d.42d3 (bia 001b.0c5d.42d3)
Vlan48 is up, line protocol is up
  Hardware is EtherSVI, address is 001b.0c5d.42d4 (bia 001b.0c5d.42d4)
Vlan49 is up, line protocol is down
  Hardware is EtherSVI, address is 001b.0c5d.42d5 (bia 001b.0c5d.42d5)
Vlan50 is up, line protocol is up
  Hardware is EtherSVI, address is 001b.0c5d.42d6 (bia 001b.0c5d.42d6)
Vlan51 is up, line protocol is up
  Hardware is EtherSVI, address is 001b.0c5d.42d7 (bia 001b.0c5d.42d7)
Vlan52 is up, line protocol is up
  Hardware is EtherSVI, address is 001b.0c5d.42d8 (bia 001b.0c5d.42d8)
Vlan53 is up, line protocol is up
  Hardware is EtherSVI, address is 001b.0c5d.42d9 (bia 001b.0c5d.42d9)
Vlan54 is up, line protocol is up
  Hardware is EtherSVI, address is 001b.0c5d.42da (bia 001b.0c5d.42da)
Vlan55 is up, line protocol is up
  Hardware is EtherSVI, address is 001b.0c5d.42db (bia 001b.0c5d.42db)
Vlan56 is up, line protocol is up
  Hardware is EtherSVI, address is 001b.0c5d.42dc (bia 001b.0c5d.42dc)
Vlan58 is up, line protocol is up
  Hardware is EtherSVI, address is 001b.0c5d.42dd (bia 001b.0c5d.42dd)
Vlan59 is up, line protocol is up
  Hardware is EtherSVI, address is 001b.0c5d.42de (bia 001b.0c5d.42de)
Vlan61 is up, line protocol is up
  Hardware is EtherSVI, address is 001b.0c5d.42df (bia 001b.0c5d.42df)
Vlan62 is up, line protocol is up
  Hardware is EtherSVI, address is 001b.0c5d.42e0 (bia 001b.0c5d.42e0)
Vlan63 is up, line protocol is up
  Hardware is EtherSVI, address is 001b.0c5d.42e1 (bia 001b.0c5d.42e1)
Vlan64 is up, line protocol is up
  Hardware is EtherSVI, address is 001b.0c5d.42e2 (bia 001b.0c5d.42e2)
Vlan65 is up, line protocol is up
  Hardware is EtherSVI, address is 001b.0c5d.42e3 (bia 001b.0c5d.42e3)
Vlan67 is up, line protocol is up
  Hardware is EtherSVI, address is 001b.0c5d.42e4 (bia 001b.0c5d.42e4)
Vlan70 is up, line protocol is up
  Hardware is EtherSVI, address is 001b.0c5d.42e5 (bia 001b.0c5d.42e5)
Vlan71 is up, line protocol is up
  Hardware is EtherSVI, address is 001b.0c5d.42e6 (bia 001b.0c5d.42e6)
Vlan72 is up, line protocol is up
  Hardware is EtherSVI, address is 001b.0c5d.42e7 (bia 001b.0c5d.42e7)
Vlan73 is up, line protocol is up
  Hardware is EtherSVI, address is 001b.0c5d.42e8 (bia 001b.0c5d.42e8)
Vlan75 is up, line protocol is up
  Hardware is EtherSVI, address is 001b.0c5d.42e9 (bia 001b.0c5d.42e9)
Vlan76 is up, line protocol is up
  Hardware is EtherSVI, address is 001b.0c5d.42ea (bia 001b.0c5d.42ea)
Vlan77 is up, line protocol is up
  Hardware is EtherSVI, address is 001b.0c5d.42eb (bia 001b.0c5d.42eb)
Vlan78 is up, line protocol is up
  Hardware is EtherSVI, address is 001b.0c5d.42ec (bia 001b.0c5d.42ec)
Vlan79 is up, line protocol is down
  Hardware is EtherSVI, address is 001b.0c5d.42ed (bia 001b.0c5d.42ed)
Vlan80 is up, line protocol is up
  Hardware is EtherSVI, address is 001b.0c5d.42ee (bia 001b.0c5d.42ee)
Vlan81 is up, line protocol is up
  Hardware is EtherSVI, address is 001b.0c5d.42ef (bia 001b.0c5d.42ef)
Vlan82 is up, line protocol is up
  Hardware is EtherSVI, address is 001b.0c5d.42f0 (bia 001b.0c5d.42f0)
Vlan85 is up, line protocol is up
  Hardware is EtherSVI, address is 001b.0c5d.42f1 (bia 001b.0c5d.42f1)
Vlan86 is up, line protocol is up
  Hardware is EtherSVI, address is 001b.0c5d.42f2 (bia 001b.0c5d.42f2)
Vlan87 is up, line protocol is up
  Hardware is EtherSVI, address is 001b.0c5d.42f3 (bia 001b.0c5d.42f3)
Vlan88 is down, line protocol is down
  Hardware is EtherSVI, address is 001b.0c5d.42f4 (bia 001b.0c5d.42f4)
Vlan89 is up, line protocol is up
  Hardware is EtherSVI, address is 001b.0c5d.42f5 (bia 001b.0c5d.42f5)
Vlan90 is up, line protocol is up
  Hardware is EtherSVI, address is 001b.0c5d.42f6 (bia 001b.0c5d.42f6)
Vlan91 is up, line protocol is up
  Hardware is EtherSVI, address is 001b.0c5d.42f7 (bia 001b.0c5d.42f7)
Vlan92 is up, line protocol is up
  Hardware is EtherSVI, address is 001b.0c5d.42f8 (bia 001b.0c5d.42f8)
Vlan93 is up, line protocol is up
  Hardware is EtherSVI, address is 001b.0c5d.42f9 (bia 001b.0c5d.42f9)
Vlan94 is up, line protocol is up
  Hardware is EtherSVI, address is 001b.0c5d.42fa (bia 001b.0c5d.42fa)
Vlan95 is up, line protocol is up
  Hardware is EtherSVI, address is 001b.0c5d.42fb (bia 001b.0c5d.42fb)
Vlan96 is up, line protocol is up
  Hardware is EtherSVI, address is 001b.0c5d.42fc (bia 001b.0c5d.42fc)
Vlan99 is up, line protocol is down
  Hardware is EtherSVI, address is 001b.0c5d.42fd (bia 001b.0c5d.42fd)
Vlan100 is up, line protocol is up
  Hardware is EtherSVI, address is 001b.0c5d.42fe (bia 001b.0c5d.42fe)
Vlan116 is up, line protocol is up
  Hardware is EtherSVI, address is <notice>001b.0c5d.42ff</notice> (bia 001b.0c5d.42ff)
Vlan128 is up, line protocol is up
  Hardware is EtherSVI, address is <notice>001b.0c5d.42ff</notice> (bia 001b.0c5d.42ff)
Vlan138 is up, line protocol is up
  Hardware is EtherSVI, address is <notice>001b.0c5d.42ff</notice> (bia 001b.0c5d.42ff)
Vlan148 is up, line protocol is up
  Hardware is EtherSVI, address is <notice>001b.0c5d.42ff</notice> (bia 001b.0c5d.42ff)
Vlan500 is up, line protocol is up
  Hardware is EtherSVI, address is <notice>001b.0c5d.42ff</notice> (bia 001b.0c5d.42ff)
Vlan800 is up, line protocol is up
  Hardware is EtherSVI, address is 001b.0c5d.42ff (bia 001b.0c5d.42ff)
  Hardware is Fast Ethernet, address is 001b.0c5d.4283 (bia 001b.0c5d.4283)
  Hardware is Fast Ethernet, address is 001b.0c5d.4284 (bia 001b.0c5d.4284)
  Hardware is Fast Ethernet, address is 001b.0c5d.4285 (bia 001b.0c5d.4285)
  Hardware is Fast Ethernet, address is 001b.0c5d.4286 (bia 001b.0c5d.4286)
  Hardware is Fast Ethernet, address is 001b.0c5d.4287 (bia 001b.0c5d.4287)
  Hardware is Fast Ethernet, address is 001b.0c5d.4288 (bia 001b.0c5d.4288)
  Hardware is Fast Ethernet, address is 001b.0c5d.4289 (bia 001b.0c5d.4289)
  Hardware is Fast Ethernet, address is 001b.0c5d.428a (bia 001b.0c5d.428a)
  Hardware is Fast Ethernet, address is 001b.0c5d.428b (bia 001b.0c5d.428b)
  Hardware is Fast Ethernet, address is 001b.0c5d.428c (bia 001b.0c5d.428c)
  Hardware is Fast Ethernet, address is 001b.0c5d.428d (bia 001b.0c5d.428d)
  Hardware is Fast Ethernet, address is 001b.0c5d.428e (bia 001b.0c5d.428e)
  Hardware is Fast Ethernet, address is 001b.0c5d.428f (bia 001b.0c5d.428f)
  Hardware is Fast Ethernet, address is 001b.0c5d.4290 (bia 001b.0c5d.4290)
  Hardware is Fast Ethernet, address is 001b.0c5d.4291 (bia 001b.0c5d.4291)
  Hardware is Fast Ethernet, address is 001b.0c5d.4292 (bia 001b.0c5d.4292)
  Hardware is Fast Ethernet, address is 001b.0c5d.4293 (bia 001b.0c5d.4293)
  Hardware is Fast Ethernet, address is 001b.0c5d.4294 (bia 001b.0c5d.4294)
  Hardware is Fast Ethernet, address is 001b.0c5d.4295 (bia 001b.0c5d.4295)
  Hardware is Fast Ethernet, address is 001b.0c5d.4296 (bia 001b.0c5d.4296)
  Hardware is Fast Ethernet, address is 001b.0c5d.4297 (bia 001b.0c5d.4297)
  Hardware is Fast Ethernet, address is 001b.0c5d.4298 (bia 001b.0c5d.4298)
  Hardware is Fast Ethernet, address is 001b.0c5d.4299 (bia 001b.0c5d.4299)
  Hardware is Fast Ethernet, address is 001b.0c5d.429a (bia 001b.0c5d.429a)
  Hardware is Gigabit Ethernet, address is 001b.0c5d.4281 (bia 001b.0c5d.4281)
  Hardware is Gigabit Ethernet, address is 001b.0c5d.4282 (bia 001b.0c5d.4282)

acl statistics

VIHCA-K20-03#<input>show platform acl statistics 0</input>
 L2 ACL INPUT Statistics
     Drop:                       frame count: 0
     Drop:                       bytes count: 0
     Bridge Only:                frame count: 1057981
     Bridge Only:                bytes count: 79066981
     Forwarding To CPU:          frame count: 0
     Forwarding To CPU:          bytes count: 0

 L3 ACL INPUT Statistics
     Drop:                       frame count: 0
     Drop:                       bytes count: 0
     Bridge Only:                frame count: 0
     Bridge Only:                bytes count: 0
     Forwarding To CPU:          frame count: 0
     Forwarding To CPU:          bytes count: 0
     Forwarded:                  frame count: 275670086
     Forwarded:                  bytes count: 3075217887
     Drop And Log:               frame count: 0
     Drop And Log:               bytes count: 0
     Bridge Only And Log:        frame count: 0
     Bridge Only And Log:        bytes count: 0
     Forwarded And Log:          frame count: 0
     Forwarded And Log:          bytes count: 0
     IPv6 Drop:                  frame count: 0
     IPv6 Drop:                  bytes count: 0
     IPv6 Bridge Only:           frame count: 0
     IPv6 Bridge Only:           bytes count: 0
     IPv6 Forwarding To CPU:     frame count: 0
     IPv6 Forwarding To CPU:     bytes count: 0
     IPv6 Forwarded:             frame count: 6724
     IPv6 Forwarded:             bytes count: 993672
     IPv6 Drop And Log:          frame count: 0
     IPv6 Drop And Log:          bytes count: 0
     IPv6 Bridge Only And Log:   frame count: 0
     IPv6 Bridge Only And Log:   bytes count: 0
     IPv6 Forwarded And Log:     frame count: 0
     IPv6 Forwarded And Log:     bytes count: 0

 L2 ACL OUTPUT Statistics
     Drop:                       frame count: 0
     Drop:                       bytes count: 0
     Bridge Only:                frame count: 1151411
     Bridge Only:                bytes count: 87417057
     Forwarding To CPU:          frame count: 0
     Forwarding To CPU:          bytes count: 0

 L3 ACL OUTPUT Statistics
     Drop:                       frame count: 0
     Drop:                       bytes count: 0
     Bridge Only:                frame count: 0
     Bridge Only:                bytes count: 0
     Forwarding To CPU:          frame count: 0
     Forwarding To CPU:          bytes count: 0
     Forwarded:                  frame count: 272699583
     Forwarded:                  bytes count: 138445972
     Drop And Log:               frame count: 0
     Drop And Log:               bytes count: 0
     Bridge Only And Log:        frame count: 0
     Bridge Only And Log:        bytes count: 0
     Forwarded And Log:          frame count: 0
     Forwarded And Log:          bytes count: 0
     IPv6 Drop:                  frame count: 0
     IPv6 Drop:                  bytes count: 0
     IPv6 Bridge Only:           frame count: 0
     IPv6 Bridge Only:           bytes count: 0
     IPv6 Forwarding To CPU:     frame count: 0
     IPv6 Forwarding To CPU:     bytes count: 0
     IPv6 Forwarded:             frame count: 6744
     IPv6 Forwarded:             bytes count: 995443
     IPv6 Drop And Log:          frame count: 0
     IPv6 Drop And Log:          bytes count: 0
     IPv6 Bridge Only And Log:   frame count: 0
     IPv6 Bridge Only And Log:   bytes count: 0
     IPv6 Forwarded And Log:     frame count: 0
     IPv6 Forwarded And Log:     bytes count: 0

ACL usage

VIHCA-K20-03#<input>show platform acl usage 0</input>
IPV4/MAC ACL TCAM USAGE:
  ACL Type      Label      Entries Used

                Used        Available       Total
  Mask           22            490            512
  Value          22            490            512

IPV6 ACL TCAM USAGE:
  ACL Type      Label      Entries Used

                Used        Available       Total
  Mask            5            199            204
  Value           5            505            510

ARP Usage

Clear the counters and measure over a period if APR process spends to much time

VIHCA-K20-03#<input>show interfaces accounting</input>
Vlan1
                Protocol    Pkts In   Chars In   Pkts Out  Chars Out
                      IP    3009132  294105822  630174171  487243045
                     ARP    5882158  352929480     159542    9572520
Vlan2
                Protocol    Pkts In   Chars In   Pkts Out  Chars Out
                   Other      65609    3936540          0          0
                      IP 1195789610 1243603367  719479515 1325664786
                     ARP    3560083  215461480     874013   52440780
Vlan4
                Protocol    Pkts In   Chars In   Pkts Out  Chars Out
                   Other      63062    3783720          0          0
                      IP  127207810 3830015121   13557692  227018914
                     ARP    5815092  349749528     391925   23515500
Vlan5
                Protocol    Pkts In   Chars In   Pkts Out  Chars Out
                      IP     109302   13623415        171      20357
                     ARP      42552    2553120       9605     576300
Vlan6
                Protocol    Pkts In   Chars In   Pkts Out  Chars Out
                      IP      59334   20913986   91437251 2403752479
                     ARP       8426     505560       7921     475260
<notice>...Output omitted...</notice>

Broadcasts

VIHCA-K20-03#<input>show interfaces gi0/2 controller | inc broadcast</input>
     Received 64175342 broadcasts (0 multicast)

See also

Links