> LNS Schema Statistics
> The LNS schema provides operational statistics that can be used for monitoring and troubleshooting the following products: L2TP Network Server (LNS).
> 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.
> Bulk Statistic Variables in the LNS Service Schema

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

> ‌

Cisco Systems Inc.
Tel: 408-526-4000
Fax: 408-527-0883