Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

apn

date_range 20-Nov-23

Syntax

content_copy zoom_out_map
apn pattern-string {
    imsi-prefix imsi-prefix-digits {
        action (APN GTP) {
            drop; 
            pass;
            selection (ms|net|vrf);
        }
    }
}

Hierarchy Level

content_copy zoom_out_map
[edit security gtp profile profile-name]

Description

Use the APN function to allow or deny access to specific access point names (APNs). By default, the device permits all APNs. To enable APN filtering, you must specify one or more APNs. To specify an APN, you need to know the domain name of the network (for example, example.com) and, the operator ID. Because the domain name (network ID) portion of an APN can potentially be very long and contain many characters, you can use the wildcard (*) as the first character of the APN string.

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

Options

  • pattern-string—To specify APN pattern string, such as “example.net.mcc123.mnc456.gprs”.

  • imsi-prefix-digits—To specify an IMSI prefix.

    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. Support.

footer-navigation