# GTP-U Schema Statistics

The GTP-U schema provides operational statistics that can be used for monitoring and troubleshooting the following products: GGSN, HNB-GW, P-GW, S-GW.
This schema provides the following types of statistics:

- Counter: A counter records incremental data cumulatively and rolls over when the counter limit is reached. All counter statistics are cumulative and reset only by one of the following methods: roll-over when limit is reached, after a system restart, or after a clear command is performed. The limit depends upon the data type.
- Gauge: A gauge statistic indicates a single value; a snapshot representation of a single point in time within a defined time frame. The gauge changes to a new value with each snapshot though a value may repeat from one period to the next. The limit depends upon the data type.
- Information: This type of statistic provides information, often intended to differentiate sets of statistics; for example, a VPN name or IP address. The type of information provided depends upon the data type.

The data type defines the format of the data for the value provided by the statistic. The following data types are used in statistics for this schema:

- Int32/Int64: An integer, either 32-bit or 64-bit: For statistics with the Int32 data type, the roll-over to zero limit is 4,294,967,295. For statistics with the Int64 data type, the roll-over to zero limit is 18,446,744,073,709,551,615.
- Float: A numeric value that can be represented fractionally; for example, 1.345.
- String: A series of ASCII alphanumeric characters in a single grouping, usually pre-configured.

IMPORTANT:

Unless otherwise indicated, all statistics are counters and all statistics are standards-based.

Key Variables: Every schema has some variables which are typically referred to as 'key variables'. These key variables provide index markers to identify which object the statistics apply to. For example, in the card schema, the card number (variable %card%) uniquely identifies a card. For an HA service, the keys would be "%vpnname%" plus "%servname%", as the combination uniquely identifies an HA service. So, in a given measurement interval, one row of statistics will be generated per unique key. The schema keys are identified in the Description section of the table.
Table 1. Bulk Statistic Variables in the GTP-U Schema

Variables | Description | Data Type
--- | --- | ---
vpnname | The name of the context configured on the system that is currently facilitating the service. This is a key variable. Type: Information | String
vpnid | The identification number of the context configured on the system that is currently facilitating the service. This is an internal reference number. This is a key variable. Type: Information | Int32
servname | The name of the service for which the statistics are displayed. This is a key variable. Type: Information | String
servid | The identification number of the service configured on the system that is currently facilitating the GTP-U service. This is an internal reference number. This is a key variable. Type: Information | Int32
curr-sess | The total number of current sessions. Type: Gauge | Int32
total-setup-sess | The total number of session set up using this service. Type: Counter | Int32
curr-gtpu0-sess | The total number of current GTP-0 sessions. Type: Gauge | Int32
curr-gtpu1-sess | The total number of current GTP-1 sessions. Type: Gauge | Int32
total-uplink-pkts | The total number of uplink packets. Type: Counter | Int64
total-uplink-bytes | The total number of uplink bytes. Type: Counter | Int64
total-dwlink-pkts | The total number of downlink packets. Type: Counter | Int64
total-dwlink-bytes | The total number of downlink bytes. Type: Counter | Int64
total-pkts-discard | The total number of discarded packets. Type: Counter | Int64
total-bytes-discard | The total number of discarded bytes. Type: Counter | Int64
qci#-uplink-pkts | The total number of QCI# uplink packets for the specified QCI number. Type: Counter | Int64
qci#-uplink-bytes | The total number of QCI# uplink bytes for the specified QCI number. Type: Counter | Int64
qci#-dwlink-pkts | The total number of QCI# downlink packets for the specified QCI number. Type: Counter | Int64
qci#-dwlink-byte | The total number of QCI# downlink bytes for the specified QCI number. Type: Counter | Int64
qci#-pkts-discard | The total number of discarded QCI# packets for the specified QCI number. Type: Counter | Int64
qci#-bytes-discard | The total number of discarded QCI# bytes for the specified QCI number. Type: Counter | Int64
non-std-qci-non-gbr-uplink-pkts | The total number of non-standard QCI, non-GBR uplink packets. Type: Counter | Int64
non-std-qci-non-gbr-uplink-bytes | The total number of non-standard QCI, non-GBR uplink bytes. Type: Counter | Int64
non-std-qci-non-gbr-dwlink-pkts | The total number of non-standard QCI, non-GBR downlink packets. Type: Counter | Int64
non-std-qci-non-gbr-dwlink-bytes | The total number of non-standard QCI, non-GBR downlink bytes. Type: Counter | Int64
non-std-qci-non-gbr-pkts-discard | The total number of discarded non-standard QCI, non-GBR packets. Type: Counter | Int64
non-std-qci-non-gbr-bytes-discard | The total number of discarded non-standard QCI, non-GBR bytes. Type: Counter | Int64
non-std-qci-gbr-uplink-pkts | The total number of non-standard QCI, GBR uplink packets. Type: Counter | Int64
non-std-qci-gbr-uplink-bytes | The total number of non-standard QCI, GBR uplink bytes. Type: Counter | Int64
non-std-qci-gbr-dwlink-pkts | The total number of non-standard QCI, GBR downlink packets. Type: Counter | Int64
non-std-qci-gbr-dwlink-bytes | The total number of non-standard QCI, GBR downlink bytes. Type: Counter | Int64
non-std-qci-gbr-pkts-discard | The total number of discarded non-standard QCI, GBR packets. Type: Counter | Int64
non-std-qci-gbr-bytes-discard | The total number of discarded non-standard QCI, GBR bytes. Type: Counter | Int64
total-gbr-qcis-uplink-pkts | The total number of GBR QCIS uplink packets. Type: Counter | Int64
total-gbr-qcis-uplink-bytes | The total number of GBR QCIS uplink bytes. Type: Counter | Int64
total-gbr-qcis-dwlink-pkts | The total number of GBR QCIS downlink packets. Type: Counter | Int64
total-gbr-qcis-dwlink-bytes | The total number of GBR QCIS downlink bytes. Type: Counter | Int64
total-non-gbr-qcis-uplink-pkts | The total number of non-GBR QCIS uplink packets. Type: Counter | Int64
total-non-gbr-qcis-uplink-bytes | The total number of non-GBR QCIS uplink bytes. Type: Counter | Int64
total-non-gbr-qcis-dwlink-pkts | The total number of non-GBR QCIS downlink packets. Type: Counter | Int64
total-non-gbr-qcis-dwlink-bytes | The total number of non-GBR QCIS downlink bytes. Type: Counter | Int64
echo-req-rx | The total number of echo requests received. Type: Counter | Int32
echo-rsp-tx | The total number of echo responses transmitted. Type: Counter | Int32
echo-req-tx | The total number of echo requests transmitted. Type: Counter | Int32
echo-rsp-rx | The total number of echo responses received. Type: Counter | Int32
err-ind-rx | The total number of error indications received. Type: Counter | Int32
err-ind-tx | The total number of error indications transmitted. Type: Counter | Int32
err-ind-rx-dis | The total number of discarded error indications received Type: Counter | Int32
IMPORTANT: For information on statistics that are common to all schema see the Statistics and Counters Overview chapter.