Ipsec cli reference

clear ipsec counters

clear ipsec counters

Declaration: clear_ipsec_counters_command src/vnet/ipsec/ipsec_cli.c line 773

Implementation: clear_ipsec_counters_command_fn

clear ipsec sa

clear ipsec sa [index]

Declaration: clear_ipsec_sa_command src/vnet/ipsec/ipsec_cli.c line 563

Implementation: clear_ipsec_sa_command_fn

ipsec itf create

ipsec itf create [instance <instance>]

Create a IPSec interface.

The following two command syntaxes are equivalent:

ipsec itf create [instance <instance>]

Example of how to create a ipsec interface:

ipsec itf create

Declaration: ipsec_itf_create_command src/vnet/ipsec/ipsec_itf.c line 419

Implementation: ipsec_itf_create_cli

ipsec itf delete

ipsec itf delete <interface>

Delete a IPSEC_ITF interface.

The following two command syntaxes are equivalent:

ipsec itf delete <interface>

Example of how to create a ipsec_itf interface:

ipsec itf delete ipsec0

Declaration: ipsec_itf_delete_command src/vnet/ipsec/ipsec_itf.c line 470

Implementation: ipsec_itf_delete_cli

ipsec policy

ipsec policy [add|del] spd <id> priority <n>

Declaration: ipsec_policy_add_del_command src/vnet/ipsec/ipsec_cli.c line 399

Implementation: ipsec_policy_add_del_command_fn

ipsec sa

ipsec sa [add|del]

Declaration: ipsec_sa_add_del_command src/vnet/ipsec/ipsec_cli.c line 206

Implementation: ipsec_sa_add_del_command_fn

ipsec select backend

ipsec select backend <ah|esp> <backend index>

Declaration: ipsec_select_backend_command src/vnet/ipsec/ipsec_cli.c line 752

Implementation: ipsec_select_backend_command_fn

ipsec spd

ipsec spd [add|del] <id>

Declaration: ipsec_spd_add_del_command src/vnet/ipsec/ipsec_cli.c line 258

Implementation: ipsec_spd_add_del_command_fn

ipsec tunnel protect

ipsec tunnel protect <interface> input-sa <SA> output-sa <SA> [add|del]

Declaration: ipsec_tun_protect_cmd_node src/vnet/ipsec/ipsec_cli.c line 829

Implementation: ipsec_tun_protect_cmd

set interface ipsec spd

set interface ipsec spd <int> <id>

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

Implementation: set_interface_spd_command_fn

set ipsec async mode

set ipsec async mode on|off

Declaration: set_async_mode_command src/vnet/ipsec/ipsec_cli.c line 952

Implementation: set_async_mode_command_fn

show ipsec all

show ipsec all

Declaration: show_ipsec_command src/vnet/ipsec/ipsec_cli.c line 488

Implementation: show_ipsec_command_fn

show ipsec backends

show ipsec backends

Declaration: ipsec_show_backends_command src/vnet/ipsec/ipsec_cli.c line 684

Implementation: ipsec_show_backends_command_fn

show ipsec interface

show ipsec interface

Declaration: ipsec_interface_show_node src/vnet/ipsec/ipsec_itf.c line 497

Implementation: ipsec_interface_show

show ipsec protect

show ipsec protect

Declaration: ipsec_tun_protect_show_node src/vnet/ipsec/ipsec_cli.c line 852

Implementation: ipsec_tun_protect_show

show ipsec protect-hash

show ipsec protect-hash

Declaration: ipsec_tun_protect_hash_show_node src/vnet/ipsec/ipsec_cli.c line 908

Implementation: ipsec_tun_protect_hash_show

show ipsec sa

show ipsec sa [index]

Declaration: show_ipsec_sa_command src/vnet/ipsec/ipsec_cli.c line 557

Implementation: show_ipsec_sa_command_fn

show ipsec spd

show ipsec spd [index]

Declaration: show_ipsec_spd_command src/vnet/ipsec/ipsec_cli.c line 599

Implementation: show_ipsec_spd_command_fn

show ipsec tunnel

show ipsec tunnel

Declaration: show_ipsec_tunnel_command src/vnet/ipsec/ipsec_cli.c line 617

Implementation: show_ipsec_tunnel_command_fn