When cflowd is enabled on an interface, all packets forwarded by the interface are subject to analysis according to the global cflowd configuration and sorted according to the collector configurations.
See Table: Cflowd configuration dependencies for configuration combinations.
When the cflowd-parameters sampling unicast type interface option is configured in the config>router>if context, the following requirements must be met to enable traffic sampling on the interface:
Cflowd must be enabled.
At least one cflowd collector must be configured and enabled.
The configure router interface cflowd-parameters sampling {unicast | multicast} type {acl | interface} [direction {ingress-only | egress-only | both}] command must be performed. By default, the direction is ingress-only.
To prevent specific types of traffic from being sampled when interface sampling is enabled, use the interface-disable-sample command in the config>filter>ip-filter or config>filter>ipv6-filter context. The filter must be applied to the service or network interface on which the traffic to be omitted is to ingress the system.