show security gtp counters
Syntax
show security gtp counters <all | data-packet | error | ha | message <message-name> | packet | request | tunnel | path-rate-limit | rate-limit>
Description
Use this command to display counters that can be used to indicate the number of GPRS tunneling protocol (GTP) tunnel counters (allocated and freed), GTP packet counters (received, passed, and dropped), brief message counters (receive, forward, and drop), error counters, request counters, HA counters, and path-rate-limit counters (drop and alarm).
From Junos OS Release 20.4R1 onwards, show security gprs gtp counters
is
replaced by show security gtp counters
.
Options
all
—Displays all GTP counters.data-packet
— Displays GTP-U data packet counters.error
—Displays GTP error counters.ha
—Displays GTP HA counters.message message-name
—Displays GTP message counters.packet
—Displays GTP packet counters.request
—Displays GTP request counters.tunnel
—Displays GTP tunnel counters.path-rate-limit
—Displays path-rate-limit counters.rate-limit
—Displays rate-limit counters.
Required Privilege Level
view
Output Fields
Table 1 lists the output fields for
the show security gtp counters
command.
Field Name |
Field Description |
---|---|
|
Tunnel counters are used to track the number of tunnels that are created on the device. There are two entries:
Active tunnel number = number of allocated counters - number of freed counters |
|
Packet counters indicate the number of GTP packets that are received and processed on the device. There are three entries:
Number of received counters = number of dropped counters + number of passed counters |
|
GTP-U data packet counters are used to track the number of data packets that are received, passed, dropped, no-tunnel dropped, sequence error dropped, end-user dropped, or dropped otherwise. |
|
GTP messages counters indicate the number of GTP messages that are received and processed on the device. There are three entries:
Number of received counters = number of dropped counters + number of forward counters |
|
Drop reason and drop counters indicate the number of GTP packets that are dropped as a result of an error. Total error = Sum of all the following errors |
|
Request counters indicate the number of GTP request messages that are received and processed on the device. This information can be used for debugging purpose. |
|
HA counters indicate the number of messages that are received or sent by the device. |
|
Path-rate-limit counters indicate the number of packet data protocol (PDP) create, delete, echo, and other messages that are received and processed on the device after drop-threshold and alarm-threshold are reached.
Drop–Indicate the number of packets dropped. Alarm–Indicate the number of packets transferred after the alarm threshold is reached. |
rate-limit counters |
Rate-limit counters indicate the number of drop and alarm packets.
|
Sample Output
Refer the following sample outputs for Junos OS 20.3R1 or previous releases.
- show security gtp counters all
- show security gtp counters error
- show security gtp counters ha
- show security gtp counters message v0-create-aa-pdp-req
- show security gtp counters packet
- show security gtp counters request
- show security gtp counters tunnel
- show security gtp counters path-rate-limit
- show security gtp counters rate-limit
show security gtp counters all
user@host> show security gtp counters all Tunnel counters: Total GTPv0 GTPv1-c GTPv1-u GTPv2-c GTPv2-u Allocated 0 0 0 0 0 0 Freed 0 0 0 0 0 0 Packet counters: Total GTPv0 GTPv1 GTPv2 GTP' Received 0 0 0 0 0 Passed 0 0 0 0 0 Dropped 0 0 0 0 0 Data-packet counters: gtpv1 data pkt received : 0 gtpv1 data pkt passed : 0 gtpv1 data pkt dropped : 0 gtpv1 data pkt no-tunnel dropped : 0 gtpv1 data pkt sequence error dropped : 0 gtpv1 data pkt end-user dropped : 0 gtpv1 data pkt other dropped : 0 gtpv0 data pkt received : 0 gtpv0 data pkt passed : 0 gtpv0 data pkt dropped : 0 gtpv0 data pkt no-tunnel dropped : 0 gtpv0 data pkt sequence error dropped : 0 gtpv0 data pkt end-user dropped : 0 gtpv0 data pkt other dropped : 0 Brief message counters: Received Forwarded Dropped GTPv0 Create PDP Request 0 0 0 Create PDP Response 0 0 0 Update PDP Request 0 0 0 Update PDP Response 0 0 0 Delete PDP Request 0 0 0 Delete PDP Response 0 0 0 Create AA PDP Request 0 0 0 Create AA PDP Response 0 0 0 Delete AA PDP Request 0 0 0 Delete AA PDP Response 0 0 0 SGSN Context Request 0 0 0 SGSN Context Response 0 0 0 SGSN Context Acknowledge 0 0 0 Others 0 0 0 GTPv1 Create PDP Request 0 0 0 Create PDP Response 0 0 0 Update PDP Request 0 0 0 Update PDP Response 0 0 0 Delete PDP Request 0 0 0 Delete PDP Response 0 0 0 SGSN Context Request 0 0 0 SGSN Context Response 0 0 0 SGSN Context Acknowledge 0 0 0 Forward Relocation Request 0 0 0 Forward Relocation Response 0 0 0 Others 0 0 0 GTPv2 Create Session Request 0 0 0 Create Session Response 0 0 0 Delete Session Request 0 0 0 Delete Session Response 0 0 0 Create Bearer Request 0 0 0 Create Bearer Response 0 0 0 Modify Bearer Request 0 0 0 Modify Bearer Response 0 0 0 Delete Bearer Request 0 0 0 Delete Bearer Response 0 0 0 Context Request 0 0 0 Context Response 0 0 0 Context Acknowledge 0 0 0 Forward Relocation Request 0 0 0 Forward Relocation Response 0 0 0 Create Indirect Tunnel Request 0 0 0 Create Indirect Tunnel Response 0 0 0 Others 0 0 0 Error counters: Total error : 0 Exception : 0 Invalid header : 0 Message length : 0 Zero IMSI : 0 Zero charge ID : 0 Sequence : 0 APN filter : 0 Port not match : 0 GTP-in-GTP : 0 Message too short : 0 Message too long : 0 GSN not exist : 0 Over GSN rate limit : 0 Request not found : 0 Retransmit response : 0 Missing IE : 0 Unexpected IE : 0 Unknown IE type : 0 IE order : 0 IE length : 0 Duplicate IE : 0 Non-digit TID/TEID : 0 Non-zero TID/TEID : 0 Zero TID/TEID : 0 Control TID/TEID : 0 Data TID/TEID : 0 Control GSN IE : 0 Data GSN IE : 0 End user IE : 0 GGSN IP for handover : 0 Disallowed v0 message : 0 Disallowed v1 message : 0 Disallowed v2 message : 0 Invalid message type : 0 No tunnel0 : 0 No control tunnel : 0 No user tunnel : 0 Invalid tunnel0 : 0 Invalid control tunnel : 0 Invalid user tunnel : 0 Create tunnel0 : 0 Create control tunnel : 0 Create user tunnel : 0 No request : 0 Out of request : 0 No action : 0 Out of action : 0 GTPv2 TEID not exist : 0 GTPv2 Missing TEID : 0 GTPv2 Non-zero EBI : 0 GTPv2 EBI not found : 0 GTPv2 IE context : 0 Duplicate new jbuf : 0 Out of jmpi cookie : 0 Send jmpi message : 0 JMPI target : 0 Out of callback cookie : 0 Reinject packet : 0 Distribute wrong spu : 0 System under reset : 0 Source IP : 0 Destination IP : 0 Invalid EBI : 0 SPU not all up : 0 Interface not support : 0 Out of path : 0 Over path rate limit : 0 New utnl key : 0 No utnl key : 0 End user : 0 New sync action : 0 NSAPI : 0 New conflict sync action : 0 Primary u-tunnel id not exist : 0 Too many same type ie : 0 Invalid v2 lbi : 0 Remove conflict utnl : 0 Conflict primary u-tunnel : 0 Ctnl recovery error : 0 Link ctnl conflict : 0 Link utnl conflict : 0 Link tnl0 conflict : 0 Error ggsn ip for v0 packet : 0 Invalid payload(NAT) : 0 Wrong SPU since NULL sinfor : 0 Wrong SPU since no match wings: 0 Wrong SPU since no anchor GSN : 0 Bad reqeust retransmit : 0 Cross group handover deny : 0 Handover default deny : 0 HA counters: Total message received : 0 Message received success : 0 Bad message received : 0 Unknown message type received : 0 Unknown message version received : 0 Total message send : 0 Message send success : 0 Message send failed : 0 Memory allocate failed : 0 Message received during tunnel reset: 0 Request counters: Request allocated : 0 Request freed : 0 Request allocated fail : 0 Request hit by wrong SPU : 0 Request pending for JMPI ACK : 0 Path-rate-limit counters: Drop Alarm Create Request 0 0 Delete Request 0 0 Echo Request 0 0 Others 0 0 Rate-limit counters: Drop Alarm Packets 100 200
Refer the following sample output for Junos OS 21.2R1 or later releases.
show security gtp counters error
user@host> show security gtp counters error Error counters: Total error : 0 Exception : 0 Invalid header : 0 Message length : 0 …… NE group check failure : 0 UE group check failure : 0 Over APN-controlled rate limit : 0
show security gtp counters ha
user@host> show security gtp counters ha HA counters: Total message received : 0 Message received success : 0 Bad message received : 0 Unknown message type received : 0 Unknown message version received : 0 Total message send : 0 Message send success : 0 Message send failed : 0 Memory allocate failed : 0
show security gtp counters message v0-create-aa-pdp-req
user@host> show security gtp counters message v0-create-aa-pdp-req Message counters: Received 0 Forwarded 0 Dropped 0
show security gtp counters packet
user@host> show security gtp counters packet Packet counters: Total GTPv0 GTPv1 GTPv2 GTP' Received 0 0 0 0 0 Passed 0 0 0 0 0 Dropped 0 0 0 0 0
show security gtp counters request
user@host> show security gtp counters request Request counters: Request allocated : 0 Request freed : 0 Request activated : 0 Request died : 0 Request action allocated : 0 Request action freed : 0
show security gtp counters tunnel
user@host> show security gtp counters tunnel Tunnel counters: Total GTPv0 GTPv1-c GTPv1-u GTPv2-c GTPv2-u Allocated 0 0 0 0 0 0 Freed 0 0 0 0 0 0
show security gtp counters path-rate-limit
user@host> show security gtp counters path-rate-limit Path-rate-limit counters: Drop Alarm Create Request 0 0 Delete Request 0 0 Echo Request 0 0 Others 0 0
show security gtp counters rate-limit
user@host> show security gtp counters rate-limit Rate-limit counters: Drop Alarm Packets 100 200
Refer the following sample output for Junos OS 20.4R1 or later releases.
Release Information
Command introduced in Junos OS Release 12.1X44-D10. Support for rate-limit option added in Junos OS Release 20.4R1.