08-06-2015 08:53 PM
Hi ,
I enable netflow on ASR9K, I also enable bgp on this router.
but I do not have bgp as information on the netflow record.
IPV4SrcAddr IPV4DstAddr L4SrcPort L4DestPort BGPDstOrigAS BGPSrcOrigAS BGPNextHopV4 IPV4DstPrfxLen IPV4SrcPrfxLen IPV4Prot IPV4TOS InputInterface OutputInterface L4TCPFlags ForwardStatus FirstSwitched LastSwitched ByteCount PacketCount Dir SamplerID
54.225.131.235 103.8.104.17 80 56858 0 0 0.0.0.0 32 15 tcp 0 Te0/0/1/0 Gi0/1/0/19 A|P| Fwd 01 01:30:51:576 01 01:30:51:576 253 1 Egr 1
203.69.141.41 103.8.104.17 443 56885 0 0 0.0.0.0 32 24 tcp 0 Te0/0/0/0 Gi0/1/0/19 A|P|F| Fwd 01 01:30:51:007 01 01:30:51:007 165 2 Egr 1
#sh ip bgp 54.225.113.235
Fri Aug 7 11:45:16.326 Taipei
BGP routing table entry for 54.224.0.0/15
Versions:
Process bRIB/RIB SendTblVer
Speaker 754517 754517
Last Modified: Aug 6 13:06:24.013 for 22:38:52
Paths: (2 available, best #1)
Not advertised to any peer
Path #1: Received by speaker 0
Not advertised to any peer
18046 10026 10026 10026 10026 10026 16509 14618
Origin IGP, localpref 100, valid, internal, best, group-best, import-candidate
at https://supportforums.cisco.com/document/11933991/asr9k-netflow-white-paper
I find it should have as number
my configuration :
flow exporter-map FE
version v9
!
transport udp 9001
source Loopback0
destination 103.8.104.17
!
flow monitor-map FM
record ipv4
!
sampler-map FS
random 1 out-of 1
interface GigabitEthernet0/1/0/19
flow ipv4 monitor FM sampler FS ingress
flow ipv4 monitor FM sampler FS egress
what else need to configure ?
Regards,
Michael
Solved! Go to Solution.
08-07-2015 01:56 AM
Enable " bgp attribute-download" under the ipv4 address-family in BGP.
08-07-2015 01:56 AM
Enable " bgp attribute-download" under the ipv4 address-family in BGP.
08-09-2015 07:52 PM
Thanks! the AS number is correct now!
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