FD.io VPP  v17.01-9-ge7dcee4
Vector Packet Processing
VLIB application library

clear

Summary/usage

Clear commands.

Declaration and implementation

Declaration: vlib_cli_clear_command (vlib/vlib/cli.c line 53)

clear errors

Summary/usage

Clear error counters.

Declaration and implementation

Declaration: cli_clear_error_counters (vlib/vlib/error.c line 317)

Implementation: clear_error_counters.

clear node counters

Summary/usage

Clear node counters.

Declaration and implementation

Declaration: cli_clear_node_counters (vlib/vlib/error.c line 325)

Implementation: clear_error_counters.

clear runtime

Summary/usage

Clear packet processing runtime statistics.

Declaration and implementation

Declaration: clear_node_runtime_command (vlib/vlib/node_cli.c line 447)

Implementation: clear_node_runtime.

clear trace

Summary/usage

Clear trace buffer and free memory.

Declaration and implementation

Declaration: clear_trace_cli (vlib/vlib/trace.c line 526)

Implementation: cli_clear_trace_buffer.

event-logger clear

Summary/usage

Clear the event log.

Declaration and implementation

Declaration: elog_clear_cli (vlib/vlib/main.c line 665)

Implementation: vlib_cli_elog_clear.

event-logger resize

Summary/usage

event-logger resize <nnn>.

Declaration and implementation

Declaration: elog_resize_cli (vlib/vlib/main.c line 781)

Implementation: elog_resize.

event-logger restart

Summary/usage

Restart the event-logger.

Declaration and implementation

Declaration: elog_restart_cli (vlib/vlib/main.c line 751)

Implementation: elog_restart.

event-logger save

Summary/usage

event-logger save <filename> (saves log in /tmp/<filename>).

Declaration and implementation

Declaration: elog_save_cli (vlib/vlib/main.c line 711)

Implementation: elog_save_buffer.

event-logger stop

Summary/usage

Stop the event-logger.

Declaration and implementation

Declaration: elog_stop_cli (vlib/vlib/main.c line 731)

Implementation: elog_stop.

memory-trace

Summary/usage

Enable/disable memory allocation trace.

Declaration and implementation

Declaration: enable_disable_memory_trace_command (vlib/vlib/cli.c line 691)

Implementation: enable_disable_memory_trace.

set

Summary/usage

Set commands.

Declaration and implementation

Declaration: vlib_cli_set_command (vlib/vlib/cli.c line 61)

show

Summary/usage

Show commands.

Declaration and implementation

Declaration: vlib_cli_show_command (vlib/vlib/cli.c line 45)

show cpu

Summary/usage

Show cpu information.

Description

Displays various information about the CPU.

Example usage
vpp# show cpu
Model name:               Intel(R) Xeon(R) CPU E5-2667 v4 @ 3.20GHz
Microarchitecture:        Broadwell (Broadwell-EP/EX)
Flags:                    sse3 ssse3 sse41 sse42 avx avx2 aes
Base Frequency:           3.20 GHz

Declaration and implementation

Declaration: show_cpu_command (vlib/vlib/cli.c line 663)

Implementation: show_cpu.

show errors

Summary/usage

Show error counts.

Declaration and implementation

Declaration: cli_show_errors (vlib/vlib/error.c line 283)

Implementation: show_errors.

show event-logger

Summary/usage

Show event logger info.

Declaration and implementation

Declaration: elog_show_cli (vlib/vlib/main.c line 840)

Implementation: elog_show_buffer.

show frame-queue

Summary/usage

show frame-queue trace.

Declaration and implementation

Declaration: cmd_show_frame_queue_trace (vlib/vlib/threads_cli.c line 418)

Implementation: show_frame_queue_trace.

show frame-queue histogram

Summary/usage

show frame-queue histogram.

Declaration and implementation

Declaration: cmd_show_frame_queue_histogram (vlib/vlib/threads_cli.c line 426)

Implementation: show_frame_queue_histogram.

show memory

Summary/usage

Show current memory usage.

Declaration and implementation

Declaration: show_memory_usage_command (vlib/vlib/cli.c line 630)

Implementation: show_memory_usage.

show node counters

Summary/usage

Show node counters.

Declaration and implementation

Declaration: cli_show_node_counters (vlib/vlib/error.c line 291)

Implementation: show_errors.

show runtime

Summary/usage

Show packet processing runtime.

Declaration and implementation

Declaration: show_node_runtime_command (vlib/vlib/node_cli.c line 389)

Implementation: show_node_runtime.

show threads

Summary/usage

Show threads.

Declaration and implementation

Declaration: show_threads_command (vlib/vlib/threads_cli.c line 154)

Implementation: show_threads_fn.

show trace

Summary/usage

Show trace buffer [max COUNT].

Declaration and implementation

Declaration: show_trace_cli (vlib/vlib/trace.c line 359)

Implementation: cli_show_trace_buffer.

show vlib frame-allocation

Summary/usage

Show node dispatch frame statistics.

Declaration and implementation

Declaration: show_frame_stats_cli (vlib/vlib/main.c line 269)

Implementation: show_frame_stats.

show vlib graph

Summary/usage

Show packet processing node graph.

Declaration and implementation

Declaration: show_node_graph_command (vlib/vlib/node_cli.c line 84)

Implementation: show_node_graph.

test

Summary/usage

Test commands.

Declaration and implementation

Declaration: vlib_cli_test_command (vlib/vlib/cli.c line 69)

test elog sample

Summary/usage

test elog sample.

Declaration and implementation

Declaration: test_elog_command (vlib/vlib/elog_samples.c line 109)

Implementation: test_elog_command_fn.

test frame-queue nelts

Summary/usage

test frame-queue nelts (4,8,16,32).

Declaration and implementation

Declaration: cmd_test_frame_queue_nelts (vlib/vlib/threads_cli.c line 493)

Implementation: test_frame_queue_nelts.

test frame-queue threshold

Summary/usage

test frame-queue threshold N (0=no limit).

Declaration and implementation

Declaration: cmd_test_frame_queue_threshold (vlib/vlib/threads_cli.c line 565)

Implementation: test_frame_queue_threshold.

test heap-validate

Summary/usage

<on/off/now> validate heap on future allocs/frees or right now.

Declaration and implementation

Declaration: cmd_test_heap_validate (vlib/vlib/cli.c line 753)

Implementation: test_heap_validate.

test sleep

Summary/usage

Sleep for 10 seconds.

Declaration and implementation

Declaration: ping_command (vlib/vlib/cli.c line 785)

Implementation: sleep_ten_seconds.

trace

Summary/usage

Packet tracer commands.

Declaration and implementation

Declaration: trace_cli_command (vlib/vlib/trace.c line 174)

trace add

Summary/usage

Trace given number of packets.

Declaration and implementation

Declaration: add_trace_cli (vlib/vlib/trace.c line 410)

Implementation: cli_add_trace_buffer.

trace filter

Summary/usage

filter trace output - include NODE COUNT | exclude NODE COUNT | none.

Declaration and implementation

Declaration: filter_trace_cli (vlib/vlib/trace.c line 510)

Implementation: cli_filter_trace.

trace frame-queue

Summary/usage

trace frame-queue (on|off).

Declaration and implementation

Declaration: cmd_trace_frame_queue (vlib/vlib/threads_cli.c line 236)

Implementation: trace_frame_queue.