Skip to content

Network Hierarchy Cflowd

Configure global cflowd (NetFlow) settings for the SD-WAN network hierarchy. This controls flow export parameters and collector destinations for network traffic visibility.

Diagram
NameTypeConstraintMandatoryDefault Value
cflowdClass[cflowd]No

cflowd (sdwan.network_hierarchy.collectors)

Section titled “cflowd (sdwan.network_hierarchy.collectors)”
NameTypeConstraintMandatoryDefault Value
serversList[servers]No
settingsClass[settings]No

servers (sdwan.network_hierarchy.collectors.cflowd)

Section titled “servers (sdwan.network_hierarchy.collectors.cflowd)”
NameTypeConstraintMandatoryDefault Value
addressAnyIP or IPYes
bfd_metrics_exportBooleantrue, falseNofalse
export_intervalIntegermin: 1, max: 86400No600
export_spreadBooleantrue, falseNofalse
udp_portIntegermin: 1024, max: 65535No4739
vpn_idIntegermin: 0, max: 65530Yes

settings (sdwan.network_hierarchy.collectors.cflowd)

Section titled “settings (sdwan.network_hierarchy.collectors.cflowd)”
NameTypeConstraintMandatoryDefault Value
collect_dscp_outputBooleantrue, falseNofalse
collect_tloc_loopbackBooleantrue, falseNofalse
collect_tosBooleantrue, falseNofalse
flow_active_timeoutIntegermin: 30, max: 3600No600
flow_inactive_timeoutIntegermin: 1, max: 3600No60
flow_refresh_timeIntegermin: 60, max: 86400No600
flow_sampling_intervalIntegermin: 1, max: 65536No1
protocolChoiceipv4, ipv6, bothNoipv4

Example-1: Basic cflowd with a single server. This example configures cflowd with default timeouts and a single server in VPN 1 and protocol is set to IPv4.

sdwan:
network_hierarchy:
collectors:
cflowd:
servers:
- vpn_id: 1
address: 10.0.0.1
udp_port: 4739
settings:
flow_active_timeout: 600
flow_inactive_timeout: 60
protocol: ipv4

Example-2: Full cflowd configuration with BFD metrics. This example enables all collection options including TOS, remarked DSCP, and TLOC loopback. Two collectors are configured — the first with BFD metrics export enabled.

sdwan:
network_hierarchy:
collectors:
cflowd:
servers:
- vpn_id: 1
address: 10.0.0.1
udp_port: 4739
export_spread: true
bfd_metrics_export: true
export_interval: 300
- vpn_id: 2
address: 10.0.0.2
udp_port: 9995
settings:
flow_active_timeout: 300
flow_inactive_timeout: 30
flow_refresh_time: 300
flow_sampling_interval: 10
collect_tloc_loopback: true
protocol: both
collect_tos: true
collect_dscp_output: true

Note: Upto 4 cflowd collector servers can be configured