.. _clicmd_src_plugins_linux-cp_test:

===============================================================
Test cli reference
===============================================================

test lcp
-------------------------------------------------------------------------

.. code-block:: console

    lcp [add|del] phy <SW_IF_INDEX> host <SW_IF_INDEX>


Declaration: ``test_time_range_command`` `src/plugins/linux-cp/test/lcp_unittest.c line 81 <https://github.com/FDio/vpp/blob/master//src/plugins/linux-cp/test/lcp_unittest.c#L81>`_

Implementation: ``lcp_add_pair_command_fn``