Applying A Flow Monitor To An Interface - Cisco Nexus 7000 Series Configuration Manual

Hide thumbs Also See for Nexus 7000 Series:
Table of Contents

Advertisement

Configuring NetFlow
Step 5
Step 6

Applying a Flow Monitor to an Interface

You can not apply a flow monitor to an egress interface, only ingress Netflow is supported.
Note
Procedure
Step 1
Step 2
Step 3
Step 4
Step 5
Command or Action
exit
Example:
switch(config-flow-sampler)# exit
copy running-config startup-config
Example:
switch(config)# copy running-config
startup-config
Command or Action
configure terminal
Example:
switch# configure terminal
switch(config)#
interface interface-type slot/port
Example:
switch(config)# interface ethernet
2/1
ip flow monitor name input sampler name
Example:
switch(config-if)# ip flow monitor
testmonitor input sampler testsampler
ipv6 flow monitor name input sampler
name
Example:
switch(config-if)# ipv6 flow monitor
testmonitorv6 input sampler
testsamplerv6
layer2-switched flow monitor name input
sampler name
Cisco Nexus 7000 Series NX-OS System Management Configuration Guide
Applying a Flow Monitor to an Interface
Purpose
Returns to global configuration mode.
(Optional)
Saves the change persistently through reboots and
restarts by copying the running configuration to the
startup configuration.
Purpose
Enters global configuration mode.
Enters interface configuration mode. The interface
type can be Ethernet (including subinterfaces), port
channel, or VLAN interface.
Associates an IPv4 flow monitor and a sampler to
the interface for input packets. You can enter up to
63 alphanumeric characters for the flow monitor
name and the sampler name.
Associates an IPv6 flow monitor and a sampler to
the interface for input packets. You can enter up to
63 alphanumeric characters for the flow monitor
name and the sampler name.
Associates a Layer 2-switched flow monitor and a
sampler to the interface for input packets. You can
383

Advertisement

Table of Contents
loading

Table of Contents