Fortinet white logo
Fortinet white logo

FortiOS Carrier

GTP profile logging

GTP profile logging

Use the following options to configure logging for a GTP profile.

config firewall gtp

edit <name>

set forwarded-log {disable | enable}

set denied-log {disable | enable}

set rate-limited-log {disable | enable}

set state-invalid-log {disable | enable}

set tunnel-limit-log {disable | enable}

set extension-log {disable | enable}

set traffic-count-log {disable | enable}

set log-freq <frequency>

set gtpu-forwarded-log {disable | enable}

set gtpu-denied-log {disable | enable}

set gtpu-log-freq <frequency>

set log-gtpu-limit <limit>

set log-imsi-prefix <prefix>

set log-msisdn-prefix <prefix>

end

GTP logs are a subtype of the event logs. You can view GTP logs by going to Log & Report > GTP.

From the GUI to configure logging in a GTP profile, add or edit a GTP profile and open Logging.

Option

Description

log-freq

Log Frequency (GTP-C). The number of GTP-C messages to drop between logged messages.

An overflow of log messages can sometimes occur when logging rate-limited GTP packets exceed their defined threshold. To conserve resources, you can specify that some log messages are dropped. For example, if you want only every twentieth message to be logged, set a log frequency of 20. This way, 20 messages are skipped and the next logged. Acceptable frequency values range from 0 to 2147483674. When set to ‘0’, no messages are skipped.

gtpu-log-freq

Logging Frequency (GTP-U). The number of messages to drop between logged GTP-U messages.

denied-log Log Denied. Enable to log GTP packets denied or blocked by the GTP profile.

gtpu-denied-log

Log Denied GTP-U. Enable to log GTP-U packets denied or blocked by this GTP profile.
state-invalid-log Log State Invalid. Enable to log invalid GTP packets that have failed stateful inspection.
extension-log

Log Extension. Enable to log extended information about GTP packets. When enabled, this additional information will be included in log entries:

  • IMSI
  • MSISDN
  • APN
  • Selection Mode
  • SGSN address for signaling
  • SGSN address for user data
  • SGW and PGW session information
  • GGSN address for signaling
  • GGSN address for user data

gtpu-forwarded-log

Log Forwarded GTP-U. Enable to log forwarded GTPU packets.
traffic-count-log

Log Tunnel Traffic Counter. Enable to log the total number of control and user data messages received from and forwarded to the GGSNs and SGSNs that the unit protects.

FortiOS Carrier can report the total number of user data and control messages received from and forwarded to the GGSNs and SGSNs it protects. Alternately, the total size of the user data and control messages can be reported in bytes. The unit differentiates between traffic carried by each GTP tunnel, and also between GTP-User and GTP-Control messages.

The number of messages or the number of bytes of data received from and forwarded to the SGSN or GGSN are totaled and logged if a tunnel is deleted.

When a tunnel is deleted, the log entry contains:

  • Timestamp
  • Interface name (if applicable)
  • SGSN IP address
  • GGSN IP address
  • SGW, PGW, and ePDG information
  • TID
  • Tunnel duration time in seconds
  • Number of messages sent to the SGSN
  • Number of messages sent to the GGSN
forwarded-log Log Forwarded. Enable to log forwarded GTP packets. Forwarded packets are allowed by the GTP profile.
rate-limited-log Log Rate Limited. Enable to log rate-limited GTP packets. Rate limited packets have been dropped because they exceed the maximum rate limit of the destination GSN.
tunnel-limit-log Log Tunnel Limit. Enable to log packets dropped because the maximum limit of GTP tunnels for the destination GSN is reached.

log-gtpu-limit

The user data log limit in the range of 0 to 512 bytes.

log-imsi-prefix

Specify an IMSI prefix for selective logging

log-msisdn-prefix

Specify an MSISDN prefix for selective logging.

GTP profile logging

GTP profile logging

Use the following options to configure logging for a GTP profile.

config firewall gtp

edit <name>

set forwarded-log {disable | enable}

set denied-log {disable | enable}

set rate-limited-log {disable | enable}

set state-invalid-log {disable | enable}

set tunnel-limit-log {disable | enable}

set extension-log {disable | enable}

set traffic-count-log {disable | enable}

set log-freq <frequency>

set gtpu-forwarded-log {disable | enable}

set gtpu-denied-log {disable | enable}

set gtpu-log-freq <frequency>

set log-gtpu-limit <limit>

set log-imsi-prefix <prefix>

set log-msisdn-prefix <prefix>

end

GTP logs are a subtype of the event logs. You can view GTP logs by going to Log & Report > GTP.

From the GUI to configure logging in a GTP profile, add or edit a GTP profile and open Logging.

Option

Description

log-freq

Log Frequency (GTP-C). The number of GTP-C messages to drop between logged messages.

An overflow of log messages can sometimes occur when logging rate-limited GTP packets exceed their defined threshold. To conserve resources, you can specify that some log messages are dropped. For example, if you want only every twentieth message to be logged, set a log frequency of 20. This way, 20 messages are skipped and the next logged. Acceptable frequency values range from 0 to 2147483674. When set to ‘0’, no messages are skipped.

gtpu-log-freq

Logging Frequency (GTP-U). The number of messages to drop between logged GTP-U messages.

denied-log Log Denied. Enable to log GTP packets denied or blocked by the GTP profile.

gtpu-denied-log

Log Denied GTP-U. Enable to log GTP-U packets denied or blocked by this GTP profile.
state-invalid-log Log State Invalid. Enable to log invalid GTP packets that have failed stateful inspection.
extension-log

Log Extension. Enable to log extended information about GTP packets. When enabled, this additional information will be included in log entries:

  • IMSI
  • MSISDN
  • APN
  • Selection Mode
  • SGSN address for signaling
  • SGSN address for user data
  • SGW and PGW session information
  • GGSN address for signaling
  • GGSN address for user data

gtpu-forwarded-log

Log Forwarded GTP-U. Enable to log forwarded GTPU packets.
traffic-count-log

Log Tunnel Traffic Counter. Enable to log the total number of control and user data messages received from and forwarded to the GGSNs and SGSNs that the unit protects.

FortiOS Carrier can report the total number of user data and control messages received from and forwarded to the GGSNs and SGSNs it protects. Alternately, the total size of the user data and control messages can be reported in bytes. The unit differentiates between traffic carried by each GTP tunnel, and also between GTP-User and GTP-Control messages.

The number of messages or the number of bytes of data received from and forwarded to the SGSN or GGSN are totaled and logged if a tunnel is deleted.

When a tunnel is deleted, the log entry contains:

  • Timestamp
  • Interface name (if applicable)
  • SGSN IP address
  • GGSN IP address
  • SGW, PGW, and ePDG information
  • TID
  • Tunnel duration time in seconds
  • Number of messages sent to the SGSN
  • Number of messages sent to the GGSN
forwarded-log Log Forwarded. Enable to log forwarded GTP packets. Forwarded packets are allowed by the GTP profile.
rate-limited-log Log Rate Limited. Enable to log rate-limited GTP packets. Rate limited packets have been dropped because they exceed the maximum rate limit of the destination GSN.
tunnel-limit-log Log Tunnel Limit. Enable to log packets dropped because the maximum limit of GTP tunnels for the destination GSN is reached.

log-gtpu-limit

The user data log limit in the range of 0 to 512 bytes.

log-imsi-prefix

Specify an IMSI prefix for selective logging

log-msisdn-prefix

Specify an MSISDN prefix for selective logging.