> Context Schema Statistics
> The Context schema provides the following types of statistics:

> • | Counter: A counter records incremental data cumulatively and rolls over when the counter limit is reached. The limit depends upon the counter data type.

> • | Gauge: A gauge statistic indicates a single value representative of a single instance. This type is often used to track particular events in time.

> Important: The format string syntax is described by Schema Format String Syntax in the Bulk Statistics Overview chapter.
> Important: Unless otherwise indicated, all statistics are counters. 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. All counter statistics are cumulative and reset only by one of the following methods: roll-over (as described above), after a system restart, or after a clear command is performed. All statistics are considered standards-based unless otherwise noted.
> The following variables are supported:
> Context Schema Statistics

> Statistic | Description | Data Type
> vpnname | Name of the VPN context. | String
> vpnid | Identifier for VPN context. | Int32
> sfw-total-rxpackets | Total number of packets received by the Firewall service. | Int64
> sfw-total-rxbytes | Total number of bytes received by the Firewall service. | Int64
> sfw-total-txpackets | Total number of packets transmitted by the Firewall service. | Int64
> sfw-total-txbytes | Total number of bytes transmitted by the Firewall service. | Int64
> sfw-total-injectedpkts | Total number of packets injected by the Firewall service. | Int64
> sfw-total-injectedbytes | Total number of bytes injected by the Firewall service. | Int64
> sfw-dnlnk-droppkts | Total number of packets dropped by the Firewall service in downlink direction. | Int64
> sfw-dnlnk-dropbytes | Total number of bytes dropped by the Firewall service in downlink direction. | Int64
> sfw-uplnk-droppkts | Total number of packets dropped by the Firewall service in uplink direction. | Int64
> sfw-uplnk-dropbytes | Total number of bytes dropped by the Firewall service in uplink direction. | Int64
> sfw-total-malpackets | Total number of invalid packets received by the Firewall service. | Int64
> sfw-ip-discardpackets | Total number of IP packets discarded by the Firewall service. | Int64
> sfw-ip-malpackets | Total number of invalid IP packets received by the Firewall service. | Int64
> sfw-icmp-discardpackets | Total number of invalid ICMP packets discarded by the Firewall service. | Int64
> sfw-icmp-malpackets | Total number of invalid ICMP packets received by the Firewall service. | Int64
> sfw-tcp-discardpackets | Total number of invalid TCP packets discarded by the Firewall service. | Int64
> sfw-tcp-malpackets | Total number of invalid TCP packets received by the Firewall service. | Int64
> sfw-udp-discardpackets | Total number of invalid UDP packets discarded by the Firewall service. | Int64
> sfw-udp-malpackets | Total number of invalid UDP packets received by the Firewall service. | Int64
> sfw-total-dosattacks | Total number of DoS attacks detected by the Firewall service. | Int64
> sfw-total-flows | Total number of flows processed by the Firewall service. | Int32
> dns-local-a-atmpts | Total number of local A query attempts. | Int32
> dns-local-srv-atmpts | Total number of local SRV query attempts. | Int32
> dns-local-aaaa-atmpts | Total number of local AAAA query attempts. | Int32
> dns-local-naptr-atmpts | Total number of local NAPTR query attempts. | Int32
> dns-local-a-succs | Total number of local A query successes. | Int32
> dns-local-srv-succs | Total number of local SRV query successes. | Int32
> dns-local-aaaa-succs | Total number of local AAAA query successes. | Int32
> dns-local-naptr-succs | Total number of local NAPTR query successes. | Int32
> dns-local-a-fails | Total number of local A query failures. | Int32
> dns-local-srv-fails | Total number of local SRV query failures. | Int32
> ns-local-aaaa-fails | Total number of local AAAA query failures. | Int32
> dns-local-naptr-fails | Total number of local NAPTR query failures. | Int32
> dns-primary-ns-a-atmpts | Total number of A query attempts to Primary Name server. | Int32
> dns-primary-ns-srv-atmpts | Total number of local SRV query attempts to Primary Name server. | Int32
> dns-primary-ns-aaaa-atmpts | Total number of local AAAA query attempts to Primary Name server. | Int32
> dns-primary-ns-naptr-atmpts | Total number of local NAPTR query attempts to Primary Name server. | Int32
> dns-primary-ns-a-succs | Total number of A query successes from Primary Name server. | Int32
> dns-primary-ns-srv-succs | Total number of local SRV query successes from Primary Name server. | Int32
> dns-primary-ns-aaaa-succs | Total number of local AAAA query successes from Primary Name server. | Int32
> dns-primary-ns-naptr-succs | Total number of local NAPTR query successes from Primary Name server. | Int32
> dns-primary-ns-a-fails | Total number of local A query failures from Primary Name server. | Int32
> dns-primary-ns-srv-fails | Total number of local SRV query failures from Primary Name server. | Int32
> dns-primary-ns-aaaa-fails | Total number of local AAAA query failures from Primary Name server. | Int32
> dns-primary-ns-naptr-fails | Total number of local NAPTR query failures from Primary Name server. | Int32
> dns-secondary-ns-a-atmpts | Total number of A query attempts to Secondary Name server. | Int32
> dns-secondary-ns-srv-atmpts | Total number of local SRV query attempts to Secondary Name server. | Int32
> dns-secondary-ns-aaaa-atmpts | Total number of local AAAA query attempts to Secondary Name server. | Int32
> dns-secondary-ns-naptr-atmpts | Total number of local NAPTR query attempts to Secondary Name server. | Int32
> dns-secondary-ns-a-succs | Total number of A query successes from Secondary Name server. | Int32
> dns-secondary-ns-srv-succs | Total number of local SRV query successes from Secondary Name server. | Int32
> dns-secondary-ns-aaaa-succs | Total number of local AAAA query successes from Secondary Name server. | Int32
> dns-secondary-ns-naptr-succs | Total number of local NAPTR query successes from Secondary Name server. | Int32
> dns-secondary-ns-a-fails | Total number of local A query failures from Secondary Name server. | Int32
> dns-secondary-ns-srv-fails | Total number of local SRV query failures from Secondary Name server. | Int32
> dns-secondary-ns-aaaa-fails | Total number of local AAAA query failures from Secondary Name server. | Int32
> dns-secondary-ns-naptr-fails | Total number of local NAPTR query failures from Secondary Name server. | Int32
> bgp-maxroute | Maximum number of BGP routes. It is the sum of all the VRFs in a context. | Int32
> bgp-totroute | Total number of BGP routes. It is the sum of all the VRFs in a context. | 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