Ipsec cli reference
clear ipsec counters
Clear all IPsec counters
Declaration: clear_ipsec_counters_command src/vnet/ipsec/ipsec_cli.c line 603
clear ipsec sa
Clear the counters of one or all SAs
Declaration: clear_ipsec_sa_command src/vnet/ipsec/ipsec_cli.c line 548
ipsec itf create
Create an IPsec interface
Create a IPSec interface.
The following two command syntaxes are equivalent:
ipsec itf create [instance <instance>] [p2mp]
Example of how to create a ipsec interface:
ipsec itf create
Declaration: ipsec_itf_create_command src/vnet/ipsec/ipsec_itf.c line 391
ipsec itf delete
Delete an IPsec 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 417
ipsec policy add
Add an IPsec policy
Declaration: ipsec_policy_add_command src/vnet/ipsec/ipsec_cli.c line 405
ipsec policy del
Delete an IPsec policy
Declaration: ipsec_policy_del_command src/vnet/ipsec/ipsec_cli.c line 412
ipsec sa add
Add an IPsec SA
Declaration: ipsec_sa_add_command src/vnet/ipsec/ipsec_cli.c line 165
ipsec sa bind
Bind an SA to a worker thread
Declaration: ipsec_sa_bind_cmd src/vnet/ipsec/ipsec_cli.c line 245
ipsec sa del
Delete an IPsec SA
Declaration: ipsec_sa_del_command src/vnet/ipsec/ipsec_cli.c line 212
ipsec sa unbind
Unbind an SA from its worker thread
Declaration: ipsec_sa_unbind_cmd src/vnet/ipsec/ipsec_cli.c line 253
ipsec spd add
Add an SPD
Declaration: ipsec_spd_add_command src/vnet/ipsec/ipsec_cli.c line 274
ipsec spd del
Delete an SPD
Declaration: ipsec_spd_del_command src/vnet/ipsec/ipsec_cli.c line 281
ipsec tunnel protect add
Protect a tunnel interface with IPsec SAs
Declaration: ipsec_tun_protect_add_cmd_node src/vnet/ipsec/ipsec_cli.c line 646
ipsec tunnel protect del
Remove the IPsec protection of a tunnel interface
Declaration: ipsec_tun_protect_del_cmd_node src/vnet/ipsec/ipsec_cli.c line 658
set interface ipsec spd
Bind an SPD to an interface, or unbind it
Declaration: set_interface_spd_command src/vnet/ipsec/ipsec_cli.c line 35
set ipsec async mode
Enable or disable asynchronous crypto processing of IPsec
Declaration: set_async_mode_command src/vnet/ipsec/ipsec_cli.c line 747
show ipsec all
Show SAs, SPDs, bindings and tunnel protection
Declaration: show_ipsec_command src/vnet/ipsec/ipsec_cli.c line 499
show ipsec interface
Show IPsec interfaces
Declaration: ipsec_interface_show_node src/vnet/ipsec/ipsec_itf.c line 435
show ipsec protect
Show tunnel protection
Declaration: ipsec_tun_protect_show_node src/vnet/ipsec/ipsec_cli.c line 678
show ipsec protect-hash
Show tunnel protection hash tables
Declaration: ipsec_tun_protect_hash_show_node src/vnet/ipsec/ipsec_cli.c line 725
show ipsec sa
Show one or all SAs
Declaration: show_ipsec_sa_command src/vnet/ipsec/ipsec_cli.c line 540
show ipsec spd
Show one or all SPDs
Declaration: show_ipsec_spd_command src/vnet/ipsec/ipsec_cli.c line 570
show ipsec tunnel
Show tunnel protection
Declaration: show_ipsec_tunnel_command src/vnet/ipsec/ipsec_cli.c line 586