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

MPLS VPN / BGP Netflow Issue

gregwoodson
Level 1
Level 1

I have followed all of the configuration steps given for egress accounting with netflow on a MPLS VPN link. However, it is only showing flows coming into the router. I need to be able to account both ways- any recommendations? Config below:

interface Multilink12

mtu 1580

ip address XX.XX.XX.XX 255.255.255.252

no ip redirects

no ip unreachables

ip pim sparse-mode

ip route-cache flow

mpls netflow egress

mpls label protocol ldp

mpls ip

ppp multilink

ppp multilink group 12

ip flow-export source FastEthernet0/0/0.10

ip flow-export version 5

ip flow-export destination XX.XX.XX.XX 9996

IP packet size distribution (10730093 total packets):

1-32 64 96 128 160 192 224 256 288 320 352 384 416 448 480

.000 .098 .645 .011 .016 .012 .009 .010 .000 .001 .000 .001 .000 .000 .000

512 544 576 1024 1536 2048 2560 3072 3584 4096 4608

.000 .000 .000 .002 .185 .000 .000 .000 .000 .000 .000

IP Flow Switching Cache, 4456704 bytes

4 active, 65532 inactive, 464700 added

6109192 ager polls, 0 flow alloc failures

Active flows timeout in 1 minutes

Inactive flows timeout in 15 seconds

IP Sub Flow Cache, 336520 bytes

0 active, 16384 inactive, 20706 added, 20706 added to flow

0 alloc failures, 0 force free

1 chunk, 1 chunk added

last clearing of statistics never

Protocol Total Flows Packets Bytes Packets Active(Sec) Idle(Sec)

-------- Flows /Sec /Flow /Pkt /Sec /Flow /Flow

TCP-Telnet 7 0.0 20 233 0.0 7.0 11.3

TCP-FTP 3 0.0 1 40 0.0 0.4 1.6

TCP-WWW 5757 0.0 6 389 0.0 1.1 3.0

TCP-SMTP 7 0.0 1 40 0.0 0.7 1.6

TCP-X 244 0.0 1 54 0.0 0.0 1.5

TCP-other 304762 0.2 7 346 1.6 2.2 4.8

UDP-DNS 346 0.0 1 127 0.0 0.0 15.4

UDP-NTP 3323 0.0 1 80 0.0 0.0 15.4

UDP-other 131041 0.0 62 341 5.4 17.6 13.2

ICMP 64291 0.0 1 79 0.0 0.0 15.4

Total: 509781 0.3 21 341 7.1 5.9 8.3

SrcIf SrcIPaddress DstIf DstIPaddress Pr SrcP DstP Pkts

Mu12 10.50.66.218 Null 10.105.0.1 11 0675 00A1 84

Mu12 10.50.66.218 Null 10.105.19.10 11 0675 00A1 2

Mu12 10.50.66.218 Null 10.105.19.3 11 0675 00A1 4

Mu12 10.50.66.42 Null 10.105.19.10 06 0B3C 01BD 12

2 Replies 2

sbilgi
Level 5
Level 5

Use the bgp attribute-download command to enable the NetFlow BGP data export function. When attribute download is enabled, BGP downloads the attribute information for prefixes (community, extended community, and as-path) to the Routing Information Base (RIB) and Forwarding Information Base (FIB). This enables FIB to associate the prefixes with attributes and send the NetFlow statistics along with the associated attributes

I appreciate the update. It looks to me like this command is only for the 12000 series. We are trying to correct this on a 7507. Is there a similar command?

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:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco