PurposeCommand or Action
Due to this behavior, when using a deterministic sampler, you can always
make sure the correct number of flows are sampled by comparing the
sampling rate and what the switch sends. If the same random sampler is
used with multiple interfaces, flows from an interface can always be
sampled, and the flows from other interfaces could be always skipped.
Returns to privileged EXEC mode.end
Example:
Switch(config-flow-sampler)# end
Step 5
(Optional) Displays information about NetFlow samplers.
show sampler [name]
Step 6
Example:
Switch show sample SampleTest
(Optional) Saves your entries in the configuration file.copy running-config startup-config
Example:
Switch# copy running-config
Step 7
startup-config
What to Do Next
Apply the flow monitor to a source interface or a VLAN.
Applying a Flow to an Interface
You can apply a flow monitor and an optional sampler to an interface.
SUMMARY STEPS
1.
configure terminal
2.
interface type
3.
{ip flow monitor | ipv6 flow monitor}name [|sampler name] { input |output }
4.
end
5.
show flow interface [interface-type number]
6.
copy running-config startup-config
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
529
How to Configure NetFlow Lite