cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
218
Views
0
Helpful
2
Replies

Netflow on Nexus 7010

bigserpent
Level 1
Level 1

I have a Nexus-7010 and have netflow configured on SVI / Routing Interface to collects the flow data for troubleshooting. 

Recently, I want to have flow data from a trunk port interface. 

Could you tell me, Is it possible to enable the netflow on a trunk port interface likes this ? 

interface Ethernet2/6
ip flow monitor NF-Monitor-01 input sampler NF-Sampler-01
ip flow monitor NF-Monitor-01 output sampler NF-Sampler-01
switchport
switchport mode trunk
switchport trunk allowed vlan 100,215
no shutdown

2 Replies 2

Mark Malone
VIP Alumni
VIP Alumni

Yes but your netflow needs to be set for layer 2 fields or it wont collect anything

http://www.cisco.com/c/en/us/td/docs/ios-xml/ios/fnetflow/configuration/15-mt/fnf-15-mt-book/fnf-l2-fields.html#d41985e186a1635

 flow record LAYER-2-FIELDS-1
match ipv4 source address
match ipv4 destination address
match datalink dot1q vlan output
match datalink mac source address input
match datalink mac source address output
match datalink mac destination address input
match flow direction

Hi Mark,

Thanks for your help and I will schedule to test the new configuration :)

Review Cisco Networking for a $25 gift card