summaryrefslogtreecommitdiffstats
path: root/src/vlibmemory/vlib_api_cli.c
AgeCommit message (Expand)AuthorFilesLines
2021-06-16api: remove custom dumpFilip Tehlar1-32/+3
2020-12-14misc: move to new pool_foreach macrosDamjan Marion1-3/+3
2020-05-15misc: removed executable bits from source filesRay Kinsella1-0/+0
2020-04-22api: 'api trace' CLI consumes a line of inputNeale Ranns1-16/+22
2020-04-22misc: asan: do not poison memory after munmap()Benoît Ganne1-5/+0
2020-02-12api: do not truncate api dump file sizeBenoît Ganne1-1/+1
2020-01-23api: mark api_trace_command_fn thread-safeDave Barach1-1/+20
2019-12-17misc: address sanitizer: fix instrumentationBenoît Ganne1-0/+8
2019-12-10api: multiple connections per processDave Barach1-10/+10
2019-09-16api: autogenerate api trace print/endianOle Troan1-1/+2
2019-08-08api: vppapitrace JSON/API trace converterOle Troan1-28/+33
2019-06-12infra: fix minor memory leak in "api trace..."Dave Barach1-5/+8
2019-04-05make the output of "show api dump file <filename> compare-current" doxygen-fr...Andrew Yourtchenko1-5/+9
2019-04-05vlib: fix "foo_msg" and "foo_msg_reply" in API message table triggering the "...Andrew Yourtchenko1-2/+2
2019-03-21api trace: cli bug fixezkexma1-2/+2
2018-10-23c11 safe string handling supportDave Barach1-1/+1
2018-06-26Fix api trace replay of handler to pass vm parameterJohn Lo1-2/+2
2018-04-18typo fix: UNKOWN -> UNKNOWNAndrey "Zed" Zaikin1-1/+1
2018-01-09api: refactor vlibmemoryFlorin Coras1-0/+1209
ing Enable/Disable SPAN (API) ^^^^^^^^^^^^^^^^^^^^^^^^^ SPAN supports the following API configuration command: sw_interface_span_enable_disable src GigabitEthernet0/8/0 dst GigabitEthernet0/9/0 sw_interface_span_enable_disable src_sw_if_index 1 dst_sw_if_index 2 src/src_sw_if_index: mirrored interface name dst/dst_sw_if_index: monitoring interface name Remove SPAN entry (API) ^^^^^^^^^^^^^^^^^^^^^^^ SPAN supports the following API configuration command: sw_interface_span_enable_disable src_sw_if_index 1 dst_sw_if_index 2 disable src_sw_if_index: mirrored interface name dst_sw_if_index: monitoring interface name Configuration example ~~~~~~~~~~~~~~~~~~~~~ Mirror all packets on interface GigabitEthernet0/10/0 to interface GigabitEthernet0/11/0. Configure IPv4 addresses on mirrored interface: set interface ip address GigabitEthernet0/10/0 192.168.1.13/24 set interface state GigabitEthernet0/10/0 up Configure IPv4 addresses on monitoring interface: set interface ip address GigabitEthernet0/11/0 192.168.2.13/24 set interface state GigabitEthernet0/11/0 up Configure SPAN set span src GigabitEthernet0/10/0 dst GigabitEthernet0/11/0 Operational data ~~~~~~~~~~~~~~~~ Active SPAN mirroring CLI show command: show interfaces span Active SPAN mirroring API dump command: sw_interface_span_dump