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

The Netflow command ip flow not available on C7706

Nick Gilbert
Level 1
Level 1

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

1 Accepted Solution

Accepted Solutions

Mark Malone
VIP Alumni
VIP Alumni

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

View solution in original post

2 Replies 2

Mark Malone
VIP Alumni
VIP Alumni

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

How did  I miss this? :)

Many thanks - I have marked as correct.

Review Cisco Networking for a $25 gift card