Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

profile (Security GTP)

Syntax

Hierarchy Level

Description

Use the profile option to create a profile for the GPRS tunneling protocol (GTP) feature. This profile includes all subsequent configuration options.

From Junos OS Release 20.4R1 onwards, the [edit security gprs gtp] hierarchy level is replaced by [edit security gtp].

Options

  • apn-control–You can specify APN control profile using APN string. APN string consists of Network Identifier (NI) and Operator Identifier (OI). You can specify APN in the below formats:

    • <NI>: for example internet, internet.public
    • <NI>.<OI>: for example internet.mnc005.mcc244.gprs, internet.public.mnc005.mcc244.gprs

    APN string configuration supports wild card “*” in place of OI. You can specify APN as <NI>.”*” and configure the matching APN string. You don’t need to specify the OI when you configure APN using wild card “*”.

    You can also use this configuration to group all the APNs with the same rate limiting requirements and apply the group to the GTP profile.

  • end-user-address-validated—During the GTP-U security check procedure, IPv4 and IPv6 addresses for user equipment is checked against the end-user address stored in the user tunnel. Once the GTP-U packet is determined to match the user equipment address, the packet data unit (PDU) is parsed to obtain the user equipment address. Use the end-user-address-validated function to validate the IP address. By default, the UE address check is disabled, it will not check the IP address of GTP-U payload.

  • gtp-in-gtp-denied—To enable the security device to detect and drop a GTP packet that contains another GTP packet in its message body.

  • handover-on-roaming-intf—To enable the security device to receive context and forward relocation messages, inspect the packets, and to set up PDP contexts on the device.

  • u-tunnel-validated—To specify GTP-U tunnel validation. When u-tunnel-validated is enabled, the GTP ALG checks whether the tunnel endpoint identifier (TEID) in the GTP-U packet matches the user tunnel in the tunnel table. If the user tunnel is not found, then the GTP-U packet is dropped. By default, the check is disabled.

  • must-ie-v1—To check the presence of IEs that should be contained in a GTPv1 message. The device checks the presence of Must-IEs of specific GTP messages and forwards the messages only if Must-IEs are present.

  • must-ie-v2—To check the presence of IEs that should be contained in a GTPv2 message. The device checks the presence of Must-IEs of specific GTP messages and forwards the messages only if Must-IEs are present.

  • remove-ie-v1—To remove IEs of specific types from all messages for GTPv1. This helps to remove all instances of specified IEs such as supporting IE, Grouped IE, Embedded IE, or embedded grouped IE.

  • remove-ie-v2—To remove IEs of specific types from all messages for GTPv2. This helps to remove all instances of specified IEs such as supporting IE, Grouped IE, Embedded IE, or embedded grouped IE.

The remaining statements are explained separately. See CLI Explorer.

Required Privilege Level

security—To view this statement in the configuration.

security-control—To add this statement to the configuration.

Release Information

Statement introduced in Junos OS Release 10.0. The restart-path option added in Junos OS Release 11.4. New GPRS tunneling protocol (GTP) message types added in Junos OS Release 11.4. Support for GTPv2 added in Junos OS Release 11.4. Statement modified in Junos OS Release 15.1X49-D40.The must-ie-v1, must-ie-v2, remove-ie-v1, and remove-ie-v2 options added in Junos OS Release 20.2R1.