這是華為ACL配置中流策略的配置命令。華為設備配置ACL不像Cisco的那樣可以直接在接口下配置ACL來應用。
華為需要先配ACL,然后配流分類(traffic classifier tc1),
將ACL和流分類綁定,再配流行為(traffic behavior tb1),
接着配置流策略(traffic policy tp1),最后把策略應用到接口下,讓ACL生效。
https://zhidao.baidu.com/question/1755247095650091708.html
http://blog.csdn.net/hrl7752/article/details/77836712
https://www.iyunv.com/thread-34173-1-1.html
R1:
q
acl 2000
rule permit source 192.168.10.10 0.0.0.255
traffic classifier tc1
if-match acl 2000
q
traffic behavior tb1
deny
q
[traffic policy tpl
classifier tc1 behavior tb1
q
int g0/0/2
traffic-policy tpl inbound
q