.. _interface_tunnel_stats: interface tunnel stats ====================== Statistics for the object tunnel tunnel Specification -------------------- ===================================== ======================================================================= **Parameter** **Value** ===================================== ======================================================================= **Type** *Collection* **Collection Name** :ref:`2021_tunnel_list` **Collection URI** /axapi/v3/interface/tunnel/{ifnum} **Element Name** tunnel **Element URI** /axapi/v3/interface/tunnel/{ifnum}/stats **Element Attributes** tunnel_attributes **Partition Visibility** None **Schema** :download:`tunnel schema ` ===================================== ======================================================================= **Operations Allowed:** .. raw:: html .. raw:: html .. raw:: html .. raw:: html .. raw:: html .. raw:: html .. raw:: html .. raw:: html .. raw:: html .. raw:: html .. raw:: html
OperationMethodURIPayload
Create Object .. raw:: html POST .. raw:: html /axapi/v3/interface/tunnel/{ifnum} .. raw:: html :ref:`2021_tunnel_attributes` .. raw:: html
Create List .. raw:: html POST .. raw:: html /axapi/v3/interface/tunnel/{ifnum} .. raw:: html :ref:`2021_tunnel_attributes` .. raw:: html
Get Object .. raw:: html GET .. raw:: html /axapi/v3/interface/tunnel/{ifnum}/stats .. raw:: html :ref:`2021_tunnel_attributes` .. raw:: html
Get List .. raw:: html GET .. raw:: html /axapi/v3/interface/tunnel/{ifnum} .. raw:: html :ref:`2021_tunnel_list` .. raw:: html
Modify Object .. raw:: html POST .. raw:: html /axapi/v3/interface/tunnel/{ifnum}/stats .. raw:: html :ref:`2021_tunnel_attributes` .. raw:: html
Replace Object .. raw:: html PUT .. raw:: html /axapi/v3/interface/tunnel/{ifnum}/stats .. raw:: html :ref:`2021_tunnel_attributes` .. raw:: html
Replace List .. raw:: html PUT .. raw:: html /axapi/v3/interface/tunnel/{ifnum} .. raw:: html :ref:`2021_tunnel_list` .. raw:: html
Delete Object .. raw:: html DELETE .. raw:: html /axapi/v3/interface/tunnel/{ifnum}/stats .. raw:: html :ref:`2021_tunnel_attributes` .. raw:: html
.. _2021_tunnel_list: tunnel-list ----------- tunnel-list is **JSON List** of :ref:`2021_tunnel_attributes` tunnel-list : [ { :ref:`2021_tunnel_attributes` }, { :ref:`2021_tunnel_attributes` }, ... ] .. _2021_tunnel_attributes: tunnel attributes ----------------- **ifnum** **Description** Tunnel interface number **Type:** number **Range:** 1-128 **stats** **Description:** stats is a **JSON Block**. Please see below for :ref:`2021_stats` **Type:** Object .. _2021_stats: stats ^^^^^ =============================== =================================================== **Specification** **Value** =============================== =================================================== **Type** *object* =============================== =================================================== **num-rx-err-pkts** **Description** received error packets **Type:** number **Format:** counter **num-rx-pkts** **Description** received packets **Type:** number **Format:** counter **num-total-rx-bytes** **Description** received bytes **Type:** number **Format:** counter **num-total-tx-bytes** **Description** sent bytes **Type:** number **Format:** counter **num-tx-err-pkts** **Description** sent error packets **Type:** number **Format:** counter **num-tx-pkts** **Description** sent packets **Type:** number **Format:** counter **rate_byte_rcvd** **Description** Byte received rate bits/sec **Type:** number **Format:** counter **rate_byte_sent** **Description** Byte sent rate bits/sec **Type:** number **Format:** counter **rate_pkt_rcvd** **Description** Packet received rate packets/sec **Type:** number **Format:** counter **rate_pkt_sent** **Description** Packet sent rate packets/sec **Type:** number **Format:** counter