Table 4. Feature History Table
Feature Name
|
Release Information
|
Feature Description
|
Monitor GTP-U Traffic in 5G Network
|
Release 24.2.1
|
You now get a comprehensive view of your 5G network's performance and gain detailed insights into slice utilization, deployed
QoS policies, and their impact on traffic. This includes verifying deployed QoS policies, assessing 5G slice mechanisms, and
tracking GTP-U endpoints for specific applications. This feature specifically applies to 5G network slicing when the GTP User
Plane carries data within the core network and to the radio access network. This is achieved by exporting GTP-U related Information
Elements using Netflow and IPFIX records to collectors for analysis.
This feature introduces these changes:
CLI:
|
Cisco 8000 routers introduces the capability to monitor the performance of GTP-U traffic in 5G networks. This feature utilizes
Netflow and IPFIX to collect and analyze traffic data, offering valuable insights into network performance and facilitating
effective management of 5G network traffic.
Starting from IOS-XR software release 24.2.1, three new GTP-U related information elements can be gathered in Netflow and
IPFIX records for both IPv4 and IPv6 traffic. This advancement allows administrators to optimize the performance and security
of their 5G networks.
The newly introduced information elements are as follows:
IE Field
|
IE Number
|
GTP_TEID
|
507
|
GTP_QFI
|
509
|
GTP_SESS_DIR
|
510
|
IE number, or Information Element Number, is a unique identifier assigned to specific elements within network communication
protocols, facilitating standardized interpretation and management. For more information, refer IP Flow Information Export
(IPFIX) Entities.
Benefits of GTP-U Traffic Monitoring
The following are some of the key benefits of enabling GTP-U traffic monitoring on your router.
-
Monitor Network Slicing: 5G network slicing enables the creation of dedicated virtual networks with specific functionalities.
By exporting GTP traffic records, you can conduct detailed analysis of the traffic within each slice, ensuring optimal performance
and resource allocation.
-
Flexible Deployment: GTP-U monitoring can be implemented on any network node where the outermost traffic encapsulation utilizes
the GTP protocol. This capability can be activated to monitor traffic at various strategic points across the network infrastructure.
-
IPv6 Support for 5G Deployments: With the expansion of 5G networks, there’s an increasing use of IPv6, especially in scenarios
where 5G base stations (gNodeBs) connect to User Plane Functions (UPFs) using IPv6. This feature ensures that flow records
for such IPv6 GTP-U traffic can be captured and exported effectively.
GTP-U Traffic Record Templates
This section provides you with all the record template options available for monitoring GTP-U traffic.
IPv4-GTP-IPv4 Record
This record captures GTP-U traffic details between IPv4 interfaces, essential for monitoring and optimizing IPv4 5G network
performance.
S.No |
IPFIX |
NetFlow V9 |
|
IE # |
Field |
Size
(Bytes)
|
IE # |
Field |
Size
(Bytes)
|
46 |
256 |
V9_ETH_TYPE |
2 |
256 |
V9_ETH_TYPE |
2 |
47 |
243 |
V9_DOT1Q_VLAN_ID |
2 |
243 |
V9_DOT1Q_VLAN_ID |
2 |
48 |
245 |
V9_DOT1Q_CUST_VLAN_ID |
2 |
245 |
V9_DOT1Q_CUST_VLAN_ID |
2 |
49 |
244 |
V9_DOT1Q_PRIORITY |
1 |
244 |
V9_DOT1Q_PRIORITY |
1 |
50 |
198 |
IN_BYTES_DELTA |
8 |
444 |
V9_AS_PATH |
128 |
1 |
2 |
V9_IN_PKTS |
8 |
2 |
V9_IN_PKTS |
4 |
2 |
1 |
V9_IN_BYTES |
8 |
1 |
V9_IN_BYTES |
4 |
3 |
10 |
V9_INPUT_SNMP |
4 |
10 |
V9_INPUT_SNMP |
4 |
4 |
14 |
V9_OUTPUT_SNMP |
4 |
14 |
V9_OUTPUT_SNMP |
4 |
5 |
22 |
V9_FIRST_SWITCHED |
4 |
22 |
V9_FIRST_SWITCHED |
4 |
6 |
21 |
V9_LAST_SWITCHED |
4 |
21 |
V9_LAST_SWITCHED |
4 |
7 |
89 |
V9_FORWARDING_STATUS |
4 |
89 |
V9_FORWARDING_STATUS |
1 |
8 |
61 |
V9_DIRECTION |
1 |
61 |
V9_DIRECTION |
1 |
9 |
302 |
SELECTOR_ID |
4 |
48 |
V9_FLOW_SAMPLER_ID |
2 |
10 |
234 |
V9_VRF_ID_INPUT |
4 |
234 |
V9_VRF_ID_INPUT |
4 |
11 |
235 |
V9_VRF_ID_OUTPUT |
4 |
235 |
V9_VRF_ID_OUTPUT |
4 |
12 |
55 |
V9_POST_QOS_TOS |
1 |
55 |
V9_POST_QOS_TOS |
1 |
13 |
8 |
V9_IPV4SRCADDR |
4 |
8 |
V9_IPV4SRCADDR |
4 |
14 |
12 |
V9_IPV4DSTADDR |
4 |
12 |
V9_IPV4DSTADDR |
4 |
15 |
7 |
V9_SRC_PORT |
2 |
7 |
V9_SRC_PORT |
2 |
16 |
11 |
V9_DST_PORT |
2 |
11 |
V9_DST_PORT |
2 |
17 |
9 |
V9_SRC_MASK |
1 |
9 |
V9_SRC_MASK |
1 |
18 |
13 |
V9_DST_MASK |
1 |
13 |
V9_DST_MASK |
1 |
19 |
4 |
V9_PROT |
1 |
4 |
V9_PROT |
1 |
20 |
6 |
V9_TCP_FLAGS |
2 |
6 |
V9_TCP_FLAGS |
1 |
21 |
5 |
V9_TOS |
1 |
5 |
V9_TOS |
1 |
22 |
52 |
V9_MIN_TTL |
1 |
52 |
V9_MIN_TTL |
1 |
23 |
53 |
V9_MAX_TTL |
1 |
53 |
V9_MAX_TTL |
1 |
24 |
54 |
V9_IP_IDENT |
4 |
54 |
V9_IP_IDENT |
4 |
25 |
197 |
IPFIX_FRAG_FLAGS |
1 |
197 |
IPFIX_FRAG_FLAGS |
1 |
26 |
88 |
V9_FRAGMENT_OFFSET |
2 |
88 |
V9_FRAGMENT_OFFSET |
2 |
27 |
184 |
IPFIX_TCP_SEQ_NUM |
4 |
184 |
IPFIX_TCP_SEQ_NUM |
4 |
28 |
25 |
V9_MIN_PKT_LEN |
8 |
25 |
V9_MIN_PKT_LEN |
8 |
29 |
26 |
V9_MAX_PKT_LEN |
8 |
26 |
V9_MAX_PKT_LEN |
8 |
30 |
503 |
IPFIX_L4_CHECKSUM |
2 |
503 |
IPFIX_L4_CHECKSUM |
2 |
31 |
504 |
IPFIX_ICMP_8_BYTES |
8 |
504 |
IPFIX_ICMP_8_BYTES |
8 |
32 |
507 |
GTP_TEID |
4 |
507 |
GTP_TEID |
4 |
33 |
509 |
GTP_QFI |
1 |
509 |
GTP_QFI |
1 |
34 |
510 |
GTP_SESS_DIR |
1 |
510 |
GTP_SESS_DIR |
1 |
35 |
8 |
V9_IPV4SRCADDR |
4 |
8 |
V9_IPV4SRCADDR |
4 |
36 |
12 |
V9_IPV4DSTADDR |
4 |
12 |
V9_IPV4DSTADDR |
4 |
37 |
5 |
V9_TOS |
1 |
5 |
V9_TOS |
1 |
38 |
16 |
V9_SRC_AS |
4 |
16 |
V9_SRC_AS |
4 |
39 |
17 |
V9_DST_AS |
4 |
17 |
V9_DST_AS |
4 |
40 |
18 |
V9_BGP_IPV4_NEXT_HOP |
4 |
18 |
V9_BGP_IPV4_NEXT_HOP |
4 |
41 |
63 |
V9_BGP_IPV6_NEXT_HOP |
16 |
63 |
V9_BGP_IPV6_NEXT_HOP |
16 |
42 |
15 |
V9_IPV4_NEXT_HOP |
4 |
15 |
V9_IPV4_NEXT_HOP |
4 |
43 |
62 |
V9_IPV6_NEXT_HOP |
16 |
62 |
V9_IPV6_NEXT_HOP |
16 |
44 |
56 |
V9_IN_SRC_MAC |
6 |
56 |
V9_IN_SRC_MAC |
6 |
45 |
80 |
V9_IN_DST_MAC |
6 |
80 |
V9_IN_DST_MAC |
6 |
46 |
256 |
V9_ETH_TYPE |
2 |
256 |
V9_ETH_TYPE |
2 |
47 |
243 |
V9_DOT1Q_VLAN_ID |
2 |
243 |
V9_DOT1Q_VLAN_ID |
2 |
48 |
245 |
V9_DOT1Q_CUST_VLAN_ID |
2 |
245 |
V9_DOT1Q_CUST_VLAN_ID |
2 |
49 |
244 |
V9_DOT1Q_PRIORITY |
1 |
244 |
V9_DOT1Q_PRIORITY |
1 |
50 |
198 |
IN_BYTES_DELTA |
8 |
444 |
V9_AS_PATH |
128 |
51 |
|
|
|
445 |
V9_STD_COMM |
128 |
IPv4-GTP-IPv6 Record
This record monitors GTP-U traffic that starts in an IPv4 network and transitions into an IPv6 network, aiding in cross-network
compatibility analysis.
S.No |
IPFIX |
NetFlow V9 |
|
IE # |
Field |
Size
(Bytes)
|
IE # |
Field |
Size
(Bytes)
|
1 |
2 |
V9_IN_PKTS |
8 |
2 |
V9_IN_PKTS |
4 |
2 |
1 |
V9_IN_BYTES |
8 |
1 |
V9_IN_BYTES |
4 |
3 |
10 |
V9_INPUT_SNMP |
4 |
10 |
V9_INPUT_SNMP |
4 |
4 |
14 |
V9_OUTPUT_SNMP |
4 |
14 |
V9_OUTPUT_SNMP |
4 |
5 |
22 |
V9_FIRST_SWITCHED |
4 |
22 |
V9_FIRST_SWITCHED |
4 |
6 |
21 |
V9_LAST_SWITCHED |
4 |
21 |
V9_LAST_SWITCHED |
4 |
7 |
89 |
V9_FORWARDING_STATUS |
4 |
89 |
V9_FORWARDING_STATUS |
1 |
8 |
61 |
V9_DIRECTION |
1 |
61 |
V9_DIRECTION |
1 |
9 |
302 |
SELECTOR_ID |
4 |
48 |
V9_FLOW_SAMPLER_ID |
2 |
10 |
234 |
V9_VRF_ID_INPUT |
4 |
234 |
V9_VRF_ID_INPUT |
4 |
11 |
235 |
V9_VRF_ID_OUTPUT |
4 |
235 |
V9_VRF_ID_OUTPUT |
4 |
12 |
55 |
V9_POST_QOS_TOS |
1 |
55 |
V9_POST_QOS_TOS |
1 |
13 |
27 |
V9_IPV6_SRC_ADDR |
16 |
27 |
V9_IPV6_SRC_ADDR |
16 |
14 |
28 |
V9_IPV6_DST_ADDR |
16 |
28 |
V9_IPV6_DST_ADDR |
16 |
15 |
31 |
V9_FLOW_LABEL |
4 |
31 |
V9_FLOW_LABEL |
3 |
16 |
64 |
V9_IPV6_OPTION_HEADERS |
4 |
64 |
V9_IPV6_OPTION_HEADERS |
4 |
17 |
7 |
V9_SRC_PORT |
2 |
7 |
V9_SRC_PORT |
2 |
18 |
11 |
V9_DST_PORT |
2 |
11 |
V9_DST_PORT |
2 |
19 |
30 |
V9_IPV6_DST_MASK |
1 |
30 |
V9_IPV6_DST_MASK |
1 |
20 |
29 |
V9_IPV6_SRC_MASK |
1 |
29 |
V9_IPV6_SRC_MASK |
1 |
21 |
4 |
V9_PROT |
1 |
4 |
V9_PROT |
1 |
22 |
6 |
V9_TCP_FLAGS |
2 |
6 |
V9_TCP_FLAGS |
1 |
23 |
5 |
V9_TOS |
1 |
5 |
V9_TOS |
1 |
24 |
52 |
V9_MIN_TTL |
1 |
52 |
V9_MIN_TTL |
1 |
25 |
53 |
V9_MAX_TTL |
1 |
53 |
V9_MAX_TTL |
1 |
26 |
54 |
V9_IP_IDENT |
4 |
54 |
V9_IP_IDENT |
4 |
27 |
197 |
IPFIX_FRAG_FLAGS |
1 |
197 |
IPFIX_FRAG_FLAGS |
1 |
28 |
88 |
V9_FRAGMENT_OFFSET |
2 |
88 |
V9_FRAGMENT_OFFSET |
2 |
29 |
184 |
IPFIX_TCP_SEQ_NUM |
4 |
184 |
IPFIX_TCP_SEQ_NUM |
4 |
30 |
25 |
V9_MIN_PKT_LEN |
8 |
25 |
V9_MIN_PKT_LEN |
8 |
31 |
26 |
V9_MAX_PKT_LEN |
8 |
26 |
V9_MAX_PKT_LEN |
8 |
32 |
503 |
IPFIX_L4_CHECKSUM |
2 |
503 |
IPFIX_L4_CHECKSUM |
2 |
33 |
504 |
IPFIX_ICMP_8_BYTES |
8 |
504 |
IPFIX_ICMP_8_BYTES |
8 |
34 |
507 |
GTP_TEID |
4 |
507 |
GTP_TEID |
4 |
35 |
509 |
GTP_QFI |
1 |
509 |
GTP_QFI |
1 |
36 |
510 |
GTP_SESS_DIR |
1 |
510 |
GTP_SESS_DIR |
1 |
37 |
8 |
V9_IPV4SRCADDR |
4 |
8 |
V9_IPV4SRCADDR |
4 |
38 |
12 |
V9_IPV4DSTADDR |
4 |
12 |
V9_IPV4DSTADDR |
4 |
39 |
5 |
V9_TOS |
1 |
5 |
V9_TOS |
1 |
40 |
16 |
V9_SRC_AS |
4 |
16 |
V9_SRC_AS |
4 |
41 |
17 |
V9_DST_AS |
4 |
17 |
V9_DST_AS |
4 |
42 |
18 |
V9_BGP_IPV4_NEXT_HOP |
4 |
18 |
V9_BGP_IPV4_NEXT_HOP |
4 |
43 |
63 |
V9_BGP_IPV6_NEXT_HOP |
16 |
63 |
V9_BGP_IPV6_NEXT_HOP |
16 |
44 |
15 |
V9_IPV4_NEXT_HOP |
4 |
15 |
V9_IPV4_NEXT_HOP |
4 |
45 |
62 |
V9_IPV6_NEXT_HOP |
16 |
62 |
V9_IPV6_NEXT_HOP |
16 |
46 |
56 |
V9_IN_SRC_MAC |
6 |
56 |
V9_IN_SRC_MAC |
6 |
47 |
80 |
V9_IN_DST_MAC |
6 |
80 |
V9_IN_DST_MAC |
6 |
48 |
256 |
V9_ETH_TYPE |
2 |
256 |
V9_ETH_TYPE |
2 |
49 |
243 |
V9_DOT1Q_VLAN_ID |
2 |
243 |
V9_DOT1Q_VLAN_ID |
2 |
50 |
245 |
V9_DOT1Q_CUST_VLAN_ID |
2 |
245 |
V9_DOT1Q_CUST_VLAN_ID |
2 |
51 |
244 |
V9_DOT1Q_PRIORITY |
1 |
244 |
V9_DOT1Q_PRIORITY |
1 |
52 |
198 |
IN_BYTES_DELTA |
8 |
444 |
V9_AS_PATH |
128 |
53 |
|
|
|
445 |
V9_STD_COMM |
128 |
IPv6-GTP-IPv4 Record
This record monitors GTP-U traffic moving from an IPv6 network to an IPv4 network, ensuring seamless data flow across different
network types.
S.No |
IPFIX |
NetFlow V9 |
|
IE # |
Field |
Size
(Bytes)
|
IE # |
Field |
Size
(Bytes)
|
1 |
2 |
V9_IN_PKTS |
8 |
2 |
V9_IN_PKTS |
4 |
2 |
1 |
V9_IN_BYTES |
8 |
1 |
V9_IN_BYTES |
4 |
3 |
10 |
V9_INPUT_SNMP |
4 |
10 |
V9_INPUT_SNMP |
4 |
4 |
14 |
V9_OUTPUT_SNMP |
4 |
14 |
V9_OUTPUT_SNMP |
4 |
5 |
21 |
V9_LAST_SWITCHED |
4 |
21 |
V9_LAST_SWITCHED |
4 |
6 |
22 |
V9_FIRST_SWITCHED |
4 |
22 |
V9_FIRST_SWITCHED |
4 |
7 |
89 |
V9_FORWARDING_STATUS |
4 |
89 |
V9_FORWARDING_STATUS |
1 |
8 |
61 |
V9_DIRECTION |
1 |
61 |
V9_DIRECTION |
1 |
9 |
302 |
SELECTOR_ID |
4 |
48 |
V9_FLOW_SAMPLER_ID |
2 |
10 |
234 |
V9_VRF_ID_INPUT |
4 |
234 |
V9_VRF_ID_INPUT |
4 |
11 |
235 |
V9_VRF_ID_OUTPUT |
4 |
235 |
V9_VRF_ID_OUTPUT |
4 |
12 |
55 |
V9_POST_QOS_TOS |
1 |
55 |
V9_POST_QOS_TOS |
1 |
13 |
8 |
V9_IPV4SRCADDR |
4 |
8 |
V9_IPV4SRC4ADDR |
4 |
14 |
12 |
V9_IPV4DSTADDR |
4 |
12 |
V9_IPV4DSTADDR |
4 |
15 |
7 |
V9_SRC_PORT |
2 |
7 |
V9_SRC_PORT |
2 |
16 |
11 |
V9_DST_PORT |
2 |
11 |
V9_DST_PORT |
2 |
17 |
9 |
V9_SRC_MASK |
1 |
9 |
V9_SRRC_MASK |
1 |
18 |
13 |
V9_DST_MASK |
1 |
13 |
V9_DST_MASK |
1 |
19 |
4 |
V9_PROT |
1 |
4 |
V9_PROT |
1 |
20 |
6 |
V9_TCP_FLAGS |
2 |
6 |
V9_TCP_FLAGS |
1 |
21 |
5 |
V9_TOS |
1 |
5 |
V9_TOS |
1 |
22 |
52 |
V9_MIN_TTL |
1 |
52 |
V9_MIN_TTL |
1 |
23 |
53 |
V9_MAX_TTL |
1 |
53 |
V9_MAX_TTL |
1 |
24 |
54 |
V9_IP_IDENT |
4 |
54 |
V9_IP_IDENT |
4 |
25 |
197 |
IPFIX_FRAG_FLAGS |
1 |
197 |
IPFIX_FRAG_FLAGS |
1 |
26 |
88 |
V9_FRAGMENT_OFFSET |
2 |
88 |
V9_FRAGMENT_OFFSET |
2 |
27 |
184 |
IPFIX_TCP_SEQ_NUM |
4 |
184 |
IPFIX_TCP_SEQ_NUM |
4 |
28 |
25 |
V9_MIN_PKT_LEN |
8 |
25 |
V9_MIN_PKT_LEN |
8 |
29 |
26 |
V9_MAX_PKT_LEN |
8 |
26 |
V9_MAX_PKT_LEN |
8 |
30 |
503 |
IPFIX_L4_CHECKSUM |
2 |
503 |
IPFIX_L4_CHECKSUM |
2 |
31 |
504 |
IPFIX_ICMP_8_BYTES |
8 |
504 |
IPFIX_ICMP_8_BYTES |
8 |
32 |
507 |
GTP_TEID |
4 |
507 |
GTP_TEID |
4 |
33 |
509 |
GTP_QFI |
1 |
509 |
GTP_QFI |
1 |
34 |
510 |
GTP_SESS_DIR |
1 |
510 |
GTP_SESS_DIR |
1 |
35 |
27 |
V9_IPV6_SRC_ADDR |
16 |
27 |
V9_IPV6_SRC_ADDR |
16 |
36 |
28 |
V9_IPV6_DST_ADDR |
16 |
28 |
V9_IPV6_DST_ADDR |
16 |
37 |
5 |
V9_TOS |
1 |
5 |
V9_TOS |
1 |
38 |
31 |
V9_FLOW_LABEL |
4 |
31 |
V9_FLOW_LABEL |
3 |
39 |
16 |
V9_SRC_AS |
4 |
16 |
V9_SRC_AS |
4 |
40 |
17 |
V9_DST_AS |
4 |
17 |
V9_DST_AS |
4 |
41 |
18 |
V9_BGP_IPV4_NEXT_HOP |
4 |
18 |
V9_BGP_IPV4_NEXT_HOP |
4 |
42 |
63 |
V9_BGP_IPV6_NEXT_HOP |
16 |
63 |
V9_BGP_IPV6_NEXT_HOP |
16 |
43 |
15 |
V9_IPV4_NEXT_HOP |
4 |
15 |
V9_IPV4_NEXT_HOP |
4 |
44 |
62 |
V9_IPV6_NEXT_HOP |
16 |
62 |
V9_IPV6_NEXT_HOP |
16 |
45 |
56 |
V9_IN_SRC_MAC |
6 |
56 |
V9_IN_SRC_MAC |
6 |
46 |
80 |
V9_IN_DST_MAC |
6 |
80 |
V9_IN_DST_MAC |
6 |
47 |
256 |
V9_ETH_TYPE |
2 |
256 |
V9_ETH_TYPE |
2 |
48 |
243 |
V9_DOT1Q_VLAN_ID |
2 |
243 |
V9_DOT1Q_VLAN_ID |
2 |
49 |
245 |
V9_DOT1Q_CUST_VLAN_ID |
2 |
245 |
V9_DOT1Q_CUST_VLAN_ID |
2 |
50 |
244 |
V9_DOT1Q_PRIORITY |
1 |
244 |
V9_DOT1Q_PRIORITY |
1 |
51 |
198 |
IN_BYTES_DELTA |
8 |
444 |
V9_AS_PATH |
128 |
52 |
|
|
|
445 |
V9_STD_COMM |
128 |
IPv6-GTP-IPv6 Record
This record provides insights into GTP-U traffic within IPv6 networks, crucial for maintaining the integrity and efficiency
of modern 5G infrastructures.
S.No |
IPFIX |
NetFlow V9 |
|
IE # |
Field |
Size
(Bytes)
|
IE # |
Field |
Size
(Bytes)
|
1 |
2 |
V9_IN_PKTS |
8 |
2 |
V9_IN_PKTS |
4 |
2 |
1 |
V9_IN_BYTES |
8 |
1 |
V9_IN_BYTES |
4 |
3 |
10 |
V9_INPUT_SNMP |
4 |
10 |
V9_INPUT_SNMP |
4 |
4 |
14 |
V9_OUTPUT_SNMP |
4 |
14 |
V9_OUTPUT_SNMP |
4 |
5 |
21 |
V9_LAST_SWITCHED |
4 |
21 |
V9_LAST_SWITCHED |
4 |
6 |
22 |
V9_FIRST_SWITCHED |
4 |
22 |
V9_FIRST_SWITCHED |
4 |
7 |
89 |
V9_FORWARDING_STATUS |
4 |
89 |
V9_FORWARDING_STATUS |
1 |
8 |
61 |
V9_DIRECTION |
1 |
61 |
V9_DIRECTION |
1 |
9 |
302 |
SELECTOR_ID |
4 |
48 |
V9_FLOW_SAMPLER_ID |
2 |
10 |
234 |
V9_VRF_ID_INPUT |
4 |
234 |
V9_VRF_ID_INPUT |
4 |
11 |
235 |
V9_VRF_ID_OUTPUT |
4 |
235 |
V9_VRF_ID_OUTPUT |
4 |
12 |
55 |
V9_POST_QOS_TOS |
1 |
55 |
V9_POS_QOS_TOS |
1 |
13 |
27 |
V9_IPV6_SRC_ADDR |
16 |
27 |
V9_IPV6_SRC_ADDR |
16 |
14 |
28 |
V9_IPV6_DST_ADDR |
16 |
28 |
V9_IPV6_DST_ADDR |
16 |
15 |
31 |
V9_FLOW_LABEL |
4 |
31 |
V9_FLOW_LABEL |
3 |
16 |
64 |
V9_IPV6_OPTION_HEADERS |
4 |
64 |
V9_IPV6_OPTION_HEADERS |
4 |
17 |
7 |
V9_SRC_PORT |
2 |
7 |
V9_SRC_PORT |
2 |
18 |
11 |
V9_DST_PORT |
2 |
11 |
V9_DST_PORT |
2 |
19 |
30 |
V9_IPV6_DST_MASK |
1 |
30 |
V9_IPV6_DST_MASK |
1 |
20 |
29 |
V9_IPV6_SRC_MASK |
1 |
29 |
V9_IPV6_SRC_MASK |
1 |
21 |
4 |
V9_PROT |
1 |
4 |
V9_PROT |
1 |
22 |
6 |
V9_TCP_FLAGS |
2 |
6 |
V9_TCP_FLAGS |
1 |
23 |
5 |
V9_TOS |
1 |
5 |
V9_TOS |
1 |
24 |
52 |
V9_MIN_TTL |
1 |
52 |
V9_MIN_TTL |
1 |
25 |
53 |
V9_MAX_TTL |
1 |
53 |
V9_MAX_TTL |
1 |
26 |
54 |
V9_IP_IDENT |
4 |
54 |
V9_IP_IDENT |
4 |
27 |
197 |
IPFIX_FRAG_FLAGS |
1 |
197 |
IPFIX_FRAG_FLAGS |
1 |
28 |
88 |
V9_FRAGMENT_OFFSET |
2 |
88 |
V9_FRAGMENT_OFFSET |
2 |
29 |
184 |
IPFIX_TCP_SEQ_NUM |
4 |
184 |
IPFIX_TCP_SEQ_NUM |
4 |
30 |
25 |
V9_MIN_PKT_LEN |
8 |
25 |
V9_MIN_PKT_LEN |
8 |
31 |
26 |
V9_MAX_PKT_LEN |
8 |
26 |
V9_MAX_PKT_LEN |
8 |
32 |
503 |
IPFIX_L4_CHECKSUM |
2 |
503 |
IPFIX_L4_CHECKSUM |
2 |
33 |
504 |
IPFIX_ICMP_8_BYTES |
8 |
504 |
IPFIX_ICMP_8_BYTES |
8 |
34 |
507 |
GTP_TEID |
4 |
507 |
GTP_TEID |
4 |
35 |
509 |
GTP_QFI |
1 |
509 |
GTP_QFI |
1 |
36 |
510 |
GTP_SESS_DIR |
1 |
510 |
GTP_SESS_DIR |
1 |
37 |
27 |
V9_IPV6_SRC_ADDR |
16 |
27 |
V9_IPV6_SRC_ADDR |
16 |
38 |
28 |
V9_IPV6_DST_ADDR |
16 |
28 |
V9_IPV6_DST_ADDR |
16 |
39 |
5 |
V9_TOS |
1 |
5 |
V9_TOS |
1 |
40 |
31 |
V9_FLOW_LABEL |
4 |
31 |
V9_FLOW_LABEL |
3 |
41 |
16 |
V9_SRC_AS |
4 |
16 |
V9_SRC_AS |
4 |
42 |
17 |
V9_DST_AS |
4 |
17 |
V9_DST_AS |
4 |
43 |
18 |
V9_BGP_IPV4_NEXT_HOP |
4 |
18 |
V9_BGP_IPV4_NEXT_HOP |
4 |
44 |
63 |
V9_BGP_IPV6_NEXT_HOP |
16 |
63 |
V9_BGP_IPV6_NEXT_HOP |
16 |
45 |
15 |
V9_IPV4_NEXT_HOP |
4 |
15 |
V9_IPV4_NEXT_HOP |
4 |
46 |
62 |
V9_IPV6_NEXT_HOP |
16 |
62 |
V9_IPV6_NEXT_HOP |
16 |
47 |
56 |
V9_IN_SRC_MAC |
6 |
56 |
V9_IN_SRC_MAC |
6 |
48 |
80 |
V9_IN_DST_MAC |
6 |
80 |
V9_IN_DST_MAC |
6 |
49 |
256 |
V9_ETH_TYPE |
2 |
256 |
V9_ETH_TYPE |
2 |
50 |
243 |
V9_DOT1Q_VLAN_ID |
2 |
243 |
V9_DOT1Q_VLAN_ID |
2 |
51 |
245 |
V9_DOT1Q_CUST_VLAN_ID |
2 |
245 |
V9_DOT1Q_CUST_VLAN_ID |
2 |
52 |
244 |
V9_DOT1Q_PRIORITY |
1 |
244 |
V9_DOT1Q_PRIORITY |
1 |
53 |
198 |
IN_BYTES_DELTA |
8 |
444 |
V9_AS_PATH |
128 |
54 |
|
|
|
445 |
V9_STD_COMM |
128 |
Extended Template Records
IPv4 Peering Extended Record
This record extends monitoring capabilities to include detailed peering information for IPv4 traffic, enhancing traffic management
and security measures.
S.No |
IPFIX |
NetFlow V9 |
|
IE # |
Field |
Size
(Bytes)
|
IE # |
Field |
Size
(Bytes)
|
1 |
2 |
V9_IN_PKTS |
8 |
2 |
V9_IN_PKTS |
4 |
2 |
1 |
V9_IN_BYTES |
8 |
1 |
V9_IN_BYTES |
4 |
3 |
8 |
V9_IPV4SRCADDR |
4 |
8 |
V9_IPV4SRCADDR |
4 |
4 |
12 |
V9_IPV4DSTADDR |
4 |
12 |
V9_IPV4DSTADDR |
4 |
5 |
10 |
V9_INPUT_SNMP |
4 |
10 |
V9_INPUT_SNMP |
4 |
6 |
14 |
V9_OUTPUT_SNMP |
4 |
14 |
V9_OUTPUT_SNMP |
4 |
7 |
22 |
V9_FIRST_SWITCHED |
4 |
22 |
V9_FIRST_SWITCHED |
4 |
8 |
21 |
V9_LAST_SWITCHED |
4 |
21 |
V9_LAST_SWITCHED |
4 |
9 |
7 |
V9_SRC_PORT |
2 |
7 |
V9_SRC_PORT |
2 |
10 |
11 |
V9_DST_PORT |
2 |
11 |
V9_DST_PORT |
2 |
11 |
16 |
V9_SRC_AS |
4 |
16 |
V9_SRC_AS |
4 |
12 |
17 |
V9_DST_AS |
4 |
17 |
V9_DST_AS |
4 |
13 |
18 |
V9_BGP_IPV4_NEXT_HOP |
4 |
18 |
V9_BGP_IPV6_NEXT_HOP |
4 |
14 |
63 |
V9_BGP_IPV6_NEXT_HOP |
16 |
63 |
V9_BGP_IPV6_NEXT_HOP |
16 |
15 |
15 |
V9_IPV4_NEXT_HOP |
4 |
15 |
V9_IPV4_NEXT_HOP |
4 |
16 |
62 |
V9_IPV6_NEXT_HOP |
16 |
62 |
V9_IPV6_NEXT_HOP |
16 |
17 |
9 |
V9_SRC_MASK |
1 |
9 |
V9_SRC_MASK |
1 |
18 |
13 |
V9_DST_MASK |
1 |
13 |
V9_DST_MASK |
1 |
19 |
4 |
V9_PROT |
1 |
4 |
V9_PROT |
1 |
20 |
6 |
V9_TCP_FLAGS |
2 |
6 |
V9_TCP_FLAGS |
1 |
21 |
5 |
V9_TOS |
1 |
5 |
V9_TOS |
1 |
22 |
55 |
V9_POST_QOS_TOS |
1 |
55 |
V9_POST_QOS_TOS |
1 |
23 |
61 |
V9_DIRECTION |
1 |
61 |
V9_DIRECTION |
1 |
24 |
89 |
V9_FORWARDING_STATUS |
4 |
89 |
V9_FORWARDING_STATUS |
1 |
25 |
302 |
SELECTOR_ID |
4 |
48 |
V9_FLOW_SAMPLER_ID |
2 |
26 |
234 |
V9_VRF_ID_INPUT |
4 |
234 |
V9_VRF_ID_INPUT |
4 |
27 |
235 |
V9_VRF_ID_OUTPUT |
4 |
235 |
V9_VRF_ID_OUTPUT |
4 |
28 |
52 |
V9_MIN_TTL |
1 |
52 |
V9_MIN_TTL |
1 |
29 |
53 |
V9_MAX_TTL |
1 |
53 |
V9_MAX_TTL |
1 |
30 |
54 |
V9_IP_IDENT |
4 |
54 |
V9_IP_IDENT |
4 |
31 |
197 |
IPFIX_FRAG_FLAGS |
1 |
197 |
IPFIX_FRAG_FLAGS |
1 |
32 |
88 |
V9_FRAGMENT_OFFSET |
2 |
88 |
V9_FRAGMENT_OFFSET |
2 |
33 |
184 |
IPFIX_TCP_SEQ_NUM |
4 |
184 |
IPFIX_TCP_SEQ_NUM |
4 |
34 |
25 |
V9_MIN_PKT_LEN |
8 |
25 |
V9_MIN_PKT_LEN |
8 |
35 |
26 |
V9_MAX_PKT_LEN |
8 |
26 |
V9_MAX_PKT_LEN |
8 |
36 |
503 |
IPFIX_L4_CHECKSUM |
2 |
503 |
IPFIX_L4_CHECKSUM |
2 |
37 |
504 |
IPFIX_ICMP_8_BYTES |
8 |
504 |
IPFIX_ICMP_8_BYTES |
8 |
38 |
56 |
V9_IN_SRC_MAC |
6 |
56 |
V9_IN_SRC_MAC |
6 |
39 |
80 |
V9_IN_DST_MAC |
6 |
80 |
V9_IN_DST_MAC |
6 |
40 |
256 |
V9_ETH_TYPE |
2 |
256 |
V9_ETH_TYPE |
2 |
41 |
243 |
V9_DOT1Q_VLAN_ID |
2 |
243 |
V9_DOT1Q_VLAN_ID |
2 |
42 |
245 |
V9_DOT1Q_CUST_VLAN_ID |
2 |
245 |
V9_DOT1Q_CUST_VLAN_ID |
2 |
43 |
244 |
V9_DOT1Q_PRIORITY |
1 |
244 |
V9_DOT1Q_PRIORITY |
1 |
44 |
198 |
IN_BYTES_DELTA |
8 |
444 |
V9_AS_PATH |
128 |
45 |
|
|
|
445 |
V9_STD_COMM |
128 |
IPv6 Peering Extended Record
This record offers comprehensive peering data for IPv6 traffic, supporting advanced traffic analysis and network optimization
strategies.
S.No |
IPFIX |
NetFlow V9 |
|
IE # |
Field |
Size
(Bytes)
|
IE # |
Field |
Size
(Bytes)
|
1 |
2 |
V9_IN_PKTS |
8 |
2 |
V9_IN_PKTS |
4 |
2 |
1 |
V9_IN_BYTES |
8 |
1 |
V9_IN_BYTES |
4 |
3 |
27 |
V9_IPV6_SRC_ADDR |
16 |
27 |
V9_IPV6_SRC_ADDR |
16 |
4 |
28 |
V9_IPV6_DST_ADDR |
16 |
28 |
V9_IPV6_DST_ADDR |
16 |
5 |
10 |
V9_INPUT_SNMP |
4 |
10 |
V9_INPUT_SNMP |
4 |
6 |
14 |
V9_OUTPUT_SNMP |
4 |
14 |
V9_OUTPUT_SNMP |
4 |
7 |
22 |
V9_FIRST_SWITCHED |
4 |
22 |
V9_FIRST_SWITCHED |
4 |
8 |
21 |
V9_LAST_SWITCHED |
4 |
21 |
V9_LAST_SWITCHED |
4 |
9 |
31 |
V9_FLOW_LABEL |
4 |
31 |
V9_FLOW_LABEL |
3 |
10 |
64 |
V9_IPV6_OPTION_HEADERS |
4 |
64 |
V9_IPV6_OPTION_HEADERS |
4 |
11 |
7 |
V9_SRC_PORT |
2 |
7 |
V9_SRC_PORT |
2 |
12 |
11 |
V9_DST_PORT |
2 |
11 |
V9_DST_PORT |
2 |
13 |
16 |
V9_SRC_AS |
4 |
16 |
V9_SRC_AS |
4 |
14 |
17 |
V9_DST_AS |
4 |
17 |
V9_DST_AS |
4 |
15 |
18 |
V9_BGP_IPV4_NEXT_HOP |
4 |
18 |
V9_BGP_IPV6_NEXT_HOP |
4 |
16 |
63 |
V9_BGP_IPV6_NEXT_HOP |
16 |
63 |
V9_BGP_IPV6_NEXT_HOP |
16 |
17 |
15 |
V9_IPV4_NEXT_HOP |
4 |
15 |
V9_IPV4_NEXT_HOP |
4 |
18 |
62 |
V9_IPV6_NEXT_HOP |
16 |
62 |
V9_IPV6_NEXT_HOP |
16 |
19 |
30 |
V9_IPV6_DST_MASK |
1 |
30 |
V9_IPV6_DST_MASK |
1 |
20 |
29 |
V9_IPV6_SRC_MASK |
1 |
29 |
V9_IPV6_SRC_MASK |
1 |
21 |
4 |
V9_PROT |
1 |
4 |
V9_PROT |
1 |
22 |
6 |
V9_TCP_FLAGS |
2 |
6 |
V9_TCP_FLAGS |
1 |
23 |
5 |
V9_TOS |
1 |
5 |
V9_TOS |
1 |
24 |
55 |
V9_POST_QOS_TOS |
1 |
55 |
V9_POST_QOS_TOS |
1 |
25 |
61 |
V9_DIRECTION |
1 |
61 |
V9_DIRECTION |
1 |
26 |
89 |
V9_FORWARDING_STATUS |
4 |
89 |
V9_FORWARDING_STATUS |
1 |
27 |
302 |
SELECTOR_ID |
4 |
48 |
V9_FLOW_SAMPLER_ID |
2 |
28 |
234 |
V9_VRF_ID_INPUT |
4 |
234 |
V9_VRF_ID_INPUT |
4 |
29 |
235 |
V9_VRF_ID_OUTPUT |
4 |
235 |
V9_VRF_ID_OUTPUT |
4 |
30 |
52 |
V9_MIN_TTL |
1 |
52 |
V9_MIN_TTL |
1 |
31 |
53 |
V9_MAX_TTL |
1 |
53 |
V9_MAX_TTL |
1 |
32 |
54 |
V9_IP_IDENT |
4 |
54 |
V9_IP_IDENT |
4 |
33 |
197 |
IPFIX_FRAG_FLAGS |
1 |
197 |
IPFIX_FRAG_FLAGS |
1 |
34 |
88 |
V9_FRAGMENT_OFFSET |
2 |
88 |
V9_FRAGMENT_OFFSET |
2 |
35 |
184 |
IPFIX_TCP_SEQ_NUM |
4 |
184 |
IPFIX_TCP_SEQ_NUM |
4 |
36 |
25 |
V9_MIN_PKT_LEN |
8 |
25 |
V9_MIN_PKT_LEN |
8 |
37 |
26 |
V9_MAX_PKT_LEN |
8 |
26 |
V9_MAX_PKT_LEN |
8 |
38 |
503 |
IPFIX_L4_CHECKSUM |
2 |
503 |
IPFIX_L4_CHECKSUM |
2 |
39 |
504 |
IPFIX_ICMP_8_BYTES |
8 |
504 |
IPFIX_ICMP_8_BYTES |
8 |
40 |
56 |
V9_IN_SRC_MAC |
6 |
56 |
V9_IN_SRC_MAC |
6 |
41 |
80 |
V9_IN_DST_MAC |
6 |
80 |
V9_IN_DST_MAC |
6 |
42 |
256 |
V9_ETH_TYPE |
2 |
256 |
V9_ETH_TYPE |
2 |
43 |
243 |
V9_DOT1Q_VLAN_ID |
2 |
243 |
V9_DOT1Q_VLAN_ID |
2 |
44 |
245 |
V9_DOT1Q_CUST_VLAN_ID |
2 |
245 |
V9_DOT1Q_CUST_VLAN_ID |
2 |
45 |
244 |
V9_DOT1Q_PRIORITY |
1 |
244 |
V9_DOT1Q_PRIORITY |
1 |
46 |
198 |
IN_BYTES_DELTA |
8 |
444 |
V9_AS_PATH |
128 |
47 |
|
|
|
445 |
V9_STD_COMM |
128 |
Configure Netflow for GTP-U Traffic Monitoring
Configure a Flow ExporterRouter# configure
Router(config)# flow exporter-map Expo1
Router(config-fem)# source-address 2001:db8::0003
Router(config-fem)# destination 2001:db8::0002
Router(config-fem)# transport udp 1024
Router(config-fem)# version v9
Router(config-fem-ver)# options interface-table
Router(config-fem-ver)# commit
Router(config-fem-ver)# root
Router(config)#exit
Create a Flow Monitor for GTP-U monitoring
Router(config)#flow monitor-map ipv6
Router(config-fmm)#record ipv6 gtp
Router(config-fmm)#exporter Expo1
Router(config-fmm)#option bgpattr
Router(config-fmm)#cache timeout active 30
Router(config-fmm)#cache timeout inactive 5
Router(config-fmm)#exit
Configure a Flow Sampler
Router(config)# configure
Router(config)# sampler-map fsm1
Router(config-sm)# random 1 out-of 262144
Router(config)# exit
Router(config)#commit
Router(config)#exit
Router#
Apply a Flow Monitor Map and a Flow Sampler to a physical interface
Router#configure
Router(config)#interface HundredGigE 0/0/0/24
Router(config-if)#flow ipv6 monitor fmm-ipv6 sampler fsm1 ingress
Router(config-if)#commit
Router(config-if)#root
Router(config)#exit
Running Configuration
View the running configuration
Router# show run
flow exporter-map Expo1
version v9
options interface-table
!
transport udp 1024
source-address 2001:db8::3
destination 2001:db8::2
!
flow monitor-map fmm-ipv6
record ipv6
exporter Expo1
cache entries 500000
cache timeout active 60
cache timeout inactive 20
!
sampler-map fsm1
random 1 out-of 262144
!
interface HundredGigE0/0/0/24
shutdown
flow ipv6 monitor fmm-ipv6 sampler fsm1 ingress
!
end
Verification
Monitoring Cache Record for GTP-U services
In the following example, you can verify the GTP tunnel ID, QoS flow identifier, and GTP session number from the GTPTeid,
GTPQFI and GTPSESSDIR field.
Router#show flow monitor fmm-ipv6 cache format record location 0/0/CPU0
========== Record number: 1 ==========
RecordType : GTP Tunneled Record
IPV4SrcAddr : 0.0.0.0
IPV4DstAddr : 0.0.0.0
IPv6SrcAddr : 2001:db8:1::1
IPv6DstAddr : 2001:db8:2::2
L4SrcPort : 0
L4DestPort : 0
IPV4Prot : icmpv6
IPV4TOS : 0
InputInterface : Gi0/2/0/0
OutputInterface : 0
L4TCPFlags : 0
ForwardStatus : Fwd
FirstSwitched : 00 00:08:59:286
LastSwitched : 00 00:08:59:286
ByteCount : 1296
PacketCount : 1
Dir : Ing
GTPTeid : 11
GTPQFI : 0
GTPSESSDIR : 0
IPv6TC : 0
IPv6FlowLabel : 690680
MinimumTTL : 64
MaximumTTL : 64
IPFragFlags : 0
IPFragOffset : 181
IPIdentification : 0
IPV6Ident : 1546089621
L4SequenceNum : 0
L4Checksum : 0
MinPktLen : 100
MaxPktLen : 100
ICMPBytes : 0x8000cf945edf0002
OuterIPV4SrcAddr : 100.100.100.1
OuterIPV4DstAddr : 200.200.200.2
OuterIPv6SrcAddr : ::
OuterIPv6DstAddr : ::
BGPNextHopV4 : 0.0.0.0
BGPNextHopV6 : ::
BGPSrcOrigAS : 0
BGPDstOrigAS : 0
IPV4NextHop : 0.0.0.0
IPV6NextHop : ::
SrcMacAddr : 00:00:3f:11:50:20
DstMacAddr : 45:00:00:62:00:00
EthType : 2048
Dot1qPriority : 0
Dot1qVlanId : 0
CustVlanId : 0
InputVRFID : default
OutputVRFID : default
========== Record number: 2 ==========
RecordType : GTP Tunneled Record
IPV4SrcAddr : 192.168.12.2
IPV4DstAddr : 192.168.12.1
IPv6SrcAddr : ::
IPv6DstAddr : ::
L4SrcPort : 0
L4DestPort : 0
IPV4Prot : icmp
IPV4TOS : 0
InputInterface : Gi0/2/0/0
OutputInterface : 0
L4TCPFlags : 0
ForwardStatus : Fwd
FirstSwitched : 00 00:08:54:244
LastSwitched : 00 00:08:54:244
ByteCount : 64
PacketCount : 1
Dir : Ing
GTPTeid : 11
GTPQFI : 0
GTPSESSDIR : 0
IPv6TC : 0
IPv6FlowLabel : 0
MinimumTTL : 255
MaximumTTL : 255
IPFragFlags : 0
IPFragOffset : 97
IPIdentification : 4
IPV6Ident : 0
L4SequenceNum : 0
L4Checksum : 0
MinPktLen : 100
MaxPktLen : 100
ICMPBytes : 0xabcdabcdabcdabcd
OuterIPV4SrcAddr : 100.100.100.1
OuterIPV4DstAddr : 200.200.200.2
OuterIPv6SrcAddr : ::
OuterIPv6DstAddr : ::
BGPNextHopV4 : 0.0.0.0
BGPNextHopV6 : ::
BGPSrcOrigAS : 0
BGPDstOrigAS : 0
IPV4NextHop : 0.0.0.0
IPV6NextHop : ::
SrcMacAddr : 00:00:3f:11:50:20
DstMacAddr : 45:00:00:62:00:00
EthType : 2048
Dot1qPriority : 0
Dot1qVlanId : 0
CustVlanId : 0
InputVRFID : default
OutputVRFID : default