Displaying KHI Control Processor Information

Display key health 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]] [,...]}]

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
--------- ----------------------------------- ------------ --------- --------- ------------ --------- ---------
1653 seconds since issuing the last KHI command.
2/2       Ether2_LLDP(3)                                 0         0         0         2233         1         0
2/2       LLC_BPDU(128)                                  0         0         0        33508        10         0
2/2       LLC_TDP(134)                               11100         4         0        11090         4         0
2/3       Ether2_LLDP(3)                                 0         0         0         2233        56         0
2/3       LLC_BPDU(128)                                 16         0         0        33504       837         0
2/3       LLC_TDP(134)                               11100       278         0        11090       278         0
2/4       Ether2_LLDP(3)                                 0         0         0         2233        56         0
2/4       LLC_BPDU(128)                                  2         0         0        33508       837         0
2/4       LLC_TDP(134)                               11100       278         0        11090       278         0

Variable Definitions

Use the data in the following table to use the show khi cpp port-statistics command.

Variable

Value

{slot/port[/sub-port] [-slot/port[/sub-port]] [,...]}

Identifies the slot and port in one of the following formats: a single slot and port (slot/port), a range of slots and ports (slot/port-slot/port), or a series of slots and ports (slot/port,slot/port,slot/port).