Skip to content

API Trace

Ondrej Fabry edited this page Jul 3, 2019 · 1 revision

All api/trace VPP CLI commands in vppctl:

vppctl ? | grep -iE 'trace|api'                                                                                                                                                                                                                                                   
  api trace                                api trace [on|off][first <n>][last <n>][status][free][post-mortem-on][dump|custom-dump|save|replay <file>]
  binary-api                               binary-api [help] <name> [<args>]
  clear api histogram                      clear api histogram
  clear ioam-trace profile                 clear ioam-trace profile [<index>|all]
  clear trace                              Clear trace buffer and free memory
  create nsh entry                         create nsh entry {nsp <nn> nsi <nn>} [ttl <nn>] [md-type <nn>]  [c1 <nn> c2 <nn> c3 <nn> c4 <nn>] [tlv-ioam-trace] [del]
  elog trace                               elog trace [api][cli][barrier][dispatch]
  memory-trace                             memory-trace on|off [api-segment][stats-segment][main-heap]
  pcap dispatch trace                      pcap dispatch trace [on|off] [max <nn>] [file <name>] [status]
              [buffer-trace <input-node-name> <nn>]
  pcap drop trace                          pcap drop trace on off max <nn> intfc <intfc> file <name> status
  pcap rx trace                            pcap rx trace [on|off] [max <nn>] [intfc <interface>|any] [file <name>] [status]
  pcap tx trace                            pcap tx trace [on|off] [max <nn>] [intfc <interface>|any] [file <name>] [status]
  set api-trace                            API trace [on][on tx][on rx][off][free][debug on][debug off]
  set ioam rewrite                         set ioam [trace] [pot] [seqno] [analyse]
  set ioam-trace profile                   set ioam-trace              trace-type <0x1f|0x3|0x9|0x11|0x19> trace-elts <nn> trace-tsp <0|1|2|3>              node-id <node id in hex> app-data <app_data in hex>
  set vxlan-gpe-ioam rewrite               set vxlan-gpe-ioam [trace] [pot] [ppc <encap|decap>]
  show api clients                         Client information
  show api dump                            show api dump file <filename> [numeric | compare-current]
  show api histogram                       show api histogram
  show api message-table                   Message Table
  show api plugin                          show api plugin
  show api ring-stats                      Message ring statistics
  show api trace-status                    Display API trace status
  show frame-queue                         show frame-queue trace
  show ioam nsh-lisp-gpe trace             iOAM trace statistics
  show ioam trace                          iOAM trace statistics
  show ioam vxlan-gpe trace                iOAM trace statistics
  show ioam-trace profile                  show ioam-trace profile
  show memory                              show memory [api-segment][stats-segment][verbose]
  show session fifo trace                  show session fifo trace <session>
  show tcp scoreboard trace                show tcp scoreboard trace <connection>
  show trace                               Show trace buffer [max COUNT]
  trace add                                Trace given number of packets
  trace filter                             filter trace output - include NODE COUNT | exclude NODE COUNT | none
  trace frame-queue                        trace frame-queue (on|off)

Clone this wiki locally