.. _clicmd_src_plugins_lisp_lisp-gpe: =============================================================== Lisp-gpe cli reference =============================================================== gpe ------------------------------------------------------------------------- .. code-block:: console gpe [enable|disable] Declaration: ``enable_disable_lisp_gpe_command`` `src/plugins/lisp/lisp-gpe/lisp_gpe.c line 349 <https://github.com/FDio/vpp/blob/master//src/plugins/lisp/lisp-gpe/lisp_gpe.c#L349>`_ Implementation: ``lisp_gpe_enable_disable_command_fn`` gpe encap ------------------------------------------------------------------------- .. code-block:: console gpe encap [lisp|vxlan] Declaration: ``gpe_set_encap_mode_command`` `src/plugins/lisp/lisp-gpe/lisp_gpe.c line 272 <https://github.com/FDio/vpp/blob/master//src/plugins/lisp/lisp-gpe/lisp_gpe.c#L272>`_ Implementation: ``gpe_set_encap_mode_command_fn`` gpe entry ------------------------------------------------------------------------- .. code-block:: console gpe entry add/del vni <vni> vrf/bd <id> [leid <leid>]reid <reid> [loc-pair <lloc> <rloc> w <weight>] [negative action <action>] Declaration: ``lisp_gpe_add_del_fwd_entry_command`` `src/plugins/lisp/lisp-gpe/lisp_gpe.c line 172 <https://github.com/FDio/vpp/blob/master//src/plugins/lisp/lisp-gpe/lisp_gpe.c#L172>`_ Implementation: ``lisp_gpe_add_del_fwd_entry_command_fn`` gpe iface ------------------------------------------------------------------------- .. code-block:: console gpe iface add/del vni <vni> vrf <vrf> Declaration: ``add_del_lisp_gpe_iface_command`` `src/plugins/lisp/lisp-gpe/interface.c line 919 <https://github.com/FDio/vpp/blob/master//src/plugins/lisp/lisp-gpe/interface.c#L919>`_ Implementation: ``lisp_gpe_add_del_iface_command_fn`` gpe native-forward ------------------------------------------------------------------------- .. code-block:: console gpe native-forward [del] via <nh-ip-addr> [iface] [table <table>] Declaration: ``gpe_native_forward_command`` `src/plugins/lisp/lisp-gpe/lisp_gpe.c line 565 <https://github.com/FDio/vpp/blob/master//src/plugins/lisp/lisp-gpe/lisp_gpe.c#L565>`_ Implementation: ``gpe_native_forward_command_fn`` Declaration: ``show_lisp_gpe_tunnel_command`` `src/plugins/lisp/lisp-gpe/lisp_gpe_adjacency.c line 572 <https://github.com/FDio/vpp/blob/master//src/plugins/lisp/lisp-gpe/lisp_gpe_adjacency.c#L572>`_ Implementation: ``lisp_gpe_adjacency_show`` show gpe encap ------------------------------------------------------------------------- .. code-block:: console show GPE encapulation mode Declaration: ``gpe_show_encap_mode_command`` `src/plugins/lisp/lisp-gpe/lisp_gpe.c line 306 <https://github.com/FDio/vpp/blob/master//src/plugins/lisp/lisp-gpe/lisp_gpe.c#L306>`_ Implementation: ``gpe_show_encap_mode_command_fn`` show gpe entry ------------------------------------------------------------------------- .. code-block:: console show gpe entry vni <vni> vrf <vrf> [leid <leid>] reid <reid> Declaration: ``lisp_gpe_fwd_entry_show_command`` `src/plugins/lisp/lisp-gpe/lisp_gpe_fwd_entry.c line 1488 <https://github.com/FDio/vpp/blob/master//src/plugins/lisp/lisp-gpe/lisp_gpe_fwd_entry.c#L1488>`_ Implementation: ``lisp_gpe_fwd_entry_show`` show gpe interface ------------------------------------------------------------------------- .. code-block:: console show gpe interface Declaration: ``lisp_show_iface_command`` `src/plugins/lisp/lisp-gpe/lisp_gpe.c line 380 <https://github.com/FDio/vpp/blob/master//src/plugins/lisp/lisp-gpe/lisp_gpe.c#L380>`_ Implementation: ``lisp_show_iface_command_fn`` show gpe native-forward ------------------------------------------------------------------------- .. code-block:: console show gpe native-forward Declaration: ``gpe_show_native_fwd_rpath_command`` `src/plugins/lisp/lisp-gpe/lisp_gpe.c line 417 <https://github.com/FDio/vpp/blob/master//src/plugins/lisp/lisp-gpe/lisp_gpe.c#L417>`_ Implementation: ``gpe_show_native_fwd_rpath_command_fn`` show gpe sub-interface ------------------------------------------------------------------------- .. code-block:: console show gpe sub-interface Declaration: ``lisp_gpe_sub_interface_command`` `src/plugins/lisp/lisp-gpe/lisp_gpe_sub_interface.c line 254 <https://github.com/FDio/vpp/blob/master//src/plugins/lisp/lisp-gpe/lisp_gpe_sub_interface.c#L254>`_ Implementation: ``lisp_gpe_sub_interface_show`` show gpe tenant ------------------------------------------------------------------------- .. code-block:: console show gpe tenant Declaration: ``lisp_gpe_tenant_command`` `src/plugins/lisp/lisp-gpe/lisp_gpe_tenant.c line 314 <https://github.com/FDio/vpp/blob/master//src/plugins/lisp/lisp-gpe/lisp_gpe_tenant.c#L314>`_ Implementation: ``lisp_gpe_tenant_show`` test one nsh ------------------------------------------------------------------------- .. code-block:: console test gpe nsh pcap <path-to-pcap-file> Declaration: ``lisp_test_nsh_command`` `src/plugins/lisp/lisp-gpe/lisp_gpe.c line 694 <https://github.com/FDio/vpp/blob/master//src/plugins/lisp/lisp-gpe/lisp_gpe.c#L694>`_ Implementation: ``lisp_test_nsh_command_fn`` Declaration: ``lisp_add_placeholder_nsh_node_command`` `src/plugins/lisp/lisp-gpe/decap.c line 583 <https://github.com/FDio/vpp/blob/master//src/plugins/lisp/lisp-gpe/decap.c#L583>`_ Implementation: ``lisp_add_placeholder_nsh_node_command_fn``