Skip to content

Latest commit

 

History

History
28 lines (23 loc) · 706 Bytes

ios-xr-netflow-template.md

File metadata and controls

28 lines (23 loc) · 706 Bytes

IOS XR Netflow Template

Template

{% hint style="info" %} Some platforms do not support egress netflow. {% endhint %}

flow exporter-map {{ NF_EXPORTER_MAP_NAME }}
 version v9
 transport udp {{ NF_DST_PORT }}
 source {{ NF_SOURCE_INTERFACE }}
 destination {{ NF_DST_IP }}
!
flow monitor-map {{ NF_MONITOR_MAP_NAME }}
 record ipv4
 exporter {{ NF_EXPORTER_MAP_NAME }}
 cache entries {{ NF_CACHE_ENTRIES }}
!
sampler-map {{ NF_SAMPLER_MAP_NAME }}
 random 1 out-of {{ NF_SAMPLING_INTERVAL }}

interface {{ IFACE }}
 flow ipv4 monitor {{ NF_MONITOR_MAP_NAME }} sampler {{ NF_SAMPLER_MAP_NAME }} ingress
 flow ipv4 monitor {{ NF_MONITOR_MAP_NAME }} sampler {{ NF_SAMPLER_MAP_NAME }} egress