diff --git a/init/ipfixprobed b/init/ipfixprobed index 76fe95ae..1942f82f 100644 --- a/init/ipfixprobed +++ b/init/ipfixprobed @@ -70,7 +70,7 @@ if [ -e "$CONFFILE" ]; then if [[ $UDP == "yes" ]]; then UDP_PARAM="udp"; fi - output="-o ipfix;host=${HOST:-127.0.0.1};port=${PORT:-4739};id=${LINK:-0};dir=${DIR:-0};${UDP_PARAM}" + output="-o ipfix;host=${HOST:-127.0.0.1};port=${PORT:-4739};id=${LINK:-0};dir=${DIR:-0};${UDP_PARAM};template=${TEMPLATE_REFRESH_RATE:-300}" exec /usr/bin/ipfixprobe "${dpdkinput[@]}" $input $storage $process $output else diff --git a/init/link0.conf.example b/init/link0.conf.example index c444923b..8907ae43 100644 --- a/init/link0.conf.example +++ b/init/link0.conf.example @@ -174,3 +174,5 @@ PORT=4739 # Use UDP yes/no? (instead of TCP) UDP=yes +# Export ipfix template every N seconds (UDP) +TEMPLATE_REFRESH_RATE=300