If the collector is configured to use either V9 or V10 (IPFIX) formats, the flow data is sent to the designated collector using one of the predefined templates. The template used is based on the type of flow for which the data was collected (IPv4, IPv6, MPLS, or Ethernet (Layer 2)), and the configuration of the template-set parameter. Table: Template sets lists these values and the corresponding template used to export the flow data.
Traffic Flow | Basic | MPLS-IP |
---|---|---|
IPv4 |
Basic IPv4 |
MPLS-IPv4 |
IPv6 |
Basic IPv6 |
MPLS-IPv6 |
MPLS |
Basic MPLS |
MPLS-IP |
Ethernet |
L2-IP |
L2-IP |
Each flow exported to a collector configured for either V9 or V10 formats is sent using one of the flow template sets listed in Table: Template sets.
Table: Basic IPv4 template to Table: MPLS TRANSPORT template list the fields in each template listed in Table: Template sets.
Field Name | Field ID |
---|---|
IPv4 Src Addr |
8 |
IPv4 Dest Addr |
12 |
IPv4 Nexthop |
15 |
BGP Nexthop |
18 |
Ingress Interface |
10 |
Egress Interface |
14 |
Packet Count |
2 |
Byte Count |
1 |
Start Time |
22 |
End Time |
21 |
Flow Start Milliseconds1 |
152 |
Flow End Milliseconds1 |
153 |
Src Port |
7 |
Dest Port |
11 |
Forwarding Status |
89 |
TCP control Bits (Flags) |
6 |
IPv4 Protocol |
4 |
IPv4 ToS |
5 |
IP version |
60 |
ICMP Type and Code |
32 |
Direction |
61 |
BGP Source ASN |
16 |
BGP Dest ASN |
17 |
Source IPv4 Prefix Length |
9 |
Dest IPv4 Prefix Length |
13 |
Minimum IP Total Length |
25 |
Maximum IP Total Length |
26 |
Minimum TTL |
52 |
Maximum TTL |
53 |
Multicast Replication Factor |
99 |
bgpNextAdjacentAsNumber |
128 |
bgpPrevAdjacentAsNumber |
129 |
IsMulticast1 |
206 |
Ingress VRFID1 |
234 |
Egress VRFID1 |
235 |
Only sent to collectors configured for V10 format.
Field Name | Field ID |
---|---|
IPv4 Src Addr |
8 |
IPv4 Dest Addr |
12 |
IPv4 Nexthop |
15 |
BGP Nexthop |
18 |
Ingress Interface |
10 |
Egress Interface |
14 |
Packet Count |
2 |
Byte Count |
1 |
Start Time |
22 |
End Time |
21 |
Flow Start Milliseconds1 |
152 |
Flow End Milliseconds1 |
153 |
Src Port |
7 |
Dest Port |
11 |
Forwarding Status |
89 |
TCP control Bits (Flags) |
6 |
IPv4 Protocol |
4 |
IPv4 ToS |
5 |
IP version |
60 |
ICMP Type & Code |
32 |
Direction |
61 |
BGP Source ASN |
16 |
BGP Dest ASN |
17 |
Source IPv4 Prefix Length |
9 |
Dest IPv4 Prefix Length |
13 |
MPLS Top Label Type |
46 |
MPLS Top Label IPv4 Addr |
47 |
MPLS Label 1 |
70 |
MPLS Label 2 |
71 |
MPLS Label 3 |
72 |
MPLS Label 4 |
73 |
MPLS Label 5 |
74 |
MPLS Label 6 |
75 |
MPLS Label 7 |
76 |
MPLS Label 8 |
77 |
MPLS Label 9 |
78 |
MPLS Label 10 |
79 |
Minimum IP Total Length |
25 |
Maximum IP Total Length |
26 |
Minimum TTL |
52 |
Maximum TTL |
53 |
Multicast Replication Factor |
99 |
bgpNextAdjacentAsNumber |
128 |
bgpPrevAdjacentAsNumber |
129 |
IsMulticast1 |
206 |
Ingress VRFID1 |
234 |
Egress VRFID1 |
235 |
Only sent to collectors configured for V10 format.
Field Name | Field ID |
---|---|
IPv6 Src Addr |
27 |
IPv6 Dest Addr |
28 |
IPv6 Nexthop |
62 |
IPv6 BGP Nexthop |
63 |
IPv4 Nexthop |
15 |
IPv4 BGP Nexthop |
18 |
Ingress Interface |
10 |
Egress Interface |
14 |
Packet Count |
2 |
Byte Count |
1 |
Start Time |
22 |
End Time |
21 |
Flow Start Milliseconds1 |
152 |
Flow End Milliseconds1 |
153 |
Src Port |
7 |
Dest Port |
11 |
Forwarding Status |
89 |
TCP control Bits (Flags) |
6 |
Protocol |
4 |
IPv6 Extension Hdr |
64 |
IPv6 Next Header |
193 |
IPv6 Flow Label |
31 |
ToS |
5 |
IP version |
60 |
IPv6 ICMP Type & Code |
139 |
Direction |
61 |
BGP Source ASN |
16 |
BGP Dest ASN |
17 |
IPv6 Src Mask |
29 |
IPv6 Dest Mask |
30 |
Minimum IP Total Length |
25 |
Maximum IP Total Length |
26 |
Minimum TTL |
52 |
Maximum TTL |
53 |
Multicast Replication Factor |
99 |
bgpNextAdjacentAsNumber |
128 |
bgpPrevAdjacentAsNumber |
129 |
IsMulticast1 |
206 |
Ingress VRFID1 |
234 |
Egress VRFID1 |
235 |
Only sent to collectors configured for V10 format.
Field Name |
Field ID |
---|---|
IPv6 Src Addr |
27 |
IPv6 Dest Addr |
28 |
IPv6 Nexthop |
62 |
IPv6 BGP Nexthop |
63 |
IPv4 Nexthop |
15 |
IPv4 BGP Nexthop |
18 |
Ingress Interface |
10 |
Egress Interface |
14 |
Packet Count |
2 |
Byte Count |
1 |
Start Time |
22 |
End Time |
21 |
Flow Start Milliseconds1 |
152 |
Flow End Milliseconds1 |
153 |
Src Port |
7 |
Dest Port |
11 |
Forwarding Status |
89 |
TCP control Bits (Flags) |
6 |
Protocol |
4 |
IPv6 Extension Hdr |
64 |
IPv6 Next Header |
193 |
IPv6 Flow Label |
31 |
ToS |
5 |
IP version |
60 |
IPv6 ICMP Type & Code |
139 |
Direction |
61 |
BGP Source ASN |
16 |
BGP Dest ASN |
17 |
IPv6 Src Mask |
29 |
IPv6 Dest Mask |
30 |
MPLS Top Label Type |
46 |
MPLS Top Label IPv6 Addr |
47 |
MPLS Label 1 |
70 |
MPLS Label 2 |
71 |
MPLS Label 3 |
72 |
MPLS Label 4 |
73 |
MPLS Label 5 |
74 |
MPLS Label 6 |
75 |
MPLS Label 7 |
76 |
MPLS Label 8 |
77 |
MPLS Label 9 |
78 |
MPLS Label 10 |
79 |
MPLS_TOP_LABEL_TYPE |
46 |
MPLS_TOP_LABEL_ADDR |
47 |
Minimum IP Total Length |
25 |
Maximum IP Total Length |
26 |
Minimum TTL |
52 |
Maximum TTL |
53 |
Multicast Replication Factor |
99 |
bgpNextAdjacentAsNumber |
128 |
bgpPrevAdjacentAsNumber |
129 |
IsMulticast1 |
206 |
Ingress VRFID1 |
234 |
Egress VRFID1 |
235 |
Only sent to collectors configured for V10 format.
Field Name |
Field ID |
---|---|
Start Time |
22 |
End Time |
21 |
Flow Start Milliseconds1 |
152 |
Flow End Milliseconds1 |
153 |
Ingress Interface |
10 |
Egress Interface |
14 |
Packet Count |
2 |
Byte Count |
1 |
Direction |
61 |
MPLS Top Label Type |
46 |
MPLS Top Label Address |
47 |
MPLS Label 1 |
70 |
MPLS Label 2 |
71 |
MPLS Label 3 |
72 |
MPLS Label 4 |
73 |
MPLS Label 5 |
74 |
MPLS Label 6 |
75 |
Only sent to collectors configured for V10 format.
Field Name |
Field ID |
---|---|
IPv4 Src Addr |
8 |
IPv4 Dest Addr |
12 |
IPv4 Nexthop |
15 |
IPv6 Src Addr |
27 |
IPv6 Dest Addr |
28 |
IPv6 Nexthop |
62 |
Ingress Interface |
10 |
Egress Interface |
14 |
Packet Count |
2 |
Byte Count |
1 |
Start Time |
22 |
End Time |
21 |
Flow Start Milliseconds1 |
152 |
Flow End Milliseconds1 |
153 |
Src Port |
7 |
Dest Port |
11 |
TCP control Bits (Flags) |
6 |
IPv4 Protocol |
4 |
IPv4 ToS |
5 |
IP version |
60 |
ICMP Type & Code |
32 |
IPv6 Flow Label |
31 |
Direction |
61 |
MPLS Top Label Type |
46 |
MPLS Top Label IPv4 Addr |
47 |
MPLS Label 1 |
70 |
MPLS Label 2 |
71 |
MPLS Label 3 |
72 |
MPLS Label 4 |
73 |
MPLS Label 5 |
74 |
MPLS Label 6 |
75 |
MPLS Label 7 |
76 |
MPLS Label 8 |
77 |
MPLS Label 9 |
78 |
MPLS Label 10 |
79 |
Only sent to collectors configured for V10 format.
Field Name1 |
Field ID |
---|---|
MAC Src Addr |
56 |
MAC Dest Addr |
80 |
Ingress Physical Interface |
252 |
Egress Physical Interface |
253 |
Dot1q VLAN ID |
243 |
Dot1q Customer VLAN ID |
245 |
Post Dot1q VLAN ID |
254 |
Post Dot1q Customer VLAN Id |
255 |
IPv4 Src Addr |
8 |
IPv4 Dest Addr |
12 |
IPv6 Src Addr |
27 |
IPv6 Dest Addr |
28 |
Packet Count |
2 |
Byte Count |
1 |
Flow Start Milliseconds |
152 |
Flow End Milliseconds |
153 |
Src Port |
7 |
Dest Port |
11 |
TCP control Bits (Flags) |
6 |
Protocol |
4 |
IPv6 Option Header |
64 |
IPv6 Next Header |
196 |
IPv6 Flow Label |
31 |
ToS |
5 |
IP Version |
60 |
ICMP Type Code |
32 |
Ingress VRF |
234 |
IPv4 BGP Nexthop |
18 |
IPv6 BGP Nexthop |
63 |
Only one Ethernet (L2-IP) flow template is supported and exported to IPFIX (V10) collectors.
Field Name |
Field ID |
---|---|
Flow Start Milliseconds |
152 |
Flow End Milliseconds |
153 |
VRF ID |
234 |
Ingress Interface |
10 |
Packet Count |
2 |
Byte Count |
1 |
Direction |
61 |
MPLS_TOP_LABEL_TYPE |
46 |
MPLS_TOP_LABEL_ADDR |
47 |
MPLS Label-1 |
70 |
Field Name1 |
Field ID |
---|---|
IPv4 Src Addr2 |
8 |
IPv4 Dest Addr2 |
12 |
Ingress ID |
252 |
Egress ID |
253 |
Flow Start Milliseconds |
152 |
Ingress VRF ID2 |
234 |
Egress VRF ID2 |
235 |
Protocol2 |
4 |
ToS2 |
5 |
Data Link Frame Size3 |
312 |
Section Exported Octets2 |
410 |
Data Link Frame Section2 |
315 |
The field names are exported only to IPFIX (V10) collectors.
The IP fields contain values from the outer GRE IP header.
The Data Link Frame section field includes the inner IP headers.