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

    Use the following configuration statements to configure policy lists for routers (Services Control Gateways) running Junos OS and acting as PCEF.

    Note: To configure policy lists for router (Services Control Gateway) acting as PCEF, you must:

    • Set the role of the policy list to junos-gx
    • Set the policy list rule type to gx-static-pcc-rule or gx-dynamic-pcc-rule
    • Set the policy list applicability option to both
    policies group name list name {role junos-gx;applicability both;description description;}

    To configure policy lists:

    1. From configuration mode, create a policy list. For example, to create a policy list called gx-list within a policy group called GXnew:
      user@host# edit policies group GXnew list gx-list
    2. Set the role of the policy list to junos-gx.
      [edit policies group GXnew list gx-list]user@host# set role junos-gx
    3. Specify where the policy is applied on the device. The applicability option must be set to both.
      [edit policies group GXnew list gx-list]user@host# set applicability both
    4. (Optional) Specify the description for the policy list.
      [edit policies group GXnew list gx-list]user@host# set description description
    5. (Optional) Verify your configuration.
      [edit policies group GXnew list]
      user@host# show 
      gx-list {
        applicability both;
        role junos-gx;
        rule dynpcc-rul1-name {
          dynamic-pcc-rule { 
            LRF-profile-name LRF-profile-name;
            application-information { 
              TDF-application-id TDF-application-id;
              TDF-application-id-base TDF-application-id-base;
            }
            charging-rule-name Testnew;
            flow-status ENABLED;
            forwarding-class-name forwarding-class-name;
            gx-flows { 
              flow1 {
                flow-description flow-description;
                flow-direction BIDIRECTIONAL;
                flow-label flow-label;
                security-parameter-index security-parameter-index;
                tos-traffic-class tos-traffic-class;
              }
              flow2 {
                flow-description flow-description;
                flow-direction UPLINK;
                flow-label flow-label;
                security-parameter-index security-parameter-index;
                tos-traffic-class tos-traffic-class;
              }
            }
            mute-notification;
            online;
            qos-information { 
              max-requested-bw-DL max-requested-bw-DL;
              max-requested-bw-UL max-requested-bw-UL;
            }
            redirect-information { 
              redirect-address-type IPv4-Address;
              redirect-server-address redirect-server-address;
            }
            reporting-level RATING-GROUP-LEVEL;
            steering-information { 
              keep-existing-steering STEERING-ENABLED;
              service-chain-identifier service-chain-identifier;
              steering-downlink-VRF steering-downlink-VRF;
              steering-ip-address steering-ip-address;
              steering-uplink-VRF steering-uplink-VRF;
            }
          }
          precedence precedence;
          type gx-dynamic-pcc-rule;
        }
      rule statpcc-rul1-name {
          accounting;    
          static-pcc-rule { 
            charging-rule-name crname;
          }
          type gx-static-pcc-rule;
        }
      }
      

    Modified: 2015-06-19