.. _clicmd_src_plugins_pvti:

===============================================================
Pvti cli reference
===============================================================

pvti interface create
-------------------------------------------------------------------------

.. code-block:: console

    pvti interface create peer <remote-ip> <remote-port> <local-port> [ local-ip <ip-addr> ][ underlay-mtu <MTU>][underlay-table <table-index>][inderlay-fib <fib-index>]


Declaration: ``pvti_interface_create_command`` `src/plugins/pvti/pvti.c line 322 <https://github.com/FDio/vpp/blob/master//src/plugins/pvti/pvti.c#L322>`_

Implementation: ``pvti_interface_create_command_fn``


pvti interface delete
-------------------------------------------------------------------------

.. code-block:: console

    pvti interface delete if-index <sw-ifindex>


Declaration: ``pvti_interface_delete_command`` `src/plugins/pvti/pvti.c line 331 <https://github.com/FDio/vpp/blob/master//src/plugins/pvti/pvti.c#L331>`_

Implementation: ``pvti_interface_delete_command_fn``


set interface ip pvti-bypass
-------------------------------------------------------------------------

.. code-block:: console

    set interface ip pvti-bypass <interface> [del]


Declaration: ``set_interface_ip_pvti_bypass_command`` `src/plugins/pvti/pvti.c line 170 <https://github.com/FDio/vpp/blob/master//src/plugins/pvti/pvti.c#L170>`_

Implementation: ``set_ip4_pvti_bypass``


set interface ip6 pvti-bypass
-------------------------------------------------------------------------

.. code-block:: console

    set interface ip6 pvti-bypass <interface> [del]


Declaration: ``set_interface_ip6_pvti_bypass_command`` `src/plugins/pvti/pvti.c line 183 <https://github.com/FDio/vpp/blob/master//src/plugins/pvti/pvti.c#L183>`_

Implementation: ``set_ip6_pvti_bypass``


show pvti interface
-------------------------------------------------------------------------

.. code-block:: console

    show pvti interface


Declaration: ``pvti_show_interface_command`` `src/plugins/pvti/pvti.c line 396 <https://github.com/FDio/vpp/blob/master//src/plugins/pvti/pvti.c#L396>`_

Implementation: ``pvti_show_interface_command_fn``


show pvti rx peers
-------------------------------------------------------------------------

.. code-block:: console

    show pvti rx peers


Declaration: ``pvti_show_rx_peers_command`` `src/plugins/pvti/pvti.c line 408 <https://github.com/FDio/vpp/blob/master//src/plugins/pvti/pvti.c#L408>`_

Implementation: ``pvti_show_rx_peers_command_fn``


show pvti tx peers
-------------------------------------------------------------------------

.. code-block:: console

    show pvti tx peers


Declaration: ``pvti_show_tx_peers_command`` `src/plugins/pvti/pvti.c line 402 <https://github.com/FDio/vpp/blob/master//src/plugins/pvti/pvti.c#L402>`_

Implementation: ``pvti_show_tx_peers_command_fn``