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

    service-mode (Charging Profiles)

    Syntax

    service-mode maintenance;

    Hierarchy Level

    [edit unified-edge gateways ggsn-pgw gateway-name charging charging-profiles profile-name]

    Release Information

    Statement introduced in Junos OS Mobility Release 11.2W.

    Description

    Put the respective charging profile under maintenance mode.

    When you have to make the following changes to the existing charging profile configuration, you must put the charging profile under maintenance mode:

    • Changing the CDR profile, transport profile, or the trigger profile associated with this charging profile
    • Changing the profile-id configuration
    • Deleting the charging profile

    In maintenance mode, no new subscribers are accepted for that charging profile. However, the maintenance mode does not become active until there are no existing subscriber sessions using that charging profile and all their corresponding CDRs have been flushed out. Unless the maintenance mode becomes active, you cannot modify the above-mentioned charging profile attributes or delete the charging profile. You can use the following commands to help you with the maintenance-mode tasks:

    • To verify whether the charging profile has entered active maintenance-mode, use:
      show unified-edge ggsn-pgw charging service-mode gateway gateway-name charging-profile profile-name
    • To verify whether the subscriber count has reached zero, use:
      show unified-edge ggsn-pgw subscribers charging charging-profile profile-name gateway gateway-name
    • To verify whether all CDRs for the transport profile referred to by this charging profile have been flushed out, use:
      show unified-edge ggsn-pgw charging transfer status transport-profile-name profile-name
    • To explicitly end any subscriber sessions, use the following clear command:
      clear unified-edge ggsn-pgw subscribers charging charging-profile profile-name gateway gateway-name
    • To explicitly flush all the CDRs for the transport profile referred to by this charging profile, use the following clear command:
      clear unified-edge ggsn-psgw charging cdr transport-profile-name profile-name

    Required Privilege Level

    interface—To view this statement in the configuration.

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

    Published: 2011-11-16