.. _interface_trunk_stats:

interface trunk stats
=====================

Statistics for the object trunk


trunk Specification
-------------------

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

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

	 **Collection Name**                   :ref:`2005_trunk_list`

	 **Collection URI**                    /axapi/v3/interface/trunk/{ifnum}

	                                       

	 **Element Name**                      trunk

	 **Element URI**                       /axapi/v3/interface/trunk/{ifnum}/stats

	 **Element Attributes**                trunk_attributes

	 **Partition Visibility**              None

	 **Schema**                             :download:`trunk schema <interface-trunk-stats/interface-trunk-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/interface/trunk/{ifnum}



.. raw:: html

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


:ref:`2005_trunk_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/interface/trunk/{ifnum}



.. raw:: html

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


:ref:`2005_trunk_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/interface/trunk/{ifnum}/stats



.. raw:: html

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


:ref:`2005_trunk_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/interface/trunk/{ifnum}



.. raw:: html

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


:ref:`2005_trunk_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/interface/trunk/{ifnum}/stats



.. raw:: html

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


:ref:`2005_trunk_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/interface/trunk/{ifnum}/stats



.. raw:: html

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


:ref:`2005_trunk_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/interface/trunk/{ifnum}



.. raw:: html

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


:ref:`2005_trunk_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/interface/trunk/{ifnum}/stats



.. raw:: html

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


:ref:`2005_trunk_attributes`



.. raw:: html

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




.. raw:: html

   </table>

.. _2005_trunk_list:

trunk-list
----------


    trunk-list is **JSON List** of :ref:`2005_trunk_attributes` 

        trunk-list : [

             { :ref:`2005_trunk_attributes` },

             { :ref:`2005_trunk_attributes` },

             ...

         ]

.. _2005_trunk_attributes:

trunk attributes
----------------

    **ifnum**

        **Description** Trunk interface number

        **Type:** number

        **Range:** 1-4096

    **stats**

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

        **Type:** Object

.. _2005_stats:

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

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

    **dropped_dis_rx_pkts**

        **Description** some help string

        **Type:** number

        **Format:** counter

    **dropped_dis_tx_pkts**

        **Description** some help string

        **Type:** number

        **Format:** counter

    **dropped_rx_pkts**

        **Description** some help string

        **Type:** number

        **Format:** counter

    **dropped_tx_pkts**

        **Description** some help string

        **Type:** number

        **Format:** counter

    **num_broadcast_pkts**

        **Description** some help string

        **Type:** number

        **Format:** counter

    **num_broadcast_tx_pkts**

        **Description** some help string

        **Type:** number

        **Format:** counter

    **num_multicast_pkts**

        **Description** some help string

        **Type:** number

        **Format:** counter

    **num_multicast_tx_pkts**

        **Description** some help string

        **Type:** number

        **Format:** counter

    **num_pkts**

        **Description** some help string

        **Type:** number

        **Format:** counter

    **num_total_bytes**

        **Description** some help string

        **Type:** number

        **Format:** counter

    **num_total_tx_bytes**

        **Description** some help string

        **Type:** number

        **Format:** counter

    **num_tx_pkts**

        **Description** some help string

        **Type:** number

        **Format:** counter

    **num_unicast_pkts**

        **Description** some help string

        **Type:** number

        **Format:** counter

    **num_unicast_tx_pkts**

        **Description** some help string

        **Type:** number

        **Format:** counter