We swap out one with the ASR and cannot stats from the ASR1000 to work.
ASR 1000 IOS-XE [15.5.(3)S4a]
I do see netflow data being sent to the collector, no graphs are showing up from the new device.
The other 3 devices which are still 7600 are still sending netflow data.
Router#show flow exporter AS-STATS-EXPORT statistics
Flow Exporter AS-STATS-EXPORT:
Packet send statistics (last cleared 21:40:39 ago):
Successfully sent: 176818 (242000028 bytes)
Client send statistics:
Client: Flow Monitor AS-STATS-MONITOR
Records added: 5483705
- sent: 5483705
Bytes added: 241283020
- sent: 241283020
Any ideas?
Current netflow config
--------------------------------------
flow record AS-STATS-Record
match ipv4 tos
match ipv4 protocol
match ipv4 source address
match ipv4 destination address
match transport source-port
match transport destination-port
match interface input
match interface output
collect counter bytes long
collect counter packets long
collect routing next-hop address ipv4
collect routing destination as
!
!
flow exporter AS-STATS-EXPORT
destination 10.10.10.10
source Loopback0
transport udp 5000
!
!
flow monitor AS-STATS-MONITOR
exporter AS-STATS-EXPORT
record AS-STATS-Record
!
-------------------------------------
Applied to ALL active interfaces.
!
interface GigabitEthernet1/1/0
ip flow monitor AS-STATS-MONITOR input
ip flow monitor AS-STATS-MONITOR output
!
tcpdump -n dst port 9000 -vv
I am using following configuration for ASR and looks good:
flow exporter AS-STATS
destination 198.51.100.27 !ip address of as-stats server
source GigabitEthernet0/0/0
transport udp 9000
!
flow monitor IPV4-AS-STATS
exporter AS-STATS
cache timeout active 300
cache entries 16384
record netflow ipv4 as
!
flow monitor IPV6-AS-STATS
exporter AS-STATS
cache timeout active 300
cache entries 16384
record netflow ipv6 as
!
sampler AS-STATS-SM
mode random 1 out-of 10000
!
interface GigabitEthernet0/0/5
ip flow monitor AS-STATS input
!
Thanks
Fakrul
Thanks for the help.
I tweak your config and got it working.
flow exporter AS-STATS
description AS-STATS Exporter template
destination a.b.c.59
source Loopback0
transport udp 9000
!
!
flow monitor IPv4-AS-STATS
exporter AS-STATS
cache timeout active 300
cache entries 16384
record netflow ipv4 as
!
!
flow monitor IPv6-AS-STATS
exporter AS-STATS
cache timeout active 300
cache entries 16384
record netflow ipv6 as
!
.
.
.
.
.
!
interface GigabitEthernet1/1/1
description - Internet service Provider
ip address x.x.x.234 255.255.255.252
ip flow monitor IPv6-AS-STATS input
ip flow monitor IPv4-AS-STATS input
ip flow monitor IPv6-AS-STATS output
ip flow monitor IPv4-AS-STATS output