[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 ( http://30.30.30.1/32 ) 
dst 40.40.40.1/32 ( http://40.40.40.1/32 ) sport 1000 dport 1000, ipv4 permit 
src 10.10.10.0/24 ( http://10.10.10.0/24 ) , ipv4 permit src 20.20.20.0/24 ( 
http://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 ( http://192.81.1.1/32 ) 
dst 192.82.1.1/32 ( http://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 (#20012): https://lists.fd.io/g/vpp-dev/message/20012
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