Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Configuring APN Service Selection on a Broadband Gateway

    The MobileNext Broadband Gateway can select an access point name (APN) in various ways. You configure an APN service selection method as an “if-then” construction similar to other Junos OS policies using from and then statements.

    Before you begin configuring APN service selection on a broadband gateway APN, you should have done the following:

    • Configured the chassis of the broadband gateway
    • Configured the interfaces of the broadband gateway
    • Configured the APN parameters for the specific APN

    To configure an APN selection method, you can choose one or more of the following from conditions:

    • charging-characteristics value—Match the charging characteristics value from 1 through 65,535 to select the APN.
    • imei imei-prefix—Use the International Mobile Equipment Identity (IMEI) prefix configured to select the APN.
    • imsi imsi-prefix—Use the International Mobile Subscriber Identity (IMSI) prefix configured to select the APN.
    • maximum-bearers value—Match the number of bearers in the gateway from 1 through 10,000,000 (10 million) to select the APN.
    • msisdn msisdn-number-prefix—Use the Mobile Station Integrated Services Digital Network (MSISDN) prefix configured to select the APN.
    • pdn-type [ ipv4 | ipv6 | ipv4v6 ]—Use the IP version configured to select the APN.
    • peer ip-address—Use the IP address of the peer creating the session to select the APN.
    • peer-routing-instance routing-instance-name—Use the routing instance of the peer creating the session to select the APN.

    Note: Multiple terms can be configured in a selection profile, and each term is applied in the order in which it is configured. Furthermore, multiple match conditions can be specified within a term and all of the conditions have to match. Once a matching term is found, the action is applied and no further terms are matched. If no term matches for a subscriber, then the services associated with the APN in the Create Session request message are applied.

    The remaining statements are explained separately.

    To configure an APN selection method, you can choose one of the following then conditions:

    • apn-name apn-name—Select this real APN name.
    • redirect-peer ip-address—Select this redirected peer address to access the APN.

    To configure APN service selection from statements on a broadband gateway:

    1. Configure the charging-characteristics from method in a term called select-apn in a selection profile called apn-1-selection.
      [edit unified-edge gateways ggsn-pgw MBG1 service-selection-profiles profile apn-1-selection term select-apn]user@host# set from charging-characteristics 12345
    2. Configure the imei from method in a term called select-apn in a selection profile called apn-1-selection.

      Note: Terms can be up to 63 characters long.

      [edit unified-edge gateways ggsn-pgw MBG1 service-selection-profiles profile apn-1-selection term select-apn]user@host# set from imei imei-number-prefix

      Note: The IMEI prefix matches the specified digits. For example, from imei 12345 matches the first five digits as given, then any other digits.

    3. Configure the imsi from method in a term called select-apn in a selection profile called apn-1-selection.
      [edit unified-edge gateways ggsn-pgw MBG1 service-selection-profiles profile apn-1-selection term select-apn]user@host# set from imsi imsi-number-prefix

      Note: The IMSI prefix matches the specified digits. For example, from imsi 1222 matches the first four digits as given, then any other digits.

    4. Configure the maximum-bearers from method in a term called select-apn in a selection profile called apn-1-selection.
      [edit unified-edge gateways ggsn-pgw MBG1 service-selection-profiles profile apn-1-selection term select-apn]user@host# set from maximum-bearers 123456
    5. Configure the msisdn from method in a term called select-apn in a selection profile called apn-1-selection.
      [edit unified-edge gateways ggsn-pgw MBG1 service-selection-profiles profile apn-1-selection term select-apn]user@host# set from msisdn msisdn-number-prefix

      Note: The MS-ISDN prefix matches the specified digits. For example, from msisdn 1212555 matches the first seven digits as given, then any other digits.

    6. Configure the pdn-type from method in a term called select-apn in a selection method called apn-1-selection.
      [edit unified-edge apn-service-selection apn-1-selection term select-apn]user@host# set from pdn-type [ ipv4 | ipv6 | ipv4v6 ]
    7. Configure the peer from method in a term called select-apn in a selection profile called apn-1-selection.
      [edit unified-edge gateways ggsn-pgw MBG1 service-selection-profiles profile apn-1-selection term select-apn]user@host# set from peer 192.168.1.20
    8. Configure the peer-routing-instance from method in a term called select-apn in a selection profile called apn-1-selection.
      [edit unified-edge gateways ggsn-pgw MBG1 service-selection-profiles profile apn-1-selection term select-apn]user@host# set from peer-routing-instance mobility-instance

    To configure APN service selection then statements on a broadband gateway:

    1. Configure the apn-name then method in a term called select-apn in a selection method called apn-1-selection.
      [edit unified-edge apn-service-selection apn-1-selection term select-apn]user@host# set then apn-name MBG1-apn
    2. Alternatively, configure the redirect-peer ip-address then method in a term called select-apn in a selection method called apn-1-selection.
      [edit unified-edge apn-service-selection apn-1-selection term select-apn]user@host# set then redirect-peer 192.168.20.1

    Published: 2011-11-22