From the customer:
Dear VyOS team,
we wanted to test the new ipfix feature for VPP on VyOS rolling.Currently, Unfortunately we encounteredwhen configuring IPFIX flowprobe features on a bug.ond interface, Once you set a bond interface as direction and flow-variant like this:
```
set vpp ipfix active-timeout ‘20’
set vpp ipfix collector 192.168.180.68 path-mtu ‘1450’
set vpp ipfix collector 192.168.180.68 port ‘2100’
set vpp ipfix collector 192.168.180.68 source-address ‘192.168.181.209’
set vpp ipfix collector 192.168.180.68 template-interval ‘20’
set vpp ipfix flowprobe-record ‘l3’
set vpp ipfix inactive-timeout ‘120’
set vpp ipfix interface bond1 direction ‘both’
set vpp ipfix interface bond1 flow-variant ‘ipv4’the mapping between the VyOS interface name (bond1) and the actual VPP interface name (BondEthernet1) does not occur.
As a result, the IPFIX feature is not applied to the bonded interface inside VPP.
This configuration works as intended for ordinary Ethernet interfaces (e.g., eth1), but fails for bond interfaces.
Configuration:
```
the bond1 interface will not be translated to VPP interface BondEthernet1 and therefore it does not add the feature inside VPP.
It should look like this:
```
#vppctl show flowprobe feature
BondEthernet1 ip4 rx tx
```
but instead it shows nothing. Only if you use a single ethernet interface `set vpp ipfix interface eth1 direction both` it will show up (I guess because kernel interface eth1 is named the same as in VPP interface naming). So the mapping seems to be not correct. Adding it manually via sudo vppctl flowprobe feature add-del BondEthernet1 ip4 both works as intended.
This is our VPP config:
```
set vpp interfaces bonding bond1 hash-policy ‘layer3+4’
set vpp interfaces bonding bond1 kernel-interface ‘vpptun0’set vpp settings interface eth0 driver dpdk
set vpp settings interfaces bonding bond1 member eth1 driver dpdk
set vpp interface ‘eth4’s bonding bond1 hash-policy layer3+4
set vpp interfaces bonding bond1 member kernel-interface ‘eth5’vpptun0
set vpp interfaces bonding bond1 mode ‘802.3ad’member interface eth0
set vpp kernel-interfaces vpptun0 address ‘192.168.181.209/25’bonding bond1 member interface eth1
set vpp kernel-interfaces vpptun0 mtu ‘1500’bonding bond1 mode 802.3ad
set vpp settings buffers buffers-per-numa ‘65536’kernel-interfaces vpptun0 address 192.168.181.209/25
set vpp settings cpu main-core ‘0’kernel-interfaces vpptun0 mtu 1500
set vpp ipfix active-timeout 20
set vpp settings cpu workers ‘4’ipfix collector 192.168.180.68 path-mtu 1450
set vpp settings interface eth4 dpdk-options num-rx-queues ‘4’ipfix collector 192.168.180.68 port 2100
set vpp settings interface eth4 driver ‘dpdk’ipfix collector 192.168.180.68 source-address 192.168.181.209
set vpp settings interface eth5 dpdk-options num-rx-queues ‘4’ipfix collector 192.168.180.68 template-interval 20
set vpp settings interface eth5 driver ‘dpdk’ipfix flowprobe-record l3
set vpp settings lcp netlink rx-buffer-size ‘536870912’ipfix inactive-timeout 120
set vpp settings memory main-heap-size ‘4G’ipfix interface bond1 direction both
set vpp settings statseg size ‘256M’ipfix interface bond1 flow-variant ipv4
```