.. _vpn_ipsec_stats:

vpn ipsec stats
===============

Statistics for the object ipsec


ipsec Specification
-------------------

	===================================== ===============================================================
	 **Parameter**                         **Value** 

	===================================== ===============================================================
	 **Type**                              *Collection*

	 **Collection Name**                   :ref:`4086_ipsec_list`

	 **Collection URI**                    /axapi/v3/vpn/ipsec/{name}

	                                       

	 **Element Name**                      ipsec

	 **Element URI**                       /axapi/v3/vpn/ipsec/{name}/stats

	 **Element Attributes**                ipsec_attributes

	 **Partition Visibility**              None

	 **Schema**                             :download:`ipsec schema <vpn-ipsec-stats/vpn-ipsec-stats.txt>`
	===================================== ===============================================================





	**Operations Allowed:**




.. raw:: html

   <script type="text/javascript">
 function showExample(a,b) { document.getElementById(a+'_div').style.display = 'block'; document.getElementById(a+'_cl').style.display = 'block'; document.getElementById(a+'_eg').style.display = 'none';}
   function closeExample(a,b) { document.getElementById(a+'_div').style.display = 'none'; document.getElementById(a+'_cl').style.display = 'none'; document.getElementById(a+'_eg').style.display = 'block';}
 </script>
   <table width='90%' style='margin-left:5%'>



.. raw:: html

   <tr style='border-bottom: thin solid; border-top: thin solid'><th width=15%>Operation</th><th width=10%>Method</th><th>URI</th><th width=15%>Payload</th><th width=10%></th></tr>




.. raw:: html

   <tr  style='border-bottom: thin solid;'><td valign = 'top'>


Create Object



.. raw:: html

   </td><td valign = 'top'>


POST



.. raw:: html

   </td><td valign = 'top'>


/axapi/v3/vpn/ipsec/{name}



.. raw:: html

   </td><td valign = 'top'>


:ref:`4086_ipsec_attributes`



.. raw:: html

   </td><td></td></tr>




.. raw:: html

   <tr  style='border-bottom: thin solid;'><td valign = 'top'>


Create List



.. raw:: html

   </td><td valign = 'top'>


POST



.. raw:: html

   </td><td valign = 'top'>


/axapi/v3/vpn/ipsec/{name}



.. raw:: html

   </td><td valign = 'top'>


:ref:`4086_ipsec_attributes`



.. raw:: html

   </td><td></td></tr>




.. raw:: html

   <tr  style='border-bottom: thin solid;'><td valign = 'top'>


Get Object



.. raw:: html

   </td><td valign = 'top'>


GET



.. raw:: html

   </td><td valign = 'top'>


/axapi/v3/vpn/ipsec/{name}/stats



.. raw:: html

   </td><td valign = 'top'>


:ref:`4086_ipsec_attributes`



.. raw:: html

   </td><td></td></tr>




.. raw:: html

   <tr  style='border-bottom: thin solid;'><td valign = 'top'>


Get List



.. raw:: html

   </td><td valign = 'top'>


GET



.. raw:: html

   </td><td valign = 'top'>


/axapi/v3/vpn/ipsec/{name}



.. raw:: html

   </td><td valign = 'top'>


:ref:`4086_ipsec_list`



.. raw:: html

   </td><td></td></tr>




.. raw:: html

   <tr  style='border-bottom: thin solid;'><td valign = 'top'>


Modify Object



.. raw:: html

   </td><td valign = 'top'>


POST



.. raw:: html

   </td><td valign = 'top'>


/axapi/v3/vpn/ipsec/{name}/stats



.. raw:: html

   </td><td valign = 'top'>


:ref:`4086_ipsec_attributes`



.. raw:: html

   </td><td></td></tr>




.. raw:: html

   <tr  style='border-bottom: thin solid;'><td valign = 'top'>


Replace Object



.. raw:: html

   </td><td valign = 'top'>


PUT



.. raw:: html

   </td><td valign = 'top'>


/axapi/v3/vpn/ipsec/{name}/stats



.. raw:: html

   </td><td valign = 'top'>


:ref:`4086_ipsec_attributes`



.. raw:: html

   </td><td></td></tr>




.. raw:: html

   <tr  style='border-bottom: thin solid;'><td valign = 'top'>


Replace List



.. raw:: html

   </td><td valign = 'top'>


PUT



.. raw:: html

   </td><td valign = 'top'>


/axapi/v3/vpn/ipsec/{name}



.. raw:: html

   </td><td valign = 'top'>


:ref:`4086_ipsec_list`



.. raw:: html

   </td><td></td></tr>




.. raw:: html

   <tr  style='border-bottom: thin solid;'><td valign = 'top'>


Delete Object



.. raw:: html

   </td><td valign = 'top'>


DELETE



.. raw:: html

   </td><td valign = 'top'>


/axapi/v3/vpn/ipsec/{name}/stats



.. raw:: html

   </td><td valign = 'top'>


:ref:`4086_ipsec_attributes`



.. raw:: html

   </td><td></td></tr>




.. raw:: html

   </table>

.. _4086_ipsec_list:

ipsec-list
----------


    ipsec-list is **JSON List** of :ref:`4086_ipsec_attributes` 

        ipsec-list : [

             { :ref:`4086_ipsec_attributes` },

             { :ref:`4086_ipsec_attributes` },

             ...

         ]

.. _4086_ipsec_attributes:

ipsec attributes
----------------

    **name**

        **Description** IPsec name

        **Type:** string

        **Maximum Length:** 31 characters

        **Maximum Length:** 1 characters

    **stats**

        **Description:** stats is a **JSON Block**.  Please see below for :ref:`4086_stats` 

        **Type:** Object

.. _4086_stats:

stats
^^^^^
	=============================== ===================================================
	**Specification**                 **Value**
	=============================== ===================================================
	 **Type**                        *object*

	=============================== ===================================================

    **anti-replay-num**

        **Description** Anti-Replay Failure

        **Type:** number

        **Format:** counter

    **bytes-decrypted**

        **Description** Decrypted Bytes

        **Type:** number

        **Format:** counter

    **bytes-encrypted**

        **Description** Encrypted Bytes

        **Type:** number

        **Format:** counter

    **cavium-bytes-decrypted**

        **Description** CAVIUM Decrypted Bytes

        **Type:** number

        **Format:** counter

    **cavium-bytes-encrypted**

        **Description** CAVIUM Encrypted Bytes

        **Type:** number

        **Format:** counter

    **cavium-packets-decrypted**

        **Description** CAVIUM Decrypted Packets

        **Type:** number

        **Format:** counter

    **cavium-packets-encrypted**

        **Description** CAVIUM Encrypted Packets

        **Type:** number

        **Format:** counter

    **frag-after-encap-frag-packets**

        **Description** Frag-after-encap Fragment Generated

        **Type:** number

        **Format:** counter

    **frag-received**

        **Description** Fragment Received

        **Type:** number

        **Format:** counter

    **invalid-tunnel-id**

        **Description** Packet dropped: Invalid tunnel ID

        **Type:** number

        **Format:** counter

    **no-next-hop**

        **Description** Packet dropped: No next hop

        **Type:** number

        **Format:** counter

    **no-tunnel-found**

        **Description** Packet dropped: No tunnel found

        **Type:** number

        **Format:** counter

    **packets-decrypted**

        **Description** Decrypted Packets

        **Type:** number

        **Format:** counter

    **packets-encrypted**

        **Description** Encrypted Packets

        **Type:** number

        **Format:** counter

    **packets-err-encryption**

        **Description** Encryption Error

        **Type:** number

        **Format:** counter

    **packets-err-icv-check**

        **Description** ICV Check Error

        **Type:** number

        **Format:** counter

    **packets-err-inactive**

        **Description** Inactive Error

        **Type:** number

        **Format:** counter

    **packets-err-lifetime-lifebytes**

        **Description** Lifetime Lifebytes Error

        **Type:** number

        **Format:** counter

    **packets-err-nh-check**

        **Description** Next Header Check Error

        **Type:** number

        **Format:** counter

    **packets-err-pad-check**

        **Description** Pad Check Error

        **Type:** number

        **Format:** counter

    **packets-err-pkt-sanity**

        **Description** Packets Sanity Error

        **Type:** number

        **Format:** counter

    **pkt-fail-prep-to-send**

        **Description** Packet dropped: Failed in prepare to send

        **Type:** number

        **Format:** counter

    **pkt-fail-to-send**

        **Description** Packet dropped: Failed to send

        **Type:** number

        **Format:** counter

    **prefrag-error**

        **Description** Pre-frag Error

        **Type:** number

        **Format:** counter

    **prefrag-success**

        **Description** Pre-frag Success

        **Type:** number

        **Format:** counter

    **qat-bytes-decrypted**

        **Description** QAT Decrypted Bytes

        **Type:** number

        **Format:** counter

    **qat-bytes-encrypted**

        **Description** QAT Encrypted Bytes

        **Type:** number

        **Format:** counter

    **qat-packets-decrypted**

        **Description** QAT Decrypted Packets

        **Type:** number

        **Format:** counter

    **qat-packets-encrypted**

        **Description** QAT Encrypted Packets

        **Type:** number

        **Format:** counter

    **rekey-num**

        **Description** Rekey Times

        **Type:** number

        **Format:** counter

    **sequence-num**

        **Description** Sequence Number

        **Type:** number

        **Format:** counter

    **sequence-num-rollover**

        **Description** Sequence Number Rollover

        **Type:** number

        **Format:** counter

    **tunnel-intf-down**

        **Description** Packet dropped: Tunnel Interface Down

        **Type:** number

        **Format:** counter