cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
71
Views
0
Helpful
1
Replies

Neflow is not running from C9300 to Monitoring tools (PRTG)

Farkhan Khoir
Level 1
Level 1

flow record NETFLOW-RECORD-IN
match ipv4 protocol
match ipv4 source address
match ipv4 destination address
match interface input
match flow direction
collect transport tcp flags
collect counter bytes long
collect counter packets long
collect timestamp absolute last
!
!
flow record NETFLOW-RECORD-OUT
match ipv4 protocol
match ipv4 source address
match ipv4 destination address
match interface output
match flow direction
collect transport tcp flags
collect counter bytes long
collect counter packets long
collect timestamp absolute last
!
!
flow exporter NETFLOW-EXPORT
destination 192.168.200.1
source Vlan20
!
!
flow monitor NETFLOW-MONITOR-IN
exporter NETFLOW-EXPORT
record NETFLOW-RECORD-IN


flow monitor NETFLOW-MONITOR-OUT
exporter NETFLOW-EXPORT
record NETFLOW-RECORD-OUT


interface GigabitEthernet1/0/17
ip flow monitor NETFLOW-MONITOR-IN input
ip flow monitor NETFLOW-MONITOR-OUT output
!
interface GigabitEthernet1/0/19
ip flow monitor NETFLOW-MONITOR-IN input
p flow monitor NETFLOW-MONITOR-OUT output

 

 

I've also tried using version 9 but same result.  I've tried every active interface as the source, all with the same result.

 

Any help anyone can provide would be greatly appreciated.

1 Reply 1

@Farkhan Khoir 

 Seems to me your config is correct.

From the switch, if you issue the command

ping 192.168.200.1 souce interface Vlan20, does it succeed?

How is the switch configured in terms of IP address? 

What I would recommend is try to capture traffic on the interface and see if the flow is going out. The problem may not be on the switch.

 

Review Cisco Networking for a $25 gift card