01-16-2018 11:41 AM - last edited on 03-25-2019 02:37 PM by ciscomoderator
Can't get Netflow information to export from my 3850 into Solarwinds. I know that Solarwinds is properly collecting Netflow information as it's currently doing so for a pair of ASAs. Below is my Netflow config:
flow record 9550-to-6111
match ipv4 source address
match ipv4 destination address
match interface output
collect counter bytes long
collect counter packets long
collect timestamp absolute first
collect timestamp absolute last
flow exporter Solarwinds
destination 192.168.145.16
source Vlan410
transport udp 2055
flow monitor ATTP2P
exporter Solarwinds
cache timeout active 60
record 9550-to-6111
interface TenGigabitEthernet1/1/4
description ATT DECAMAN 10G TO 6111 N. River Rd N5K-1 1/48
no switchport
ip flow monitor ATTP2P output
ip address 10.101.0.17 255.255.255.240
ip ospf 1 area 0
load-interval 30
3850x-9111-stack#sh flow monitor ATTP2P
Flow Monitor ATTP2P:
Description: User defined
Flow Record: 9550-to-6111
Flow Exporter: Solarwinds
Cache:
Type: normal (Platform cache)
Status: allocated
Size: Unknown
Inactive Timeout: 15 secs
Active Timeout: 60 secs
Update Timeout: 1800 secs
Synchronized Timeout: 600 secs
Any idea of what's wrong here?
Thanks.
Solved! Go to Solution.
01-16-2018 05:37 PM
01-16-2018 02:55 PM
01-16-2018 03:22 PM
> Which ios version do you have?
Cisco IOS Software, IOS-XE Software, Catalyst L3 Switch Software (CAT3K_CAA-UNIVERSALK9-M), Version 03.06.00E RELEASE SOFTWARE (fc3)
> Are you able to ping from your source vlan your Solaris?
3850x-9111-stack#ping 192.168.145.16 source vlan410
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.145.16, timeout is 2 seconds:
Packet sent with a source address of 10.100.10.1
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/10 ms
> If you issue command "show flow monitor cache" or "show flow monitor record", do you see some infos?
This version of IOS doesn’t have the show flow monitor “cache” or show flow monitor “record” options.
3850x-9111-stack#show flow monitor ?
ATTP2P User defined
LAN-V4-IN User defined
LAN-V4-OUT User defined
WLAN-V4-IN User defined
WLAN-V4-OUT User defined
broker Show the flow monitor broker
name Name a specific Flow Monitor
type Type of the Flow Monitor
| Output modifiers
<cr>
3850x-9111-stack#show flow monitor
01-16-2018 03:31 PM
01-16-2018 05:14 PM
> Which ios license is running?
3850x-9111-stack#sh license right-to-use
Slot# License name Type Count Period left
----------------------------------------------------------
1 ipservices permanent N/A Lifetime
1 apcount adder 50 Lifetime
License Level on Reboot: ipservices
Slot# License name Type Count Period left
----------------------------------------------------------
2 ipservices permanent N/A Lifetime
2 apcount adder 13 Lifetime
License Level on Reboot: ipservices
01-16-2018 05:37 PM
01-17-2018 08:51 AM
3850x-9111-stack#sh flow exporter
Flow Exporter PRIME-01:
Description: User defined
Export protocol: NetFlow Version 9
Transport Configuration:
Destination IP address: 192.168.120.140
Source IP address: 10.100.2.1
Source Interface: Loopback0
Transport Protocol: UDP
Destination Port: 9991
Source Port: 49165
DSCP: 0x0
TTL: 255
Output Features: Used
Flow Exporter Solarwinds:
Description: User defined
Export protocol: NetFlow Version 9
Transport Configuration:
Destination IP address: 192.168.145.16
Source IP address: 10.100.10.1
Source Interface: Vlan410
Transport Protocol: UDP
Destination Port: 2055
Source Port: 63571
DSCP: 0x0
TTL: 255
Output Features: Used
3850x-9111-stack#
01-17-2018 08:59 AM
Looks like my 3850 is now sending Netflow information to my Solarwinds Netflow collector. I will watch and keep you updated.
Thanks
01-17-2018 01:30 PM
01-17-2018 01:33 PM
Here a sample config for IN and OUT. You can't apply the OUT record inbound because the match criteria aren't same: (specially match interface)
flow record RECORD-IN
match flow direction
match interface input
match ipv4 destination address
match ipv4 protocol
match ipv4 source address
match ipv4 tos
match transport destination-port
match transport source-port
collect counter bytes
collect counter packets
collect interface output
collect transport tcp flags
flow record RECORD-OUT
match flow direction
match interface output
match ipv4 destination address
match ipv4 protocol
match ipv4 source address
match ipv4 tos
match transport destination-port
match transport source-port
collect counter bytes
collect counter packets
collect interface input
collect transport tcp flags
flow monitor MONITOR_IN
exporter EXPORTER
cache timeout inactive 10
cache timeout active 60
record RECORD-IN
flow monitor MONITOR_OUT
exporter EXPORTER
cache timeout inactive 10
cache timeout active 60
record RECORD-OUT
01-17-2018 01:44 PM
01-17-2018 01:51 PM
11-15-2019 04:06 PM - edited 11-20-2019 09:09 AM
Very useful!
Thanks, ~zK
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