Cisco Nexus 7000 Series Reference Manual page 249

Nx-os system management command reference
Hide thumbs Also See for Nexus 7000 Series:
Table of Contents

Advertisement

I Commands
This command does not require a license.
Examples
This example shows how to enable a flow monitor for monitoring input traffic:
switch(config)# vlan
switch(config-vlan-config)# ip flow monitor FLOW-MONITOR-1 input
Note
This example shows how to enable a flow monitor for monitoring output traffic:
switch(config)# interface ethernet0/0
switch(config-if)# ip flow monitor FLOW-MONITOR-1 output
This example shows how to enable the same flow monitor on the same interface for monitoring input and
output traffic:
switch(config)# interface ethernet0/0
switch(config-if)# ip flow monitor FLOW-MONITOR-1 input
switch(config-if)# ip flow monitor FLOW-MONITOR-1 output
This example shows how to enable two different flow monitors on the same interface for monitoring
input and output traffic:
switch(config)# interface ethernet0/0
switch(config-if)# ip flow monitor FLOW-MONITOR-1 input
switch(config-if)# ip flow monitor FLOW-MONITOR-2 output
This example shows how to enable the same flow monitor on two different interfaces for monitoring
input and output traffic:
switch(config)# interface ethernet0/0
switch(config-if)# ip flow monitor FLOW-MONITOR-1 input
switch(config)# interface ethernet1/0
switch(config-if)# ip flow monitor FLOW-MONITOR-1 output
This example shows how to enable two different flow monitors on two different interfaces for monitoring
input and output traffic:
switch(config)# interface ethernet0/0
switch(config-if)# ip flow monitor FLOW-MONITOR-1 input
switch(config)# interface ethernet1/0
switch(config-if)# ip flow monitor FLOW-MONITOR-2 output
This example shows how to enable a flow monitor for monitoring input traffic with a sampler 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
This example shows how to enable a flow monitor for monitoring output traffic with a sampler to limit
the output packets that are sampled:
switch(config)# interface ethernet0/0
switch(config-if)# ip flow monitor FLOW-MONITOR-1 output sampler SAMPLER-1
OL-25806-03
configuration 2
VLAN configuration mode enables you to configure VLANs independently of their creation, which
is required for VTP client support.
Egress NetFlow on VLAN is not supported
Cisco Nexus 7000 Series NX-OS System Management Command Reference
ip flow monitor
221

Advertisement

Table of Contents
loading

Table of Contents