Uploaded image for project: 'vpp'
  1. vpp
  2. VPP-2003

flowprobe feature for both ip4 and ip6

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Medium Medium
    • None
    • None
    • flowprobe plugin
    • None

      Dear all,

      I am trying to enable IPFIX export for both IPv4 and IPv6.

      Here my startup-config for VPP 21.10 running in QEMU CentOS 8 VM

      set interface state GigabitEthernet0/5/0 up
      set interface ip address GigabitEthernet0/5/0 10.2.2.2/24
      set interface ip address GigabitEthernet0/5/0 2001:db8:2::2/64
      set ipfix exporter collector 10.2.2.1 src 10.2.2.2 template-interval 20 path-mtu 1450
      flowprobe params record l2 l3 l4 active 20 passive 120
      flowprobe feature add-del GigabitEthernet0/5/0

      With this config only flowprobe-ip4 feature set

      vpp# show interface features GigabitEthernet0/5/0
      Feature paths configured on GigabitEthernet0/5/0...
      ip6-output:
      none configured
      ip4-output:
      flowprobe-ip4

      If I try to add ip6 this command failed

      vpp# flowprobe feature add-del GigabitEthernet0/5/0 ip6
      flowprobe feature add-del: Interface has enable different datapath ...

      Only IPv4 shown in flowprobe table

      vpp# show flowprobe table
      Dumping IPFIX table
      0/2 00:0c:29:d3:5a:02 00:16:3e:00:00:02 10.2.2.2 -> 10.2.2.1 1 0 0

      If I change startup-config with

      flowprobe feature add-del GigabitEthernet0/5/0 ip4 ip6

      then only flowprobe-ip6 feature added

      vpp# show interface features GigabitEthernet0/5/0
      Feature paths configured on GigabitEthernet0/5/0...
      ip6-output:
      flowprobe-ip6
      ip4-output:
      none configured

      vpp# flowprobe feature add-del GigabitEthernet0/5/0 ip4
      flowprobe feature add-del: Interface has enable different datapath ...

      vpp# show flowprobe table
      Dumping IPFIX table
      0/2 00:0c:29:d3:5a:02 33:33:ff:00:00:01 2001:db8:2::2 -> ff02::1:ff00:1 58 0 0
      0/2 00:0c:29:d3:5a:02 33:33:00:00:00:16 fe80::20c:29ff:fed3:5a02 -> ff02::16 0 0 0
      0/2 00:0c:29:d3:5a:02 33:33:00:00:00:01 fe80::20c:29ff:fed3:5a02 -> ff02::1 58 0 0
      2/2 00:0c:29:d3:5a:02 00:16:3e:00:00:02 2001:db8:2::2 -> 2001:db8:2::1 58 0 0

      Is it possible to setup IPFIX export for both IPv4 and IPv6?

      Thanks

            Unassigned Unassigned
            nucleo nucleo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: