EasyManua.ls Logo

Cisco Nexus 7000 Series - Page 250

Cisco Nexus 7000 Series
746 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
I Commands
ip flow monitor
222
Cisco Nexus 7000 Series NX-OS System Management Command Reference
OL-25806-03
This example shows how to enable two different flow monitors for monitoring input and output traffic
with a sampler on the flow monitor that is monitoring input traffic to limit the input packets that are
sampled:
switch(config)# interface ethernet0/0
switch(config-if)# ip flow monitor FLOW-MONITOR-1 input sampler SAMPLER-1
switch(config-if)# ip flow monitor FLOW-MONITOR-2 output
This example shows how to enable two different flow monitors for monitoring input and output traffic
with a sampler on the flow monitor that is monitoring output traffic to limit the output packets that are
sampled:
switch(config)# interface ethernet0/0
switch(config-if)# ip flow monitor FLOW-MONITOR-2 input
switch(config-if)# ip flow monitor FLOW-MONITOR-2 output sampler SAMPLER-1
This 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:
switch(config)# interface Ethernet0/0
switch(config-if)# ip flow monitor FLOW-MONITOR-1 input sampler SAMPLER-1
% Flow Monitor: Flow Monitor 'FLOW-MONITOR-1' is already on in full mode and cannot be
enabled with a sampler.
This example shows how to remove the flow monitor from the interface so that it can be enabled with
the sampler:
switch(config)# interface Ethernet0/0
switch(config-if)# no ip flow monitor FLOW-MONITOR-1 input
switch(config-if)# ip flow monitor FLOW-MONITOR-1 input sampler SAMPLER-1
This example shows how to remove a sampler from a flow monitor on an interface by entering the flow
monitor command again without the sampler sampler-name keyword and argument:
switch(config)# interface Ethernet0/0
switch(config-if)# ip flow monitor FLOW-MONITOR-1 input
% Flow Monitor: Flow Monitor 'FLOW-MONITOR-1' is already on in sampled mode and cannot be
enabled in full mode.
This example shows how to remove the flow monitor that was enabled with a sampler from the interface
so that it can be enabled without the sampler:
switch(config)# interface Ethernet0/0
switch(config-if)# no ip flow monitor FLOW-MONITOR-1 input sampler SAMPLER-1
switch(config-if)# ip flow monitor FLOW-MONITOR-1 input
Related Commands Command Description
flow exporter Creates a flow exporter.
flow monitor Creates a flow monitor.
flow record Creates a flow record.
sampler Creates a flow sampler.

Table of Contents

Other manuals for Cisco Nexus 7000 Series

Related product manuals