FD.io VPP  v21.10.1-2-g0a485f517
Vector Packet Processing
src/plugins/cnat

cnat translation

Summary/usage

cnat translation [add|del] proto [TCP|UDP] [vip|real] [ip|sw_if_index [v6]] [port] [to [ip|sw_if_index [v6]] [port]->[ip|sw_if_index [v6]] [port]].

Declaration and implementation

Declaration: cnat_translation_cli_add_del_command (src/plugins/cnat/cnat_translation.c line 692)

Implementation: cnat_translation_cli_add_del.

set cnat snat-policy

Summary/usage

set cnat snat-policy [none][if-pfx][k8s].

Declaration and implementation

Declaration: cnat_snat_policy_set_cmd (src/plugins/cnat/cnat_snat_policy.c line 515)

Implementation: cnat_snat_policy_set_cmd_fn.

set cnat snat-policy addr

Summary/usage

set cnat snat-policy addr [<ip4-address>][<ip6-address>][sw_if_index].

Declaration and implementation

Declaration: cnat_set_snat_command (src/plugins/cnat/cnat_snat_policy.c line 394)

Implementation: cnat_set_snat_cli.

set cnat snat-policy if

Summary/usage

set cnat snat-policy if [del][table [include-v4 include-v6 k8s]] [interface].

Declaration and implementation

Declaration: cnat_snat_policy_add_del_if_command (src/plugins/cnat/cnat_snat_policy.c line 140)

Implementation: cnat_snat_policy_add_del_if_command_fn.

set cnat snat-policy prefix

Summary/usage

set cnat snat-policy prefix [del] [prefix].

Declaration and implementation

Declaration: cnat_snat_policy_add_del_pfx_command (src/plugins/cnat/cnat_snat_policy.c line 432)

Implementation: cnat_snat_policy_add_del_pfx_command_fn.

show cnat client

Summary/usage

show cnat client.

Declaration and implementation

Declaration: cnat_client_show_cmd_node (src/plugins/cnat/cnat_client.c line 304)

Implementation: cnat_client_show.

show cnat session

Summary/usage

show cnat session.

Declaration and implementation

Declaration: cnat_session_show_cmd_node (src/plugins/cnat/cnat_session.c line 136)

Implementation: cnat_session_show.

show cnat snat-policy

Summary/usage

show cnat snat-policy.

Declaration and implementation

Declaration: cnat_show_snat_command (src/plugins/cnat/cnat_snat_policy.c line 466)

Implementation: cnat_show_snat.

show cnat timestamp

Summary/usage

show cnat timestamp.

Declaration and implementation

Declaration: cnat_timestamp_show_cmd (src/plugins/cnat/cnat_session.c line 272)

Implementation: cnat_timestamp_show.

show cnat translation

Summary/usage

show cnat translation <VIP>.

Declaration and implementation

Declaration: cnat_translation_show_cmd_node (src/plugins/cnat/cnat_translation.c line 576)

Implementation: cnat_translation_show.

test cnat scanner

Summary/usage

test cnat scanner.

Declaration and implementation

Declaration: cnat_scanner_cmd_node (src/plugins/cnat/cnat_scanner.c line 90)

Implementation: cnat_scanner_cmd.