O'Reilly logo

MPLS Fundamentals by Luc De Ghein - CCIE No. 1897

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

MPLS-Aware Netflow

Useful on certain occasions is the MPLS-aware Netflow feature. MPLS-aware Netflow collects statistics for labeled packets and can report them on a label position in the label stack. You can specify up to three label positions in the label stack to keep track of. The command to enable MPLS-aware Netflow globally is this:

ip flow-cache mpls label-positions [label-position-1 [label-position-2
[label-position-3]]] [mpls-length] [no-ip-fields]

You can specify up to the sixth label in the label stack. A prerequisite for this feature is enabling Netflow on the interface with the command ip route-cache flow [input]. To view a snapshot of the MPLS-aware Netflow cache on the router, use the command show ip cache verbose flow.

Figure ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required