https://wiki.fd.io/view/VPP/NAT#Enable_NAT_plugin_IPFIX_logging_example
You can also take a look at NAT plugin test https://gerrit.fd.io/r/gitweb?p=vpp.git;a=blob;f=test/test_nat.py;h=c64359a4db743ebf187c4198a12b2e3c80f5433d;hb=HEAD#l2646 Matus From: khers <s3m2e1.6s...@gmail.com> Sent: Wednesday, January 9, 2019 9:48 AM To: Matus Fabian -X (matfabia - PANTHEON TECHNOLOGIES at Cisco) <matfa...@cisco.com> Subject: Re: [SUSPECTED SPAM] [vpp-dev] IPFIX Nat Logging Dear Fabian, No. my collector don't receive any thing. I would appreciate if you could give me a valid config for ipfix logging. Warm Regards, On Mon, Jan 7, 2019 at 9:16 AM Matus Fabian -X (matfabia - PANTHEON TECHNOLOGIES at Cisco) <matfa...@cisco.com<mailto:matfa...@cisco.com>> wrote: Hi, Do you receive at least IPfix templates on collector? Matus From: khers <s3m2e1.6s...@gmail.com<mailto:s3m2e1.6s...@gmail.com>> Sent: Sunday, January 6, 2019 8:58 AM To: Matus Fabian -X (matfabia - PANTHEON TECHNOLOGIES at Cisco) <matfa...@cisco.com<mailto:matfa...@cisco.com>> Cc: vpp-dev <vpp-dev@lists.fd.io<mailto:vpp-dev@lists.fd.io>> Subject: Re: [SUSPECTED SPAM] [vpp-dev] IPFIX Nat Logging Hi, I tried that but I didn't get any log from IPFIX Thanks Regards On Wed, Jan 2, 2019 at 9:31 AM Matus Fabian -X (matfabia - PANTHEON TECHNOLOGIES at Cisco) <matfa...@cisco.com<mailto:matfa...@cisco.com>> wrote: Hi, IPfix events are aggregated, to send it immediately use “ipfix flush" Matus From: vpp-dev@lists.fd.io<mailto:vpp-dev@lists.fd.io> <vpp-dev@lists.fd.io<mailto:vpp-dev@lists.fd.io>> On Behalf Of emma sdi Sent: Tuesday, December 25, 2018 1:49 PM To: vpp-dev <vpp-dev@lists.fd.io<mailto:vpp-dev@lists.fd.io>> Subject: [SUSPECTED SPAM] [vpp-dev] IPFIX Nat Logging Dear Vpp, I'd just configured a simple snat to check logging nat with IPFIX.I have a router which vpp installed and two debian machines which one of them is IPFIX collector. Here it is the topology: https://paste.ubuntu.com/p/Hb9vpPhq67/ The IPFIX collector software is nfcapd. I defined a ip pool with range 40.40.40.40-40.40.40.254: nat44 add address 40.40.40.40 - 40.40.40.254 The interface of vpp side has ip 10.10.10.208 and the interface of collector side has ip 10.10.10.205 I defined ipfix collector with this command: set ipfix exporter collector 10.10.10.205 src 10.10.10.208 I enabled nat ipfix logging with this command: nat ipfix logging The ipfix collector software in client1 is ran with this command: nfcapd -l /root/log/ -E I send ping from client1 to client2 . The ping has echo and reply and the natting process is done as I send the output of vpp trace here: https://paste.ubuntu.com/p/HkMqSXy5tN/ But there aren't any IPFIX log on the output of nfcapd. Could you please tell me what should I do for collecting nat logs with IPFIX. Thanks Regards
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#11879): https://lists.fd.io/g/vpp-dev/message/11879 Mute This Topic: https://lists.fd.io/mt/28911869/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-