# LAC Schema Statistics

The LAC schema provides operational statistics that can be used for monitoring and troubleshooting the following products: PDSN, GGSN, HA.
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 LAC Service Schema

Variables | Description | Data Type
--- | --- | ---
vpnname | Description: The name of the context configured on the system that is currently facilitating the LAC service. This is a key variable. | String
vpnid | Description: The identification number of the context configured on the system that is currently facilitating the LAC service. This is an internal reference number. This is a key variable. | Int32
servname | Description: Displays the name of the LAC service for which the statistics are displayed. This is a key variable. | String
tun-conn-attempt | Description: This proprietary counter indicates the total number of tunnel connection attempts. Triggers: - Incremented when a tunnel request is received or a new tunnel is started. Availability: per L2TP service, per PCF, per session Type: Counter | Int32
tun-conn-success | Description: This proprietary counter indicates the total number of successful tunnel connections. Triggers: - Incremented when a tunnel is established. Availability: per L2TP service, per PCF, per session Type: Counter | Int32
tun-conn-fail | Description: This proprietary counter indicates the total number of failed tunnel connections. Triggers: - Incremented when a tunnel connection failed. Availability: per L2TP service, per PCF, per session Type: Counter | Int32
tun-conn-curactive | Description: This proprietary counter indicates the total number of currently active tunnel connections. Triggers: - Incremented when a tunnel is established, decremented when a tunnel is released. Availability: per L2TP service, per PCF, per session Type: Counter | Int32
sess-attempts | Description: This proprietary counter indicates the total number of session connection attempts. Triggers: - Incremented when a session request is received or a new session is started. Availability: per L2TP service, per PCF, per session Type: Counter | Int32
sess-successful | Description: This proprietary counter indicates the total number of successful session connections. Triggers: - Incremented when a session is connected. Availability: per L2TP service, per PCF, per session Type: Counter | Int32
sess-failed | Description: This proprietary counter indicates the total number of failed session connections. Triggers: - Incremented when a session connection failed. Availability: per L2TP service, per PCF, per session Type: Counter | Int32
sess-curactive | Description: This proprietary counter indicates the total number of currently active session connections. Triggers: - Incremented when a session is connected, decremented when a session is released. Availability: per L2TP service, per PCF, per session Type: Counter | Int32
sess-intrapdsnho-attempt | Description: This proprietary counter indicates the total number of Intra-PDSN Hand-Offs connection attempts. Availability: per L2TP service, per PCF, per session Type: Counter | Int32
sess-intrapdsnho-success | Description: This proprietary counter indicates the total number of successful Intra-PDSN Hand-Offs connections. Availability: per L2TP service, per PCF, per session Type: Counter | Int32
sess-intrapdsnho-failed | Description: This proprietary counter indicates the total number of failed Intra-PDSN Hand-Offs connections. Availability: per L2TP service, per PCF, per session Type: Counter | Int32
sess-interpdsnho-attempt | Description: This proprietary counter indicates the total number of Inter-PDSN Hand-Offs connection attempts. Availability: per L2TP service, per PCF, per session Type: Counter | Int32
recv-err-malformed | Description: This proprietary counter indicates the total number of Tunnel Receive Control Packet errors experienced due to malformed packets . Triggers: - Incremented when a malformed packets is received. Availability: per L2TP service, per PCF, per session Type: Counter | Int32
recv-err-ctrlfield | Description: This proprietary counter indicates the total number of Tunnel Receive Control Packet errors experienced due to control field errors. Availability: per L2TP service, per PCF, per session Type: Counter | Int32
recv-err-pktlen | Description: This proprietary counter indicates the total number of Tunnel Receive Control Packet errors experienced due to packet length errors. Availability: per L2TP service, per PCF, per session Type: Counter | Int32
recv-err-avplen | Description: This proprietary counter indicates the total number of Tunnel Receive Control Packet errors experienced due to AVP length errors. Availability: per L2TP service, per PCF, per session Type: Counter | Int32
recv-err-protover | Description: This proprietary counter indicates the total number of Tunnel Receive Control Packet errors experienced due to protocol version errors. Availability: per L2TP service, per PCF, per session Type: Counter | Int32
recv-err-md5 | Description: This proprietary counter indicates the total number of Tunnel Receive Control Packet errors experienced due to MD5 errors. Availability: per L2TP service, per PCF, per session Type: Counter | Int32
recv-err-invattr | Description: This proprietary counter indicates the total number of Tunnel Receive Control Packet errors experienced due to invalid attribute errors. Availability: per L2TP service, per PCF, per session Type: Counter | Int32
recv-err-unkattr | Description: This proprietary counter indicates the total number of Tunnel Receive Control Packet errors experienced due to unknown attribute errors. Availability: per L2TP service, per PCF, per session Type: Counter | Int32
recv-err-invsessid | Description: This proprietary counter indicates the total number of Tunnel Receive Control Packet errors experienced due to invalid session ID errors. Availability: per L2TP service, per PCF, per session Type: Counter | Int32
recv-err-invstate | Description: This proprietary counter indicates the total number of Tunnel Receive Control Packet errors experienced due to invalid state errors. Availability: per L2TP service, per PCF, per session Type: Counter | Int32
recv-err-unkmsg | Description: This proprietary counter indicates the total number of Tunnel Receive Control Packet errors experienced due to unknown message errors. Availability: per L2TP service, per PCF, per session Type: Counter | Int32
recv-err-unmatchpktlen | Description: This proprietary counter indicates the total number of Tunnel Receive Control Packet errors experienced due to unmatched packet length errors. Availability: per L2TP service, per PCF, per session Type: Counter | Int32
recv-err-invtunid | Description: This proprietary counter indicates the total number of Tunnel Receive Control Packet errors experienced due to invalid tunnel length errors. Availability: per L2TP service, per PCF, per session Type: Counter | Int32
tun-genclear | Description: This proprietary counter indicates the total number of tunnels cleared normally. Availability: per L2TP service, per PCF, per session Type: Counter | Int32
tun-ctrlconnexists | Description: This proprietary counter indicates the total number of tunnel disconnects/failures experienced due to a pre-existing control connection. Availability: per L2TP service, per PCF, per session Type: Counter | Int32
tun-unauth | Description: This proprietary counter indicates the total number of tunnel disconnects/failures experienced due to unauthorized errors. Availability: per L2TP service, per PCF, per session Type: Counter | Int32
tun-badproto | Description: This proprietary counter indicates the total number of tunnel disconnects/failures experienced due to bad protocol errors. Availability: per L2TP service, per PCF, per session Type: Counter | Int32
tun-reqshutdown | Description: This proprietary counter indicates the total number of tunnel disconnects experienced due to requester shutdown. Availability: per L2TP service, per PCF, per session Type: Counter | Int32
tun-statemacherr | Description: This proprietary counter indicates the total number of tunnel disconnects/failures experienced due to state machine errors. Availability: per L2TP service, per PCF, per session Type: Counter | Int32
tun-badlen | Description: This proprietary counter indicates the total number of tunnel disconnects/failures experienced due to wrong length errors. Availability: per L2TP service, per PCF, per session Type: Counter | Int32
tun-oor | Description: This proprietary counter indicates the total number of tunnel disconnects/failures experienced due to out-of-range errors. Availability: per L2TP service, per PCF, per session Type: Counter | Int32
tun-noresource | Description: This proprietary counter indicates the total number of tunnel disconnects/failures experienced due to insufficient resources. Availability: per L2TP service, per PCF, per session Type: Counter | Int32
tun-vendspec | Description: This proprietary counter indicates the total number of tunnel disconnects/failures experienced due to vendor-specific errors. Availability: per L2TP service, per PCF, per session Type: Counter | Int32
tun-tryanotherlns | Description: This proprietary counter indicates the total number of tunnel disconnects/failures experienced resulting in “Try Another LNS” message generation. Availability: per L2TP service, per PCF, per session Type: Counter | Int32
tun-unkavp | Description: This proprietary counter indicates the total number of tunnel disconnects/failures experienced due to unknown AVP with M-bit errors. Availability: per L2TP service, per PCF, per session Type: Counter | Int32
tun-ipsecdisc | Description: This proprietary counter indicates the total number of tunnel disconnects experienced due to IPSEC. Availability: per L2TP service, per PCF, per session Type: Counter | Int32
tun-ipsecfail | Description: This proprietary counter indicates the total number of tunnel failures experienced due to IPSEC. Availability: per L2TP service, per PCF, per session Type: Counter | Int32
tun-license | Description: This proprietary counter indicates the total number of tunnel disconnects/failures experienced due to license exceeded errors. Availability: per L2TP service, per PCF, per session Type: Counter | Int32
tun-newcallpoldisc | Description: This proprietary counter indicates the total number of tunnel disconnects experienced due to new call policies. Availability: per L2TP service, per PCF, per session Type: Counter | Int32
tun-maxretry | Description: This proprietary counter indicates the total number of tunnel disconnects/failures experienced due to the maximum number of retries being exceeded. Availability: per L2TP service, per PCF, per session Type: Counter | Int32
tun-syslimit | Description: This proprietary counter indicates the total number of tunnel disconnects/failures experienced due to reaching the system tunnel limit. Availability: per L2TP service, per PCF, per session Type: Counter | Int32
tun-miscerr | Description: This proprietary counter indicates the total number of tunnel disconnects/failures experienced due to miscellaneous errors. Availability: per L2TP service, per PCF, per session Type: Counter | Int32
sess-nogeneral | Description: This proprietary counter indicates the total number of sessions for which there were no general errors experienced. Availability: per L2TP service, per PCF, per session Type: Counter | Int32
sess-admin | Description: This proprietary counter indicates the total number of session disconnects/failures experienced due to administrative reasons. Availability: per L2TP service, per PCF, per session Type: Counter | Int32
sess-lossofcarr | Description: This proprietary counter indicates the total number of session disconnects/failures experienced due to loss of carrier. Availability: per L2TP service, per PCF, per session Type: Counter | Int32
sess-remoteadmin | Description: This proprietary counter indicates the total number of session disconnects/failures experienced due to remote administrative reasons. Availability: per L2TP service, per PCF, per session Type: Counter | Int32
sess-nofactemp | Description: This proprietary counter indicates the total number of session disconnects/failures experienced due to temporary no facility available errors. Availability: per L2TP service, per PCF, per session Type: Counter | Int32
sess-nofacperm | Description: This proprietary counter indicates the total number of session disconnects/failures experienced due to permanent no facility available errors. Availability: per L2TP service, per PCF, per session Type: Counter | Int32
sess-invdest | Description: This proprietary counter indicates the total number of session disconnects/failures experienced due to invalid destination errors. Availability: per L2TP service, per PCF, per session Type: Counter | Int32
sess-nocarrier | Description: This proprietary counter indicates the total number of session disconnects/failures experienced due no carrier being detected. Availability: per L2TP service, per PCF, per session Type: Counter | Int32
sess-busysig | Description: This proprietary counter indicates the total number of session disconnects/failures experienced due to receipt of a busy signal. Availability: per L2TP service, per PCF, per session Type: Counter | Int32
sess-nodialtime | Description: This proprietary counter indicates the total number of session disconnects/failures experienced due to receipt of no dial tone. Availability: per L2TP service, per PCF, per session Type: Counter | Int32
sess-lactimeout | Description: This proprietary counter indicates the total number of session disconnects/failures experienced due to LAC timeout. Availability: per L2TP service, per PCF, per session Type: Counter | Int32
sess-noframing | Description: This proprietary counter indicates the total number of session disconnects/failures experienced due to no appropriate framing. Availability: per L2TP service, per PCF, per session Type: Counter | Int32
sess-noctrlconn | Description: This proprietary counter indicates the total number of session disconnects/failures experienced due to no control connection existing. Availability: per L2TP service, per PCF, per session Type: Counter | Int32
sess-badlen | Description: This proprietary counter indicates the total number of session disconnects/failures experienced due to wrong length errors. Availability: per L2TP service, per PCF, per session Type: Counter | Int32
sess-oor | Description: This proprietary counter indicates the total number of session disconnects/failures experienced due to out-of-range errors. Availability: per L2TP service, per PCF, per session Type: Counter | Int32
sess-noresource | Description: This proprietary counter indicates the total number of session disconnects/failures experienced due to insufficient resources. Availability: per L2TP service, per PCF, per session Type: Counter | Int32
sess-invsessid | Description: This proprietary counter indicates the total number of session disconnects/failures experienced due to an invalid session ID. Availability: per L2TP service, per PCF, per session Type: Counter | Int32
sess-vendspec | Description: This proprietary counter indicates the total number of session disconnects/failures experienced due to vendor specific errors. Availability: per L2TP service, per PCF, per session Type: Counter | Int32
sess-tryanotherlns | Description: This proprietary counter indicates the total number of session disconnects/failures experienced resulting in “Try Another LNS” message generation. Availability: per L2TP service, per PCF, per session Type: Counter | Int32
sess-unkavp | Description: This proprietary counter indicates the total number of session disconnects/failures experienced due to unknown AVP with M-bit errors. Availability: per L2TP service, per PCF, per session Type: Counter | Int32
sess-maxtunnel | Description: This proprietary counter indicates the total number of session disconnects/failures experienced due to reaching the maximum tunnel limit. Availability: per L2TP service, per PCF, per session Type: Counter | Int32
sess-ipsecfail | Description: This proprietary counter indicates the total number of session failures experienced due to IPSEC. Availability: per L2TP service, per PCF, per session Type: Counter | Int32
sess-ipsecdisc | Description: This proprietary counter indicates the total number of session disconnects experienced due to IPSEC. Availability: per L2TP service, per PCF, per session Type: Counter | Int32
sess-newcallpoldisc | Description: This proprietary counter indicates the total number of session disconnects experienced due to new call policies. Availability: per L2TP service, per PCF, per session Type: Counter | Int32
sess-license | Description: This proprietary counter indicates the total number of session disconnects/failures experienced due to license exceeded errors. Availability: per L2TP service, per PCF, per session Type: Counter | Int32
sess-servmismatch | Description: This proprietary counter indicates the total number of session disconnects/failures experienced due to service mismatch errors. Availability: per L2TP service, per PCF, per session Type: Counter | Int32
sess-miscerr | Description: This proprietary counter indicates the total number of session disconnects/failures experienced due to miscellaneous errors. Availability: per L2TP service, per PCF, per session Type: Counter | Int32
IMPORTANT: For information on statistics that are common to all schema see the Statistics and Counters Overview chapter.