Display KHI Control Processor Information

Display information about the type of packets and protocols received on a port. This command helps debug high CPU utilization issues.

About this task

You can use the packets-per-second information in the output to identify where the bulk of packets destined for the CPU enter the switch.

Procedure

  1. To enter User EXEC mode, log on to the switch.
  2. Display statistics for control packets that go to the control processor:

    show khi cpp port-statistics [{slot/port[/sub-port][-slot/port[/sub-port]][,...][slot/all][all]}]

  3. Display port statistics for SPBM internal ports:

    show khi cpp port-statistics spbm-internal-ports [rx | tx]

Example

Switch:1>show khi cpp port-statistics 
===============================================================================================================
         KHI CPP Details - Port Statistics
===============================================================================================================
Port      Packet Type                           Rx Packets   Rx Diff    Rx Pps   Tx Packets   Tx Diff    Tx Pps
--------- ----------------------------------- ------------ --------- --------- ------------ --------- ---------
347 seconds since issuing the last KHI command.
1/2       Ether2_LLDP(3)                                 0         0         0          522        12         0
1/2       Ether2_ARP_Request(10)                        18         0         0         3706        48         0
1/2       Ether2_ARP_Other(11)                         104         0         0           18         0         0
1/2       Ether2_Ipv4_Other(19)                         20         0         0            0         0         0
1/2       LLC_BPDU(93)                                   0         0         0         7811       174         0
1/2       LLC_TDP(94)                                    0         0         0         2594        58         0
1/12      Ether2_LLDP(3)                               521        12         0          521        12         0
1/12      LLC_TDP(94)                                 2598        58         0         2594        58         0
1/12      LLC_ISIS(95)                                3105        69         0         3151        69         0
1/13      Ether2_LLDP(3)                               521        12         0          521        12         0
1/13      Ether2_ARP_Request(10)                      3121        69         0         3126        70         0
1/13      Ether2_ARP_Other(11)                        3123        70         0         3121        69         0
1/13      Ether2_IPv4_UDP_Other(16)                   3236        69         0            0         0         0
1/13      LLC_TDP(94)                                 2592        58         0         2594        58         0
1/13      LLC_ISIS(95)                                   0         0         0         3176        68         0
1/14      Ether2_LLDP(3)                               521        12         0          521        12         0
1/14      Ether2_ARP_Request(10)                        42         1         0           26         0         0
1/14      Ether2_ARP_Other(11)                          24         0         0            0         0         0
1/14      LLC_TDP(94)                                 2594        60         0         2596        58         0
1/23      Ether2_LLDP(3)                               520        12         0          521        12         0
1/23      LLC_TDP(94)                                    0         0         0         2596        58         0
1/24      Ether2_LLDP(3)                                 0         0         0          521        12         0
1/24      LLC_TDP(94)                                    0         0         0         2596        58         0
1/s1      Ether2_ARP_Request(10)                       853        20         0         3140        72         0
1/s1      Ether2_ARP_Other(11)                        3114        72         0          853        20         0
1/s1      Ether2_IPv4_UDP_Other(16)                   3781        92         0            0         0         0
1/s1      LLC_BPDU(93)                                   0         0         0         7816       179         0
1/s1      LLC_ISIS(95)                                   0         0         0         3784        93         0