Common Configuration Tasks
728 Router Configuration Guide
Since a filter can be applied to more than one interface (when configured with a scope 
template), the interface-disable-sample option is intended to enable or disable traffic 
sampling on an interface-by-interface basis. The command can be enabled or disabled as 
needed instead creating numerous filter versions.
To enable for filter traffic sampling, the following requirements must be met:
1. Cflowd must be enabled globally.
2. At least one cflowd collector must be configured and enabled.
3. On the IP interface being used, the interface>cflowd acl option must be selected. 
(See Interface Configuration) For configuration information, refer to the IP Router 
Configuration Overview section of the Router Configuration Guide.
4. On the IP filter being used, the entry>filter-sample option must be explicitly 
enabled for the entries matching the traffic that should be sampled. The default is no 
filter-sample. (See Filter Configuration for more information). 
5. The filter must be applied to a service or a network interface. The service or port must 
be enabled and operational.
Filter Configurations
CLI Syntax: config>filter>ip-filter>entry#
[no] filter-sample
[no] interface-disable-sample
When a filter policy is applied to a service or a network interface, sampling can be configured 
so that traffic matching the associated IP filter entry is sampled when the IP interface is set to 
cflowd ACL mode and the filter-sample command is enabled. If cflowd is either not enabled 
(no filter-sample) or set to the cflowd interface mode, then sampling does not occur.
When the interface-disable-sample command is enabled, then traffic matching the 
associated IP filter entry is not sampled if the IP interface is set to cflowd ACL mode.
Dependencies
In order for cflowd to be operational, the following requirements must be met:
• Cflowd must be enabled on a global level. If cflowd is disabled, any traffic sampling 
instances are also disabled.
• At least one collector must be configured and enabled in order for traffic sampling to 
occur on an enabled entity.