MPLS VPN / BGP Netflow Issue

Unanswered Question
Jul 27th, 2007

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

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
gregwoodson Mon, 07/30/2007 - 06:15

Update on this- Im now receiving all traffic incoming into the interface, but am tracking only about 10% of the outgoing traffic- revised config below:

ip flow-cache timeout active 1

ip flow-cache mpls label-positions 1 2 3

ipv6 flow-cache mpls label-positions 1 2 3

interface Multilink12

mtu 1580

ip address XX.XX.XX.XX 255.255.255.252

no ip redirects

no ip unreachables

ip flow ingress

ip flow egress

ip pim sparse-mode

ip route-cache flow

mpls netflow egress

mpls label protocol ldp

mpls ip

ppp multilink

ppp multilink group 12

service-policy output cbwfq-voice20per

ip flow-export source FastEthernet0/0/0.10

ip flow-export version 9 origin-as

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

Actions

This Discussion