Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

MPLS Netflow Egress 12.2(25)S


Anybody knows how to configure mpls netflow egress for a cisco router running 12.2(25)S service provider image ?

The following link says there is a restriction for it:

The MPLS Egress NetFlow Accounting feature is not supported in Cisco IOS Release 12.2(25)S and later. Use the Egress NetFlow Accounting feature, which captures either IP or MPLS packets as they leave the router.

I haven't found out how to exactly configure this feature because the ip flow egress work is not working.

Anybody care to shed some light ?

Thanks in advance,

Luis Rueda


Re: MPLS Netflow Egress 12.2(25)S

In 12.3T egress is for IP paks only, if you want the mpls->ip paks then you need to turn on mpls egress.


Re: MPLS Netflow Egress 12.2(25)S

Netflow was in ingress technology, in which the flows that were captured were flows that entered the interface. Flows leaving the interface were not captured. Also, it was an IP technology, hence non IP traffic were not captured.

With the introduction of MPLS VPN, traffic from remote PEs were recieved on the egress PE as labelled traffic. Hence, they were not captured by Netflow (Without MPLS, enabling netflow on the WAN interface of the egress PE would have allowed the traffic be captured).

MPLS Egress Netflow Accounting patched the situation above by allowing Netflow to capture the flow, when the mpls packet was untagged. This feature was introduced in 12.0(20)S. see

It is configured with the command mpls netflow egress

To make things better, they bettered the netflow technology and allowed it to captured egress traffic. With it capturing outgoing traffic, the mpls egress netflow feature was not needed again. Or to put it in another way, Egress Netflow Accounting, replaced MPLS Egress Netflow. See

This is configured with the command

ip flow egress

For using these features, check your IOS properly and see which one it supports. I have succesfully used the MPLS Netflow Egress.