Navigation
Example: Setting a Combined IMSI Prefix and APN Filter
This example shows how to set and combine IMSI prefix and APN filter.
Requirements
No special configuration beyond device initialization is required before configuring this feature.
Overview
In this example, you set example.com.mnc123.mcc456.gprs as an APN and use the wildcard(*). You permit all selection modes for this APN. You also set the IMSI prefix for a known PLMN, which is 246565. The MCC-MNC pair can be five or six digits.
Configuration
Step-by-Step Procedure
To set and combine IMSI prefix and APN filter:
- Set the GTP profile.[edit]user@host# set security gprs gtp profile gtp1
- Set the selection mode for APN.[edit]user@host# set security gprs gtp profile gtp1 apn *example.com.mnc123.mcc456.gprs imsi-prefix 246565* action pass
- If you are done configuring the device, commit the configuration.[edit]user@host# commit
Verification
To verify the configuration is working properly, enter the show security gprs command.