# PCC-AF Schema Statistics

The PCC-AF schema provides operational statistics that can be used for monitoring and troubleshooting the following products from StarOS Release 12.1 onward: IPCF.
This schema provides the following types of statistics:

- Counter: A counter records incremental data cumulatively and rolls over when the counter limit is reached. All counter statistics are cumulative and reset only by one of the following methods: roll-over when limit is reached, after a system restart, or after a clear command is performed. The limit depends upon the data type.
- Gauge: A gauge statistic indicates a single value; a snapshot representation of a single point in time within a defined time frame. The gauge changes to a new value with each snapshot though a value may repeat from one period to the next. The limit depends upon the data type.
- Information: This type of statistic provides information, often intended to differentiate sets of statistics; for example, a VPN name or IP address. The type of information provided depends upon the data type.

The data type defines the format of the data for the value provided by the statistic. The following data types are used in statistics for this schema:

- Int32/Int64: An integer, either 32-bit or 64-bit: For statistics with the Int32 data type, the roll-over to zero limit is 4,294,967,295. For statistics with the Int64 data type, the roll-over to zero limit is 18,446,744,073,709,551,615.
- Float: A numeric value that can be represented fractionally; for example, 1.345.
- String: A series of ASCII alphanumeric characters in a single grouping, usually pre-configured.

IMPORTANT:

Unless otherwise indicated, all statistics are counters and all statistics are standards-based.

Key Variables: Every schema has some variables which are typically referred to as 'key variables'. These key variables provide index markers to identify which object the statistics apply to. For example, in the card schema, the card number (variable %card%) uniquely identifies a card. For an HA service, the keys would be "%vpnname%" plus "%servname%", as the combination uniquely identifies an HA service. So, in a given measurement interval, one row of statistics will be generated per unique key. The schema keys are identified in the Description section of the table.
Table 1. Bulk Statistic Variables in the PCC-AF Schema

Variables | Description | Data Type
--- | --- | ---
vpnname | The name of the context in which PCC-AF service is configured. This is a key variable. | String
vpnid | The identity number of the context in which PCC-AF service is configured. This is a key variable. | String
servname | The name of the PCC-AF service for which statistics are collected or displayed. This is a key variable. | String
servid | The identity number of the PCC-AF service for which statistics are collected or displayed. This is a key variable. | String
total-rx-inbound- msgs | Indicates the total number of Rx messages received.Trigger: When a Rx message arrives at IPCF. Trigger: When a Rx message arrives at IPCF. Availability: Across all PCC App Services. | Unsigned Int32
total-rx-outbound-msgs | Indicates the total number of Rx messages sent. Trigger: When a Rx message is sent by IPCF to peer. Availability: Across all PCC App Services. | Unsigned Int32
total-rx-aar-rcvd | Indicates the total number of Rx AAR messages received. Trigger: When Rx AAR received. Availability: Across all PCC App Services. | Unsigned Int32
total-rx-aar-accept-sent | Indicates the total number of Rx AAR messages accepted. Trigger: When Rx AAR accepted with AAA with success code. Availability: Across all PCC App Services. | Unsigned Int32
total-rx-ccri-rcvd | Indicates the total number of Rx STR messages received. Trigger: When IPCF received a Rx STR. Availability: Across all PCC App Services. | Unsigned Int32
total-rx-ccai-accept-sent | Indicates the total number of Rx STR messages received. Trigger: When IPCF accepts a STR with STA with success code. Availability: Across all PCC App Services. | Unsigned Int32
total-rx-rar-sent | Indicates the total number of Rx RAR request sent. Trigger: When IPCF sends a RAR on Rx. Availability: Across all PCC App Services. | Unsigned Int32
total-rx-raa-rcvd | Indicates the total number of Rx RAA responses received. Trigger: When IPCF received a RAR response. Availability: Across all PCC App Services. | Unsigned Int32
total-rx-asr-sent | Indicates the total number of Rx ASR request sent. Trigger: When IPCF sends a ASR on Rx. Availability: Across all PCC App Services. | Unsigned Int32
total-rx-asa-rcvd | Indicates the total number of Rx ASA responses received. Trigger: When IPCF received a ASA response. Availability: Across all PCC App Services. | Unsigned Int32
IMPORTANT: For information on statistics that are common to all schema see the Statistics and Counters Overview chapter.