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 Static PCC Rules for Routers Running Junos OS and Acting as PCEF (SRC CLI)

    Use the following configuration statements to configure static PCC rules, which enable the SRC software to provision policies (activated only using name) to the routers (Services Control Gateways) acting as PCEF and running Junos OS through the Gx interface by using the Gx router driver.

    Note: You can create multiple static PCC rules. You can configure the usage monitoring information for the service having static PCC rules even though the SRC software does not support monitoring key association for the static PCC rules.

    For creating a static PCC rule, you must:

    • Set the role of the policy list to junos-gx
    • Set the policy list rule type to gx-static-pcc-rule
    • Set the policy list applicability option to both
    policies group name list name rule name {type type;precedence precedence;accounting;}
    policies group name list name rule name static-pcc-rule {charging-rule-name charging-rule-name;charging-rule-base-name charging-rule-base-name;description description;)

    Note: Precedence mapping is not supported for the static PCC rule.

    1. From configuration mode, create a static PCC rule inside a policy list that has already been created and configured. For example, to create a static PCC rule called statpcc-rul1-name within a policy list called gx-list:
      [edit]user@host# edit policies group GXnew list gx-list rule statpcc-rul1-name
    2. Set the type of policy rule to gx-static-pcc-rule.
      [edit policies group GXnew list gx-list rule statpcc-rul1-name]user@host# set type gx-static-pcc-rule
    3. (Optional) Enable the accounting flag so that the SRC software requests the usage monitoring information from the Services Control Gateway.

      Note: If you enable the accounting functionality for a rule in the policy group, the accounting functionality is enabled for all rules in the policy group.

      When you enable the accounting functionality, you must configure the USAGE_REPORT event trigger for the subscriber profiles and configure the granted service unit for the subscribed services.

      [edit policies group GXnew list gx-list rule statpcc-rul1-name]user@host# set accounting
    4. From configuration mode, access the configuration statement that configures the static PCC rule.
      [edit]user@host# edit policies group GXnew list gx-list rule statpcc-rul1-name static-pcc-rule
    5. (Optional) Specify a static PCC rule name.

      Note: You must configure either rule name or rule base name for the static PCC rule. The rule name should be unique for each IP CAN session.

      [edit policies group GXnew list gx-list rule statpcc-rul1-name static-pcc-rule]user@host# set charging-rule-name charging-rule-name
    6. (Optional) Specify a name of a PCC rule group residing at the Services Control Gateway.

      Note: You must configure either rule name or rule base name for the static PCC rule. The rule base name should be unique for each IP CAN session.

      [edit policies group GXnew list gx-list rule statpcc-rul1-name static-pcc-rule]user@host# set charging-rule-base-name charging-rule-base-name
    7. (Optional) Specify a description for the static PCC rule.
      [edit policies group GXnew list gx-list rule statpcc-rul1-name static-pcc-rule]user@host# set description description
    8. (Optional) Verify your configuration.
      [edit policies group GXnew list gx-list rule statpcc-rul1-name]
      user@host# show 
      accounting;
      precedence precedence;
      static-pcc-rule { 
        charging-rule-name crname;
      }
      type gx-static-pcc-rule;
      

    Modified: 2016-04-18