当前位置:网站首页>Amendment to VPP implementation policy routing

Amendment to VPP implementation policy routing

2022-06-24 09:44:00 Soft persimmon kneading

Original reference

FD.IO-VPP Research and use II ( Policy routing )_Lyang My blog, my blog -CSDN Blog _vpp Policy routing

The original text says :

stay VPP On the configuration acl and abf:

1、 First configuration acl,(acl Only through vat Order or api Interface )
vpp_api_test
acl_add_replace permit, ipv4 permit
acl_add_replace 0  ipv4 permit src 90.10.10.0/24
acl_interface_add_del  sw_if_index 3 add  input  acl 0  # Apply to the interface , The interface index can be accessed through sh int see

The amendment here is as follows ,

To configure acl 22 Version already supports , Therefore, the above configuration can use acl

The second and most important , here acl Degenerate into quintuples , Therefore, it must not be bound to the interface . Even actions don't need to be configured . Because once bound , That's it acl Take effect . It's not necessary .

So the overall ( contain acl+abf Configuration of ) as follows ,

set acl-plugin acl permit src 90.10.10.0/24

abf policy add id 0 acl 0 via 169.254.168.2 host-unifier

abf attach ip4 policy 0  HundredGigabitEthernet12/0/0.1100


 

原网站

版权声明
本文为[Soft persimmon kneading]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/175/202206240823242219.html