Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

local-decision (PCRF Partition)

Syntax

Hierarchy Level

Description

Configure a non-standard extension that allows the subscriber login to proceed even if the Policy and Charging Rule Function (PCRF) is not available or if the PCRF does not respond within the corresponding logout response timeout. This statement determines how long to wait before using the local decision to log in.

You can also use this statement to configure the router to reinitialize the PCRF session if either of two PCRF errors result when the following sequence occurs:

  1. The router sends a CCR-GX-I to the PCRF.

  2. The PCRF responds with a CCA-GX-I, but the message is lost.

  3. The router retries sending a CCR-GX-I to the PCRF.

Table 1 lists the errors and the resolution.

Table 1: Reinitialization Options for PCRF Errors

Error

Resolution

The PCRF server responds to the router’s CCR-GX-I with a CCA-GX-I that contains an unable-to-comply error code (5012) in AVP 268.

Include the reinit-on-failure option.

The PCRF responds with a RAR message of any type.

Include the reinit-on-rar option.

The reinitialization operation consists of the following steps in both cases:

  1. The router sends a session termination request, CCR-GX-T, to the PCRF.

  2. The router waits for a CCA-GX-T for the length of the reinit-timeout period.

  3. If the router either receives a CCA-GX-T within the timeout or the timeout expires without receiving a CCA-GX-T, the router regenerates the session ID (conveyed in Diameter AVP 263) and appends a session stamp that consists of the UTC time when the router creates the CCR-GX-I.

The reinit-on-failure and reinit-on-rar options affect existing subscribers only when the PCRF client (local) state is local-active, local-grant, or started.

Options

deny

(Optional) Prevent subscriber logins from occurring when the PCRF is not available or not responding.

grant

(Optional) Allow subscriber logins to occur when the PCRF is not available or not responding.

  • Default: deny

reinit-on-failure

(Optional) Reinitialize the PCRF session if PCRF responds with an unable-to-comply error code instead of sending another CCA-GX-I, after the router retries sending a CCR-GX-I.

Note:

You must also configure the following:

  • The grant option

  • The use-session-stamp option with the partition statement

reinit-on-rar

(Optional) Reinitialize the PCRF session if the PCRF responds with a RAR of any type after the router retries sending a CCR-GX-I.

Note:

You must also configure the following:.

  • The grant option

  • The use-session-stamp option with the partition statement

reinit-timeout seconds

(Optional) Sets the number of seconds that the router waits for a CCA-GX-T during a local reinitialization operation. If the timeout expires before the CCA-GX-T is received, then the router performs the same actions as if it had received the CCA-GX-T within the timeout period. The router sends another CCR-GX-I to the PCRF with a new extended session ID (conveyed in Diameter AVP 263). The extended session ID has an appended session stamp that consists of the UTC time when the router creates the CCR-GX-I.

  • Default: 10

  • Range: 0 through 90

timeout seconds

Sets the number of seconds to wait before using the local decision to log in.

  • Default: 90

  • Range: 0 through 86,400 seconds (24 hours)

Required Privilege Level

admin—To view this statement in the configuration.

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

Release Information

Statement introduced in Junos OS Release 16.2.

reinit-on-failure, reinit-on-rar, and reinit timeout options added in Junos OS Release 20.1R1.