Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

Classifying Subscribers (SRC CLI)

 

Changes that you make to subscriber classification scripts do not affect subscriber sessions that are already established. One effect of this behavior is that static IP subscriber sessions are not closed if the classification script is changed in a way that would no longer cause the SAE to load a profile for certain subscribers.

On JunosE routers that use the COPS-PR or COPS XDR router drivers, you can create a subscriber session for the router interface to start services such as script services and aggregate services. The SAE creates the router interface, but does not install any policies on it. You can create a subscriber classification rule, but not an interface classification rule for this interface.

Use the following configuration statements to define subscriber classification scripts:

A classification script can contain either a target and a condition or a script. If you do not define a script, the classifier must have both a target and a condition.

To define subscriber classification scripts:

  1. From configuration mode, enter the subscriber classifier configuration. In this sample procedure, the subscriber classifier is configured in the west-region SAE group.

  2. Create a rule for the subscriber classifier. You can create multiple rules for the classifier.

  3. Configure either a target or a script for the rule.

    • Configure the target for the rule. If you configure a target, see Subscriber Classification Targets.

      If you configured a target for the rule, you must configure a match condition for the rule. You can create multiple conditions for the rule. See Subscriber Classification Conditions.

    • Configure the script for the rule.

      (Optional) You can specify a script target.

      (Optional) You can include a script that has already been created.

      where include is a reference to an existing script that is included in the script you are configuring.

  4. (Optional) Change the order of rules.

  5. (Optional) Rename a rule.

  6. (Optional) Verify the classifier rule configuration.

  7. (Optional) Verify the subscriber classifier configuration.