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

    CLI-Activated Subscriber Services

    Subscriber management enables you to use the Junos OS CLI to locally activate and deactivate dynamic subscriber services. CLI-based activation and deactivation provides local control for dynamic subscriber services that is similar to subscriber management’s change of authorization (CoA) feature. CoA is considered a remote activation method because the commands, or triggers, are received from a remote server, such as a RADIUS or provisioning server. Both the CoA and CLI-based methods enable you to manage services for subscribers who are currently logged in to the network—you can activate a new service for the subscriber or deactivate a current service.

    Note: You cannot use CLI-based activation or deactivation if provisioning is configured for the subscriber. (Provisioning is configured with the provisioning-order (gx-plus | jsrc) statement at the [edit access profile profile-name] hierarchy level.)

    The CLI-based feature activates the specified service—you cannot use it to modify a subscriber’s dynamic profile instantiation or to modify user-defined variables in a dynamic profile. You can, however, include variables that are defined for the service in the dynamic profile.

    Subscriber management does not support accounting for CLI-activated subscriber services. For example, if you use CLI-deactivation to terminate a subscriber’s current RADIUS-initiated service, which supports accounting, accounting is then disabled. If you later use the CLI to activate the same or a different service, accounting is still disabled.

    CLI-based activation and deactivation is useful in service provider networks that do not use provisioning servers or RADIUS servers to activate and deactivate subscriber services. The local control provided by the CLI-based operations enables service providers to add and remove services for existing subscribers without requiring that the subscriber log out and than log in again to complete the change. For example, a service provider might allow subscribers to log in and initially use the default service, which provides basic features. After the default service is established, the provider might then use CLI-activation to upgrade qualified subscribers to an advanced service, in addition to retaining the initial service. Later, the provider can use CLI-deactivation to terminate the subscriber’s advanced service session. The subscriber retains the initial service until the service is deactivated.

    CLI-based activation or deactivation of a subscriber service fails if any of the following conditions exist:

    • Remote provisioning is enabled and set to either jsrc or gx-plus for the subscriber.
    • A RADIUS CoA operation or a previous CLI-based activation or deactivation is currently in progress for the subscriber. Only one dynamic request can be active for the subscriber.
    • A unified in-service software upgrade (unified ISSU) operation is active.
    • The specified service could not be activated or deactivated.

    Published: 2012-06-18