Hi,
   I have few questions about the usage of CLI commands.
FD.io VPP: src/vnet/classify
<https://docs.fd.io/vpp/21.10/d0/d01/clicmd_src_vnet_classify.html#clicmd_classify_session>

We have classify sessions command and classify table command.
Is it possible to classify packets and create sessions based on l4 fields?


I don't see them in the syntax but the code seems to support it.

classify session
[hit-next|l2-input-hit-next|l2-output-hit-next|acl-hit-next
&lt;next_index&gt;|policer-hit-next &lt;policer_name&gt;]

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].

Please let me know an example of how to do it.
BTW, what is the use of match in classify table command? Can it include l4
fields?

classify table [miss-next|l2-miss_next|acl-miss-next &lt;next_index&gt;]

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].


Thanks,
Satish K Amara
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#19908): https://lists.fd.io/g/vpp-dev/message/19908
Mute This Topic: https://lists.fd.io/mt/84646508/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to