Cisco Cisco 5760 Wireless LAN Controller Technical References

Page of 1016
The following example enables a flow monitor for monitoring input traffic, with a sampler to limit the input
packets that are sampled:
Controller(config)#
interface gigabitethernet1/0/1
Controller(config-if)#
ip flow monitor FLOW-MONITOR-1 sampler SAMPLER-1 input
The following example shows what happens when you try to add a sampler to a flow monitor that has already
been enabled on an interface without a sampler:
Controller(config)#
interface gigabitethernet1/0/1
Controller(config-if)#
ip flow monitor FLOW-MONITOR-1 sampler SAMPLER-2 input
% Flow Monitor: Flow Monitor 'FLOW-MONITOR-1' is already on in full mode and cannot be
enabled with a sampler.
The following example shows how to remove a flow monitor from an interface so that it can be enabled with
the sampler:
Controller(config)#
interface gigabitethernet1/0/1
Controller(config-if)#
no ip flow monitor FLOW-MONITOR-1 input
Controller(config-if)#
ip flow monitor FLOW-MONITOR-1 sampler SAMPLER-2 input
Consolidated Platform Command Reference, Cisco IOS XE Release 3SE (Cisco WLC 5700 Series)    
   OL-29471-01
899
ip flow monitor