Purpose
Command 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
Summary of Contents for Catalyst 2960 Series
Page 96: ......
Page 196: ......
Page 250: ......
Page 292: ......
Page 488: ......
Page 589: ...P A R T VI Cisco Flexible NetFlow Configuring NetFlow Lite page 509 ...
Page 590: ......
Page 619: ...P A R T VII QoS Configuring QoS page 539 Configuring Auto QoS page 645 ...
Page 620: ......
Page 750: ......
Page 1604: ......
Page 1740: ......
Page 2105: ...P A R T XII Configuring Cisco IOS IP SLAs Configuring Cisco IP SLAs page 2025 ...
Page 2106: ......
Page 2118: ......
Page 2164: ......