.. _clicmd_src_vnet_qos:

===============================================================
Qos cli reference
===============================================================

qos egress map
-------------------------------------------------------------------------

.. code-block:: console

    qos egress map id %d [delete] {[SOURCE][INPUT]=OUTPUT}



Update a Egress Qos Map table



.. code-block:: console

    qos egress map id 0 [ip][4]=4



Declaration: ``qos_egress_map_update_command`` `src/vnet/qos/qos_egress_map.c line 180 <https://github.com/FDio/vpp/blob/master//src/vnet/qos/qos_egress_map.c#L180>`_

Implementation: ``qos_egress_map_update_cli``


qos mark
-------------------------------------------------------------------------

.. code-block:: console

    qos mark <SOURCE> <INTERFACE> id <MAP>



Apply a QoS egress mapping table to an interface for QoS marking packets
at the given output protocol.



.. code-block:: console

    qos egress interface GigEthernet0/9/0 id 0 output ip



Declaration: ``qos_egress_map_interface_command`` `src/vnet/qos/qos_mark.c line 190 <https://github.com/FDio/vpp/blob/master//src/vnet/qos/qos_mark.c#L190>`_

Implementation: ``qos_mark_cli``


qos record
-------------------------------------------------------------------------

.. code-block:: console

    qos record <record-source> <INTERFACE> [disable]



Enable QoS bit recording on an interface using the packet's input DSCP bits
Which input QoS bits to use are either; IP, MPLS or VLAN. If more than
one protocol is chosen (which is foolish) the higher layers override the
lower.



.. code-block:: console

    qos record ip GigEthernet0/1/0



Declaration: ``qos_record_command`` `src/vnet/qos/qos_record.c line 206 <https://github.com/FDio/vpp/blob/master//src/vnet/qos/qos_record.c#L206>`_

Implementation: ``qos_record_cli``


qos store
-------------------------------------------------------------------------

.. code-block:: console

    qos store <store-source> <INTERFACE> [disable]



Enable QoS bit storing on an interface using the packet's input DSCP bits
Which input QoS bits to use are either; IP, MPLS or VLAN. If more than
one protocol is chosen (which is foolish) the higher layers override the
lower.



.. code-block:: console

    qos store ip GigEthernet0/1/0



Declaration: ``qos_store_command`` `src/vnet/qos/qos_store.c line 214 <https://github.com/FDio/vpp/blob/master//src/vnet/qos/qos_store.c#L214>`_

Implementation: ``qos_store_cli``


show qos egress map
-------------------------------------------------------------------------

.. code-block:: console

    show qos egress map id %d



Show Egress Qos Maps



.. code-block:: console

    show qos egress map



Declaration: ``qos_egress_map_show_command`` `src/vnet/qos/qos_egress_map.c line 269 <https://github.com/FDio/vpp/blob/master//src/vnet/qos/qos_egress_map.c#L269>`_

Implementation: ``qos_egress_map_show``


show qos mark
-------------------------------------------------------------------------

.. code-block:: console

    show qos mark [interface]



Show Egress Qos Maps



.. code-block:: console

    show qos egress map



Declaration: ``qos_mark_show_command`` `src/vnet/qos/qos_mark.c line 272 <https://github.com/FDio/vpp/blob/master//src/vnet/qos/qos_mark.c#L272>`_

Implementation: ``qos_mark_show``


show qos record
-------------------------------------------------------------------------

.. code-block:: console

    show qos record [interface]



Show Egress Qos Maps



.. code-block:: console

    show qos egress map



Declaration: ``qos_record_show_command`` `src/vnet/qos/qos_record.c line 286 <https://github.com/FDio/vpp/blob/master//src/vnet/qos/qos_record.c#L286>`_

Implementation: ``qos_record_show``


show qos store
-------------------------------------------------------------------------

.. code-block:: console

    show qos store [interface]



Show Egress Qos Maps



.. code-block:: console

    show qos egress map



Declaration: ``qos_store_show_command`` `src/vnet/qos/qos_store.c line 296 <https://github.com/FDio/vpp/blob/master//src/vnet/qos/qos_store.c#L296>`_

Implementation: ``qos_store_show``