FD.io VPP  v20.09-64-g4f7b92f0a
Vector Packet Processing
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
src/vnet/ipsec

clear ipsec counters

Summary/usage

clear ipsec counters.

Declaration and implementation

Declaration: clear_ipsec_counters_command (src/vnet/ipsec/ipsec_cli.c line 776)

Implementation: clear_ipsec_counters_command_fn.

clear ipsec sa

Summary/usage

clear ipsec sa [index].

Declaration and implementation

Declaration: clear_ipsec_sa_command (src/vnet/ipsec/ipsec_cli.c line 567)

Implementation: clear_ipsec_sa_command_fn.

create ipsec tunnel

Summary/usage

create ipsec tunnel local-ip <addr> local-spi <spi> remote-ip <addr> remote-spi <spi> [instance <inst_num>] [udp-encap] [use-esn] [use-anti-replay] [tx-table <table-id>].

Declaration and implementation

Declaration: create_ipsec_tunnel_command (src/vnet/ipsec/ipsec_cli.c line 967)

Implementation: create_ipsec_tunnel_command_fn.

ipsec itf create

Summary/usage

ipsec itf create [instance <instance>].

Description

Create a IPSec interface.

Example usage
The following two command syntaxes are equivalent:
vpp# ipsec itf create [instance <instance>]
Example of how to create a ipsec interface:
vpp# ipsec itf create

Declaration and implementation

Declaration: ipsec_itf_create_command (src/vnet/ipsec/ipsec_itf.c line 397)

Implementation: ipsec_itf_create_cli.

ipsec itf delete

Summary/usage

ipsec itf delete &lt;interface&gt;.

Description

Delete a IPSEC_ITF interface.

Example usage
The following two command syntaxes are equivalent:
vpp# ipsec itf delete <interface>
Example of how to create a ipsec_itf interface:
vpp# ipsec itf delete ipsec0

Declaration and implementation

Declaration: ipsec_itf_delete_command (src/vnet/ipsec/ipsec_itf.c line 448)

Implementation: ipsec_itf_delete_cli.

ipsec policy

Summary/usage

ipsec policy [add|del] spd &lt;id&gt; priority &lt;n&gt; .

Declaration and implementation

Declaration: ipsec_policy_add_del_command (src/vnet/ipsec/ipsec_cli.c line 409)

Implementation: ipsec_policy_add_del_command_fn.

ipsec sa

Summary/usage

ipsec sa [add|del].

Declaration and implementation

Declaration: ipsec_sa_add_del_command (src/vnet/ipsec/ipsec_cli.c line 216)

Implementation: ipsec_sa_add_del_command_fn.

ipsec select backend

Summary/usage

ipsec select backend &lt;ah|esp&gt; &lt;backend index&gt;.

Declaration and implementation

Declaration: ipsec_select_backend_command (src/vnet/ipsec/ipsec_cli.c line 756)

Implementation: ipsec_select_backend_command_fn.

ipsec spd

Summary/usage

ipsec spd [add|del] &lt;id&gt;.

Declaration and implementation

Declaration: ipsec_spd_add_del_command (src/vnet/ipsec/ipsec_cli.c line 268)

Implementation: ipsec_spd_add_del_command_fn.

ipsec tunnel protect

Summary/usage

ipsec tunnel protect &lt;interface&gt; input-sa &lt;SA&gt; output-sa &lt;SA&gt;.

Declaration and implementation

Declaration: ipsec_tun_protect_cmd_node (src/vnet/ipsec/ipsec_cli.c line 1023)

Implementation: ipsec_tun_protect_cmd.

set interface ipsec spd

Summary/usage

set interface ipsec spd &lt;int&gt; &lt;id&gt;.

Declaration and implementation

Declaration: set_interface_spd_command (src/vnet/ipsec/ipsec_cli.c line 75)

Implementation: set_interface_spd_command_fn.

set ipsec async mode

Summary/usage

set ipsec async mode on|off.

Declaration and implementation

Declaration: set_async_mode_command (src/vnet/ipsec/ipsec_cli.c line 1143)

Implementation: set_async_mode_command_fn.

show ipsec all

Summary/usage

show ipsec all.

Declaration and implementation

Declaration: show_ipsec_command (src/vnet/ipsec/ipsec_cli.c line 492)

Implementation: show_ipsec_command_fn.

show ipsec backends

Summary/usage

show ipsec backends.

Declaration and implementation

Declaration: ipsec_show_backends_command (src/vnet/ipsec/ipsec_cli.c line 688)

Implementation: ipsec_show_backends_command_fn.

show ipsec protect

Summary/usage

show ipsec protect.

Declaration and implementation

Declaration: ipsec_tun_protect_show_node (src/vnet/ipsec/ipsec_cli.c line 1046)

Implementation: ipsec_tun_protect_show.

show ipsec protect-hash

Summary/usage

show ipsec protect-hash.

Declaration and implementation

Declaration: ipsec_tun_protect_hash_show_node (src/vnet/ipsec/ipsec_cli.c line 1098)

Implementation: ipsec_tun_protect_hash_show.

show ipsec sa

Summary/usage

show ipsec sa [index].

Declaration and implementation

Declaration: show_ipsec_sa_command (src/vnet/ipsec/ipsec_cli.c line 561)

Implementation: show_ipsec_sa_command_fn.

show ipsec spd

Summary/usage

show ipsec spd [index].

Declaration and implementation

Declaration: show_ipsec_spd_command (src/vnet/ipsec/ipsec_cli.c line 603)

Implementation: show_ipsec_spd_command_fn.

show ipsec tunnel

Summary/usage

show ipsec tunnel.

Declaration and implementation

Declaration: show_ipsec_tunnel_command (src/vnet/ipsec/ipsec_cli.c line 621)

Implementation: show_ipsec_tunnel_command_fn.