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

    charging (APN)

    Syntax

    charging {default-profile default-profile;home-profile home-profile;profile-selection-order [profile-selection-method];roamer-profile roamer-profile;visited-profile visited-profile;}

    Hierarchy Level

    [edit unified-edge gateways ggsn-pgw gateway-name apn-services apns name]

    Release Information

    Statement introduced in Junos OS Mobility Release 11.2W.

    Description

    Specify the charging profiles for the access point name (APN) that will be used to charge the different types of subscribers who access the APN on the broadband gateway. The profile-selection-order configuration indicates the order of preference for the source of the charging profile. If the profile-selection-order configuration indicates static, then the charging profiles specified are used to charge a subscriber.

    Note: The charging profiles must already be configured on the broadband gateway.

    When a subscriber session is created on the APN, a charging profile is applied to the session depending on the type of subscriber (home, visitor, or roamer). The home public land mobile network (HPLMN) configured on the broadband gateway is used to determine the type of subscriber:

    • If the subscriber’s International Mobile Subscriber Identity (IMSI), mobile country code (MCC), and the mobile network code (MNC) do not match the corresponding values configured for the HPLMN, then the subscriber is deemed a visitor and the visited-profile is applied. If the visited-profile is not configured, then the default-profile is applied.
    • If the subscriber’s IMSI, MCC, and MNC match the corresponding value configured for the HPLMN, but the subscriber’s Routing Area Identity (RAI) does not match the corresponding RAI configured for the HPLMN, then the subscriber is deemed a roamer and the roamer-profile is applied. If the roamer-profile is not configured, then the default-profile is applied.
    • If the subscriber is neither a visitor nor a roamer, then the subscriber is deemed a home subscriber and the home-profile is applied. If the home-profile is not configured, then the default-profile is applied.

    Note: In the absence of a charging profile from all sources, the subscriber session is created without charging enabled.

    The remaining statements are explained separately.

    Required Privilege Level

    interface—To view this statement in the configuration.

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

    Published: 2011-11-22