Specifications

Table Of Contents
ip flow-cache mpls label-positions
MP-93
Cisco IOS Multiprotocol Label Switching Command Reference
January 2010
ip flow-cache mpls label-positions
To enable Multiprotocol Label Switching (MPLS)-Aware NetFlow, use the ip flow-cache mpls
label-positions command in global configuration mode. To disable MPLS-aware NetFlow, use the no
form of this command.
ip flow-cache mpls label-positions [l
abel-position-1 [label-position-2 [label-position-3]]]
[exp-bgp-prefix-fields] [no-ip-fields] [mpls-length]
no ip
flow-cache mpls label-positions
Syntax Description
Defaults MPLS-Aware NetFlow is not enabled.
Command Modes Global configuration
label-position-l (Optional) Po
sition of an MPLS label in the incoming label stack. Label
positions are counted from the top of the stack, starting with 1.
exp-bgp-prefix-fields (Optional) Generates a MPLS Provider Edge (PE) PE-to-PE traffic matrix.
The following IP-related flow fields are included:
Input interface
BGP Nexthop
MPLS Experimental (EXP) bits
The MPLS label values will be set to zero on the Cisco 10000 in the display
out
put of the show ip cache verbose flow aggregation exp-bgp-prefix
command.
no-ip-fields (Optional) Controls the capture and reporting of MPLS flow fields. If the
n
o-ip-fields keyword is not specified, the following IP-related flow fields
are included:
Source IP address
Destination IP address
Transport layer protocol
Source application port number
Destination application port number
IP type of service (ToS)
TCP flag
If the no-
ip-fields keyword is specified, the IP-related fields are reported
with a value of 0.
mpls-length (Optional) Controls the reporting of packet length. If the mp
ls-length
keyword is specified, the reported length represents the sum of the MPLS
packet payload length and the MPLS label stack length. If the mpls-length
keyword is not specified, only the length of the MPLS packet payload is
reported.