Configuring Bridged Netflow On A Vlan - Cisco Nexus 7000 Series Configuration Manual

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

Advertisement

Configuring NetFlow

Configuring Bridged NetFlow on a VLAN

You can apply a flow monitor and a sampler to a VLAN.
Procedure
Step 1
Step 2
Step 3
Step 4
Step 5
Configuring Layer 2 NetFlow
You can define Layer 2 keys in flexible NetFlow records that you can use to capture flows in Layer 2 interfaces.
The Layer 2 keys are as follows:
• Source and destination MAC addresses
• Source VLAN ID
• EtherType from the Ethernet frame
You can apply Layer 2 NetFlow to the following interfaces for the ingress direction:
Command or Action
configure terminal
Example:
switch# configure terminal
switch(config)#
vlan configuration vlan-id
Example:
switch(config)# vlan configuration
30
{ip ipv6} flow monitor name input
sampler name
Example:
switch(config-vlan-config)# ip flow
monitor testmonitor input sampler
testsampler
exit
Example:
switch(config-vlan-config)# exit
copy running-config startup-config
Example:
switch(config)# copy running-config
startup-config
Cisco Nexus 7000 Series NX-OS System Management Configuration Guide
Configuring Bridged NetFlow on a VLAN
Purpose
Enters global configuration mode.
Enters VLAN configuration mode. The vlan-id range
is from 1 to 3967 or from 4048 to 4093.
VLAN configuration mode enables you to
Note
configure VLANs independently of their
creation, which is required for VTP client
support.
Associates a flow monitor and a sampler to the VLAN
for input packets. You can enter up to 63
alphanumeric characters for the flow monitor name
and the sampler name.
Returns to global configuration mode.
(Optional)
Saves the change persistently through reboots and
restarts by copying the running configuration to the
startup configuration.
385

Advertisement

Table of Contents
loading

Table of Contents