Hi there,
I'm trying to set up Netflow on a Layer 2 trunk link, please see my code below.
I'm not sure if I should be using a physical interface for the source or a virtual interface, when using the physical Eth 1/1 I get the opportunity to use the command ' layer2-switched flow monitor NTAmonitor input' but show flow exporter shows no counters incrementing. If I use source vlan xxx then I can see the flow counters increasing for the exporter but I don't have access to the command ' layer2-switched flow monitor NTAmonitor input '
Any help would be appreciated.
Many Thanks,
Phil.
flow exporter NTAexport
destination *.*.*.*
transport udp 2055
source Ethernet 1/1
version 9
flow record L2_record
match datalink mac source-address
match datalink mac destination-address
match datalink vlan
match datalink ethertype
collect counter bytes
collect counter packets
flow monitor NTAmonitor
record L2_record
exporter NTAexport
interface Ethernet1/1
description ** 1GB Link to *** **
switchport
switchport mode trunk
switchport trunk allowed vlan xxx
mac packet-classify
layer2-switched flow monitor NTAmonitor input