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

ASR9K Netflow with BGP as number question?

mtiger
Level 1
Level 1

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

 

1 Accepted Solution

Accepted Solutions

mivens
Level 1
Level 1

Enable " bgp attribute-download" under the ipv4 address-family in BGP.

View solution in original post

2 Replies 2

mivens
Level 1
Level 1

Enable " bgp attribute-download" under the ipv4 address-family in BGP.

Thanks!   the AS number is correct now!

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: