Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

show network-access pcrf

date_range 09-Dec-23

Syntax

content_copy zoom_out_map
show network-access pcrf
<state>
<statistics [brief | detail | extensive]>
<subscribers>

Description

Display Policy and Charging Rules Function (PCRF) provisioning state and statistics information.

Options

brief | detail | extensive

(Optional) Display the specified level of output.

state

(Optional) Display PCRF provisioning state.

statistics

(Optional) Display PCRF statistics.

subscribers

(Optional) Display session ID and provisioning state for each PCRF subscriber.

Required Privilege Level

view

Output Fields

Table 1 lists the output fields for the show network-access pcrf command. Output fields are listed in the approximate order in which they appear.

Table 1: show network-access pcrf Output Fields

Field Name

Field Description

Level of Output

Pcrf state

State of the PCRF components:

  • active—Installed services from local grant.

  • created—Just created.

  • dead—Received logout response or timed out waiting for logout response.

  • deny—Received deny from remote and waiting for subscriber logout.

  • failed—GRES before active state or provisioning failed, waiting for subscriber logout.

  • grant—Received remote grant and installing services.

  • local-active—Services installed after local grant.

  • local-deny—Denied by local decision waiting for subscriber logout.

  • local-grant—Received local grant and installing services.

  • local-reinit—Router is waiting for the CCA-GX-T so it can reinitialize the PCRF session. Local reinitialization must be configured on the PCRF partition.

    This state results from one of the following:

    • When a RAR is received while the PCRF is in local-active state.

    • When a RAR is received while the PCRF is in started state and no default service is configured.

    • When the provisioning-done event occurs while the PCRF is in local-reinit-early state.

  • local-reinit-early—The PCRF is engaged in provisioning services when a failure is detected or the PCRF server sends a RAR message of any type. The session transitions to local-reinit state when the provisioning completes. Local reinitialization must be configured on the PCRF partition.

  • logout—Waiting for logout response.

  • ocs-final-wait—Waiting for OCS to complete final interrogation.

  • report—Sending report.

  • update—Processing RAR-update.

  • upd-from-local—Received remote grant, in local-active state, and installing services.

  • started—Log in.

All levels

Pcrf general counters

Type and number of Diameter response and answer messages for PCRF communication using the Gx protocol.

All levels

Pcrf diameter event counters

State and number of Diameter events.

All levels

Pcrf rule install counters

Result and number of rule installations.

All levels

Name

PCRF subscriber name.

All levels

Session-ID

Identifier for the PCRF session.

All levels

Sample Output

show network-access pcrf state

content_copy zoom_out_map
user@host> show network-access pcrf state
Pcrf state:
  Component                     Value
  state                         active 
  active-configuration          yes
  queue-state                   normal
  subscribers                   2000       
  sub-in-idle                   2000       
 

show network-access pcrf statistics

content_copy zoom_out_map
user@host> show network-access pcrf statistics
Pcrf general counters:
  Counter                                                   Value 
  ccr-gx-i                                                  4001               
  ccr-gx-i-retry                                            4                  
  cca-gx-i                                                  4001               
  ccr-gx-u                                                  4001               
  cca-gx-u                                                  4001               
  ccr-gx-t                                                  2001               
  cca-gx-t                                                  2001               

Pcrf diameter event counters:
  Diameter event                                            Value 
  no peer for tx                                            4                  

Pcrf rule install counters:
  Result                                                    Value 
  success                                                   16004             
  family mismatch                                           5

show network-access pcrf subscribers

content_copy zoom_out_map
user@host> show network-access pcrf subscribers
Pcrf subscribers:
  Name                              Session-Id            Prov-State 
  user45-example                    2761                  active
  user48-example                    12731                 local-active     
  user51-example                    12732                 local-active    
  user54-example                    16887                 started          
  user57-example                    16895                 started  

Release Information

Command introduced in Junos OS Release 16.2.

footer-navigation