FD.io VPP  v19.04.4-rc0-5-ge88582fac
Vector Packet Processing
src/vnet/classify

classify session

Summary/usage

classify session [hit-next|l2-input-hit-next|l2-output-hit-next|acl-hit-next <next_index>|policer-hit-next <policer_name>]

table-index <nn> match [hex] [l2] [l3 ip4] [opaque-index <index>] [action set-ip4-fib-id|set-ip6-fib-id|set-sr-policy-index <n>] [del].

Declaration and implementation

Declaration: classify_session_command (src/vnet/classify/vnet_classify.c line 2304)

Implementation: classify_session_command_fn.

classify table

Summary/usage

classify table [miss-next|l2-miss_next|acl-miss-next <next_index>]

mask <mask-value> buckets <nn> [skip <n>] [match <n>] [current-data-flag <n>] [current-data-offset <n>] [table <n>] [memory-size <nn>[M][G]] [next-table <n>] [del] [del-chain].

Declaration and implementation

Declaration: classify_table (src/vnet/classify/vnet_classify.c line 1603)

Implementation: classify_table_command_fn.

set interface input acl

Summary/usage

set interface input acl intfc <int> [ip4-table <index>]

[ip6-table <index>] [l2-table <index>] [del].

Declaration and implementation

Declaration: set_input_acl_command (src/vnet/classify/in_out_acl.c line 234)

Implementation: set_input_acl_command_fn.

set interface output acl

Summary/usage

set interface output acl intfc <int> [ip4-table <index>]

[ip6-table <index>] [l2-table <index>] [del].

Declaration and implementation

Declaration: set_output_acl_command (src/vnet/classify/in_out_acl.c line 241)

Implementation: set_output_acl_command_fn.

set policer classify

Summary/usage

set policer classify interface <int> [ip4-table <index>]

[ip6-table <index>] [l2-table <index>] [del].

Declaration and implementation

Declaration: set_policer_classify_command (src/vnet/classify/policer_classify.c line 168)

Implementation: set_policer_classify_command_fn.

show classify flow

Summary/usage

show classify flow type [ip4|ip6].

Declaration and implementation

Declaration: show_flow_classify_command (src/vnet/classify/flow_classify.c line 217)

Implementation: show_flow_classify_command_fn.

show classify policer

Summary/usage

show classify policer type [ip4|ip6|l2].

Declaration and implementation

Declaration: show_policer_classify_command (src/vnet/classify/policer_classify.c line 235)

Implementation: show_policer_classify_command_fn.

show classify tables

Summary/usage

show classify tables [index <nn>].

Declaration and implementation

Declaration: show_classify_table_command (src/vnet/classify/vnet_classify.c line 1700)

Implementation: show_classify_tables_command_fn.

show inacl

Summary/usage

show inacl type [ip4|ip6|l2].

Declaration and implementation

Declaration: show_inacl_command (src/vnet/classify/in_out_acl.c line 370)

Implementation: show_inacl_command_fn.

show outacl

Summary/usage

show outacl type [ip4|ip6|l2].

Declaration and implementation

Declaration: show_outacl_command (src/vnet/classify/in_out_acl.c line 375)

Implementation: show_outacl_command_fn.

test classify

Summary/usage

test classify [src <ip>] [sessions <nn>] [buckets <nn>] [seed <nnn>]
          [memory-size <nn>[M|G]]
          [churn-test].

Declaration and implementation

Declaration: test_classify_command (src/vnet/classify/vnet_classify.c line 2718)

Implementation: test_classify_command_fn.