FD.io VPP
v21.01.1
Vector Packet Processing
|
Enable/Disable span to mirror traffic from one interface to another. More...
Data Fields | |
u32 | client_index |
u32 | context |
vl_api_interface_index_t | sw_if_index_from |
vl_api_interface_index_t | sw_if_index_to |
vl_api_span_state_t | state |
bool | is_l2 |
Enable/Disable span to mirror traffic from one interface to another.
client_index | - opaque cookie to identify the sender |
context | - sender context which was passed in the request |
sw_if_index_from | - interface to be mirrored |
sw_if_index_to | - interface where the traffic is mirrored |
state | - 0 = disabled, 1 = rx enabled, 2 = tx enabled, 3 tx & rx enabled |
is_l2 | - 0 = mirror at hw device level, 1 = mirror at L2 |
vl_api_span_state_t vl_api_sw_interface_span_enable_disable_t::state |
vl_api_interface_index_t vl_api_sw_interface_span_enable_disable_t::sw_if_index_from |
vl_api_interface_index_t vl_api_sw_interface_span_enable_disable_t::sw_if_index_to |