local-decision (PCRF Partition)
Syntax
local-decision { deny; grant; reinit-on-failure; reinit-on-rar; reinit-timeout seconds; timeout seconds; }
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:
The router sends a CCR-GX-I to the PCRF.
The PCRF responds with a CCA-GX-I, but the message is lost.
The router retries sending a CCR-GX-I to the PCRF.
Table 1 lists the errors and the resolution.
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 |
The PCRF responds with a RAR message of any type. |
Include the |
The reinitialization operation consists of the following steps in both cases:
The router sends a session termination request, CCR-GX-T, to the PCRF.
The router waits for a CCA-GX-T for the length of the
reinit-timeout
period.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.
|
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:
|
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:.
|
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.
|
timeout seconds | Sets the number of seconds to wait before using the local decision to log in.
|
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.