Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


show network-access ocs



Display Online Charging System (OCS) provisioning state and statistics information.


brief | detail | extensive

(Optional) Display the specified level of output.


(Optional) Display OCS provisioning state.


(Optional) Display OCS statistics.

Required Privilege Level


Output Fields

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

Table 1: show network-access ocs Output Fields

Field Name

Field Description

Level of Output

Ocs state

State of the OCS components, including the following:

  • created—Just created.

  • dead—Ready to be deleted.

  • final—Final interrogation in progress.

  • idle—Idle.

  • initial—Initial interrogation in progress.

  • intermediate—Intermediate interrogation in progress.

All levels

Ocs general counters

Type and number of Diameter response and answer messages for OCS communication using the Gy protocol.

All levels

Sample Output

show network-access ocs state

show network-access ocs statistics

Release Information

Command introduced in Junos OS Release 16.2.