Displaying IPC Statistics for a Stack

To display IPC statistics for the stack, enter the show stack ipc stats command as shown in the following example.

Device# show stack ipc stats
V80, G4, src=748e.f8f9.6300, max_pkt_size=10264, delay_buf=10264
Recv: SkP0: 10823, P1: 12954, sum: 23777, since t=2163.7 ago
Message types have callbacks:
Send message types:
    [1]=9086,         [5]=10922,        [6]=3,            [7]=809,
    [9]=630,          [13]=209,         [22]=17,          [24]=644,
    [28]=29,          [31]=1880,        [40]=15,          [60]=4,
    [77]=130,
Recv message types:
    [1]= 0:3295, 1:4896,     [5]= 0:5269, 1:5622,     [6]= 0:1, 1:2,
    [7]= 0:398, 1:411,       [9]= 0:996, 1:1139,      [13]= 0:544, 1:559,
    [23]= 0:319, 1:325,      [34]= 0:1,

Statistics:
    send pkt num          :     24369,    recv pkt num          :     23777,
    send msg num          :     24369,    recv msg num          :     23777,
    send frag pkt num     :         0,    recv frag pkt num     :         0,
    pkt buf alloc         :     24376,                          :         0,
    send_delay_msg        :         0,    send_delay_pkt        :         0,
    fwd_stby_msg          :         0,    fwd_stby_pkt          :         0,

    Reliable-mail        send  success  receive   duplic  T (us)
    target ID               2        2        0        0    82226
    target MAC              0        0        0        0    82226
    unrel target ID         5                 0
    unrel target MAC        4                 0
There is 0 current jumbo IPC session

Possible errors:

The following table defines the output fields for the show stack ipc stats command.

Output Field Description
Vxx IPC Protocol Version
Gx IPC Group ID
src Source MAC address of egress IPC packets (MAC address of this unit).
max_pkt_size Maximum packet size allowed in network.
recv Total packets received.
SkP0 The number of packets received on socket pair 0
P1 The number of packets received on protocol 1.
sum The total number of packets received, (P1 + skP0).
since t = x Elapsed time used for sampling The time elapsed since the last reset of the statistics.
Send message types Totals for each type of message sent, displayed in the following format: [ x ] = total, where "x" represents the number of a message type from the Message types have callbacks list in the command output.
Recv message types Totals for each type of message received, displayed in the format [ x ] = total, where "x" represents the number of a message type from the Message types have callbacks list in the command output.
Statistics: Displays statistics on reliable Inter-processor Communications (IPC) communications that occur between stack units during a session.
send pkt num Total number of packets sent. One packet may contain multiple messages.
recv pkt num Total number of packets received. One packet may contain multiple messages.
recv msg num Total number of received messages related to Zero-touch interactive-setup (see list of types in output).
send pkt-msg num Total number of packets containing Zero-touch interactive-setup messages sent.
send msg num Total number of Zero-touch interactive-setup messages sent.
send frag pkt num Number of fragmented packets sent.
recv frag pkt num Number of fragmented packets received.
pkt buf alloc Packet buffer allocation size.
send_delay_msg Number of delay messages sent
send_delay_pkt Number of delay packets sent
fwd_stby_msg Number of standby messages forwarded
fwd_stby_pkt Number of standby packets forwarded
Reliable mail Reliable-mail messages are used for essential communications, for example, to assign unit IDs or reload the system.

Reliable-mail message statistics for specified target types:

  • send: number of reliable-mail messages sent
  • success: number of successful reliable-mail messages (sent and acknowledged)
  • receive: number of packets received
  • duplic: number of duplicate packets sent
  • T-us: Average time in milliseconds between packet transmission and receipt of acknowledgment

target MAC Number of reliable-mail messages sent using the MAC address as the target address. (Reliable-mail messages are re-transmitted until acknowledgment is received.)
unrel target MAC Number of unreliable-mail messages using the MAC address as the target address. (Unreliable-mail messages are sent only once.)
Possible errors: Warnings or errors detected, if any.