这是华为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
转载于:https://www.cnblogs.com/oo_o/p/7930807.html