# PCC-Usage-Monitor Configuration Mode Commands

The PCC-Usage-Monitor Configuration mode provides a mechanism to set the usage threshold limit in a PCC-Service-Profile to trigger a required condition and action set in PCC-Service instance.

IMPORTANT:

This configuration mode is supported from StarOS Release 12.1 onward.

IMPORTANT:

The commands or keywords/variables that are available are dependent on platform type, product version, and installed license(s).
end

Exits the current configuration mode and returns to the Exec mode.
Product:

All
Privilege:

Security Administrator, Administrator
Syntax

    end

Usage:

Use this command to return to the Exec mode.
exit

Exits the current mode and returns to the parent configuration mode.
Product:

All
Privilege:

Security Administrator, Administrator
Syntax

    exit

Usage:

Use this command to return to the parent configuration mode.
usage-limit time

Sets the usage limit by time for a subscriber profile for a PCC-Service-Profile on an IPCF node.
Platform:

ASR 5000
Product:

IPCF
Privilege:

Security Administrator, Administrator
Syntax

    [ default ] usage-limit
    time time_dur

default

Sets the usage limit time to 10 seconds for IP-CAN traffic in a PCC-Service-Profile.
time time_dur

Default: 10 secs.

Specifies the usage duration (in seconds) for a PCC-service profile instance.

time_dur must be an integer from 1 through 4294967296.
Usage:

Use this command to set the usage limit in duration for subscriber profile for a PCC-Service-Profile on IPCF node.
Example:
The following command sets the usage duration limit to 20000 seconds within a PCC-Service-Profile.

    usage-limit time 20000

usage-limit volume

Sets the usage limit by volume for a subscriber profile for a PCC-Service-Profile on an IPCF node.
Platform:

ASR 5000
Product:

IPCF
Privilege:

Security Administrator, Administrator
Syntax

    [default usage-limit volume [downlink dlink_volume | total total_volume | uplink uplink_volume]

default

Sets the usage limit volume to “0” for downlink, uplink and total bucket in a PCC-Service-Profile.
downlink dlink_volume

Specifies the usage volume (in kilobytes) in the downlink direction (from PCEF to UE) as an integer from 1 through 4294967296. A “0” (zero) value disables the downlink volume usage. Default: 0
total total_volume

Specifies the usage volume (in kilobytes) in the downlink and uplink directions (from PCEF to UE and PCEF to PDN) as an integer from 1 through 4294967296. A “0” (zero) value disables the downlink volume usage. Default: 0
uplink uplink_volume

Specifies the usage volume (in kilobytes) in the uplink direction (from PCEF to PDN) as an integer from 1 through 4294967296. A “0” (zero) value disables the downlink volume usage. Default: 0
Usage:

Use this command to set the usage limit in volume for subscriber profile for a PCC-Service-Profile on IPCF node.
Example:
The following command sets the usage limit volume to 20000 kilobytes in the upload direction within a PCC-Service-Profile.

    usage-limit volume
    uplink 20000

The following command sets the usage limit volume to 400000 kilobytes in the download direction within a PCC-Service-Profile.

    usage-limit volume
    downlink 400000