Skip to main content

Cflowd Definition

Cflowd monitors traffic flowing through Cisco IOS XE SD-WAN devices in the overlay network and exports flow information to a collector.

A Cflowd policy defines a configuration template used to define settings and parameters for collecting flow data from network traffic. A data policy that defines traffic match parameters and that includes the action "cflowd" is required to effectively export flow information based on the parameters defined by the Cflowd template.

Diagram

Classes

data_policy (sdwan.centralized_policies.definitions)

NameTypeConstraintMandatoryDefault Value
cflowdList[cflowd]No

cflowd (sdwan.centralized_policies.definitions.data_policy)

NameTypeConstraintMandatoryDefault Value
nameStringRegex: ^[A-Za-z0-9\-_]{1,127}$Yes
descriptionStringYes
active_flow_timeoutIntegermin: 30, max: 3600Yes
inactive_flow_timeoutIntegermin: 1, max: 3600Yes
sampling_intervalIntegermin: 1, max: 65536Yes
flow_refreshIntegermin: 60, max: 86400Yes
protocolChoiceipv4, ipv6, bothYes
tosBooleantrue, falseYes
remarked_dscpBooleantrue, falseYes
collectorsList[collectors]Yes

collectors (sdwan.centralized_policies.definitions.data_policy.cflowd)

NameTypeConstraintMandatoryDefault Value
vpnIntegermin: 0, max: 65527Yes
ip_addressIPYes
portIntegermin: 1024, max: 65535Yes
transportChoicetransport_tcp, transport_udpYes
source_interfaceStringYes
export_spreadingChoiceenable, disableYes

Examples

sdwan:
centralized_policies:
definitions:
data_policy:
cflowd:
- name: CFLOW_DEFINITION_TEST2
description: CFLOW_DEFINITION_TEST2
active_flow_timeout: 30
inactive_flow_timeout: 3600
sampling_interval: 30
flow_refresh: 60
protocol: ipv4
tos: true
remarked_dscp: true
collectors:
- vpn: 112
ip_address: 173.36.118.129
port: 2048
transport: transport_udp
source_interface: GigabitEthernet0
export_spreading: enable
- vpn: 101
ip_address: 173.36.118.130
port: 2048
transport: transport_udp
source_interface: GigabitEthernet1
export_spreading: enable