Have a look at https://git.fd.io/vpp/tree/src/plugins/acl/acl_test.c#n565 to 
check what you need to specify.

“T” in VAT stands for “test”, so there may be not enough TLC harness around. 
Feel free to submit changes that improve the user friendliness :)

--a

> On 23 Aug 2021, at 21:36, satish amara <satishkam...@gmail.com> wrote:
> 
> 
> [Edited Message Follows]
> 
> Hi,
>    I tried to add ACL rule by following commands.  There was no error. A new 
> ACL index is created. When I do show  ACL , count is 0, and the  ACL rule is 
> not displayed.
> 
> vat# acl_add_replace  ipv4 permit src 30.30.30.1/32 dst 40.40.40.1/32 sport 
> 1000 dport 1000, ipv4 permit src 10.10.10.0/24, ipv4 permit src 20.20.20.0/24
> vl_api_acl_add_replace_reply_t_handler:73: ACL index: 0
> 
> 
> vat# acl_dump
> vl_api_acl_details_t_handler:194: acl_index: 0, count: 0
>    tag {}
> vat#
> 
>  
> If I  use debug CLI it works, for example 
> set acl-plugin acl permit+reflect src 192.81.1.1/32 dst 192.82.1.1/32 proto 
> 17 sport 100 dport 1
>  
>  
> Thanks,
> Satish K Amara
> 
> 
> 
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#20014): https://lists.fd.io/g/vpp-dev/message/20014
Mute This Topic: https://lists.fd.io/mt/85093357/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