07-06-2017 01:12 AM - edited 03-08-2019 11:13 AM
HI.
I am trying to get Netflow working on 2x Nexus7700 C7706 (6 Slot)
My code thus far:
feature netflow
flow record Netflow-In
match transport destination-port
match transport source-port
match ipv4 destination address
match ipv4 source address
match ip protocol
collect counter bytes
collect counter bytes long
collect counter packets
collect counter packets long
flow record Netflow-Out
match transport destination-port
match transport source-port
match ipv4 destination address
match ipv4 source address
match ip protocol
collect counter bytes
collect counter bytes long
collect counter packets
collect counter packets long
flow exporter Netflow-to-Solarwinds
destination x.x.x.x
transport udp 2055
source loopback0
version 9
flow monitor Netflow-Monitor-Out
exporter Netflow-to-Solarwinds
record Netflow-Out
flow monitor Netflow-Monitor-In
exporter Netflow-to-Solarwinds
record Netflow-In
flow timeout active 120
flow timeout inactive 32
flow timeout fast 32 threshold 100
flow timeout session
flow timeout aggressive threshold 75
sampler Netflow-Sampler-1
mode 1 out-of 1000
int e2/15
ip flow monitor Netflow-Monitor-Out output sampler Netflow-Sampler-1
^
% Invalid command at '^' marker.
I have seen this command on a number of thwack pages and other sites. But for me ip flow is not available as a command however I am able to add the netflow onto vlans but not an ethernet interface.
e.g.
int vlan 65
ip flow monitor Netflow-Monitor-Out output sampler Netflow-Sampler-1
ip flow monitor Netflow-Monitor-In input sampler Netflow-Sampler-1
We are using version: version 7.3(1)D1(1)
Any suggestions would be apreciated.
Thanks
Nick
Solved! Go to Solution.
07-06-2017 01:20 AM
Hi Nick
has to be a layer3 port as its netflow that's why its working on svi interface
try under Ethernet no switchport ,then give it an ip address then use the ip flow monitor command , it wont take on layer 2 port
07-06-2017 01:20 AM
Hi Nick
has to be a layer3 port as its netflow that's why its working on svi interface
try under Ethernet no switchport ,then give it an ip address then use the ip flow monitor command , it wont take on layer 2 port
07-06-2017 01:27 AM
How did I miss this? :)
Many thanks - I have marked as correct.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide