Skip to main content
Cisco SD-WAN
Support
Product Documentation
Viptela Documentation

cflowd-template

policy cflowd-template—Create a template that defines the location of cflowd collectors, how often sets of sampled flows should be sent to the collectors, and how often the cflowd template should be sent to the collectors (on vSmart controllers only). You can configure a maximum of four cflowd collectors per vEdge router. To have a template take effect, apply it with the appropriate data policy.

You must configure at leaset one cflowd-template, but it need not contain any parameters. With no parameters, the data flow cache on vEdge nodes is managed using default settings, and no flow export occurs.

vManage Feature Template

For vSmart controllers:

Configuration ► Policies ► Centralized Policy

Command Hierarchy

policy
  cflowd-template template-name 
    collector vpn vpn-id address ip-address port port-number transport transport-type
      source-interface interface-name
    flow-active-timeout seconds 
    flow-inactive-timeout seconds
    flow-sampling-interval number
    template-refresh seconds  
apply-policy 
  site-list list-name  
    data-policy policy-name  
    cflowd-template template-name  

Options

Template Name
template-name
Name of the template.

Operational Commands

clear app cflowd flow-all (on vEdge routers only)
clear app cflowd flows (on vEdge routers only)
clear app cflowd statistics (on vEdge routers only)
show running-config policy (on vSmart controllers only)
show app cflowd collector (on vEdge routers only)
show app cflowd flow-count (on vEdge routers only)
show app cflowd flows (on vEdge outers only)
show app cflowd statistics (on vEdge routers only)
show app cflowd template (on vEdge routers only)
show policy from-vsmart (on vEdge routers only)

Example

Configure a cflowd flow collection template, and apply it to a group of sites in the overlay network:

vSmart# show running-config policy  
cflowd-template test-cflowd-template
 collector vpn 1 address 172.16.255.14 port 11233
 flow-active-timeout 60
 flow-inactive-timeout 90
 flow-sampling-interval 64
 template-refresh 120
!
vSmart# show running-config apply-policy  
apply-policy
 site-list site-list-for-cflowd
  data-policy     policy-for-cflowd
  cflowd-template test-cflowd-template
 !
!

Release Information

Command introduced in Viptela Software Release 14.3.​

Additional Information

See the Traffic Monitoring with Cflowd article for your software release.

  • Was this article helpful?