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

ocs (Diameter Applications)

date_range 20-Nov-23

Syntax

content_copy zoom_out_map
ocs {
    global {
        service-context-id service-context;
    }
    partition partition-name  {
        called-station-id station-name;
        charging-id number;
        destination-host ocs-hostname;
        destination-realm ocs-realm-name;
        diameter-instance;
        draining;
        draining-response-timeout seconds;
        final-response-timeout seconds;
        force-continue;
        ggsn-address address;
        ggsn-mcc-mncggsn-mcc-mnc;
        max-outstanding-requests number;
        send-origin-state-id number;
        user-name-include  {
            base-interface-name;
            delimiter delimiter-character;
            domain-name my-domain;
            interface-name;
            mac-address;
            nas-port-id;
            origin-host;
            origin-realm;
            user-name;
            user-prefix pref;
        }
            backup {
                limit;
                timeout seconds;
                overflow { deny-login | drop-oldest };
            }
            sftp-backup {
                accumulation-timeout seconds;
                accumulation-count messages;
                accumulation-size bytes;
                logical-system;
                retry-interval seconds;
                response-timeout seconds;
                routing-instance;
                address ipv4 | ipv6;
                port number;
                directory filename;
                file-name-prefix filename-prefix;
                node-ipv4-address;
                node-ipv6-address;
                ssh-login;
                ssh-connection-linger;
                ssh-log-verbose;
                ssh-passphrase;
            }
    }
}

Hierarchy Level

content_copy zoom_out_map
[edit access]

Description

Configure the Online Charging System (OCS) global attributes and partition. The OCS interacts with the Policy and Charging Enforcement Function (PCEF). The PCEF optionally reports usage and receives additional authorizations from the OCS using the 3rd Generation Partnership Project (3GPP) Gy protocol. Broadband PCEF (BPCEF) interactions with the OCS use online session charging with centralized unit determination and centralized rating.

The remaining statements are explained separately. Search for a statement in CLI Explorer or click a linked statement in the Syntax section for details.

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.

footer-navigation