Cisco Bug: CSCvt31147 - IPFIX Entity 46 (topmost MPLS label type) in IPFIX exported metrics is always by default set to 5
Apr 07, 2020
- Cisco ASR 9000 Series Aggregation Services Routers
Known Affected Releases
Symptom: Our customer is collecting IPFIX stats from NCS5500 devices, SW 6.6.3 and 7.1.1. IPFIX Entity 46 (MPLS top label type) in IPFIX exported metrics is always set to 5 (LDP), even if label is coming from ISIS SR TLV, or BGP ipv4 LU. I have checked RFC 7012, and the following information is there regarding mplsTopLabelType: 7.2. MPLS Label Type Identifier Information Element #46, named mplsTopLabelType, carries MPLS label types. Values for 5 different types have initially been defined. For ensuring the extensibility of this information, IANA has created a new subregistry for MPLS label types and filled it with the initial list from the description Information Element #46, mplsTopLabelType. New assignments for MPLS label types are administered by IANA through Expert Review [RFC5226], i.e., review by one of a group of experts designated by an IETF Area Director. The group of experts must double-check the label type definitions with already-defined label types for completeness, accuracy, and redundancy. The specification of new MPLS label types MUST be published using a well-established and persistent publication medium. And new assignments have been defined in RFC5102 5.7.10. mplsTopLabelType Description: This field identifies the control protocol that allocated the top-of-stack label. Initial values for this field are listed below. Further values may be assigned by IANA in the MPLS label type registry. - 0x01 TE-MIDPT: Any TE tunnel mid-point or tail label - 0x02 Pseudowire: Any PWE3 or Cisco AToM based label - 0x03 VPN: Any label associated with VPN - 0x04 BGP: Any label associated with BGP or BGP routing - 0x05 LDP: Any label associated with dynamically assigned labels using LDP This enhancement DDTS is to add these new types to XR code Conditions: Customer is using the following configuration: flow exporter-map NETFLOW-EXPORT-MAP version ipfix options sampler-table template data timeout 600 ! ! flow monitor-map NETFLOW-MONITOR-MPLS-MAP record mpls ipv4-ipv6-fields exporter NETFLOW-EXPORT-MAP cache entries 500000 cache timeout active 60 ! sampler-map NETFLOW-SAMPLER-MAP random 1 out-of 1 !
Bug details contain sensitive information and therefore require a Cisco.com account to be viewed.
Bug Details Include
- Full Description (including symptoms, conditions and workarounds)
- Known Fixed Releases
- Related Community Discussions
- Number of Related Support Cases