GTPv2-C information elements
gtp_iesExtracts information elements from paired GTPv2-C requests and responses in packet captures, filtered by IMSI, TEID, frame, or message, with key or full IE detail and likely cause hints.
Instructions
The information elements of paired GTPv2-C requests and responses: the GTP
counterpart of diameter_avps. Select with imsi, teid (header or F-TEID, decimal or
0x hex), frame (a request or response frame) and/or message (type number or name,
e.g. "Create Session Request"; a request name also selects its response); both halves
of each transaction are kept. detail="key" (default) gives request_ies and
response_ies with the IEs read first: IMSI, MSISDN, MEI, APN, selection mode, PDN
type, PAA, APN restriction, serving network, RAT, ULI (TAI, ECGI, CGI, SAI, RAI with
MCC-MNC), UE time zone, indication flags set, charging characteristics and ID,
recovery, APN-AMBR, F-TEIDs by interface, PCO option names (never PAP/CHAP contents),
bearer contexts (EBI, QCI, ARP, MBR/GBR, F-TEIDs, cause), the cause with its
offending_ie and source (CS bit), and the RAN/NAS cause a Delete Session carries;
other IEs are listed by name. A rejected or partly accepted response adds
likely_causes built from the request (cause 78 and the APN sent, 73 with IPv4v6
requested, 92 with PAP in the PCO, 64 and the Recovery IE, ...). detail="full" gives
every IE as a tree, at most max_ies IEs per message (server cap 2000).
filter is ANDed with gtpv2; limit caps transactions (default 20).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>"
},
"name": "gtp_ies"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | Same forms as start | |
| imsi | No | IMSI, 6 to 15 digits | |
| path | Yes | Capture file (absolute, in an allowed dir) or open_capture handle | |
| teid | No | GTP TEID: an int or hex string such as 0xc001 | |
| frame | No | Frame number | |
| limit | No | Most rows per page | |
| start | No | ISO 8601, epoch s, +Ns from start, -Ns from end | |
| detail | No | key (the AVPs or IEs that explain a result) or full | key |
| filter | No | Extra display filter, ANDed | |
| offset | No | Rows to skip (next_offset) | |
| output | No | summary: all but rows, plus 3 rows (<8 KB) | rows |
| redact | No | Replace subscriber identifiers in this result with tokens; ids+ips hides every IP too | off |
| columns | No | Row keys to keep (frame keys stay) | |
| max_ies | No | Most IEs per message | |
| message | No | GTPv2-C message name or type number, such as Create Session Request or 32 | |
| max_output_kb | No | Lower output cap, KB |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | ||
| error | No | ||
| detail | No | ||
| offset | No | ||
| window | No | ||
| dropped | No | ||
| has_more | No | ||
| returned | No | ||
| selection | No | ||
| next_offset | No | ||
| total_found | No | ||
| transactions | No | rows with keys: time, message, response, seq, teid, request_frame, answer_frame, rtt_ms, cause, cause_name, accepted, unanswered, request_ies, response_ies, request_ies_dropped, response_ies_dropped, likely_causes | |
| total_matched | No | ||
| packets_matched | No | ||
| packets_scanned | No | ||
| total_is_lower_bound | No |