华为核心交换机acl 允许个别IP访问与取消ACL脚本

发布时间:2020-06-27 19:36:14 作者:empe_lee
来源:网络 阅读:2527

acl number 3212

rule 1 permit ip source 192.168.212.0 0.0.1.255 destination 192.168.70.166  0

rule 2 permit ip source 192.168.212.0 0.0.1.255 destination 192.168.100.18  0

rule 69 deny ip source 192.168.212.0 0.0.1.255 destination 192.168.10.0 0.0.0.255

rule 70 deny ip source 192.168.212.0 0.0.1.255 destination 192.168.11.0 0.0.0.255

rule 71 deny ip source 192.168.212.0 0.0.1.255 destination 192.168.20.0 0.0.0.255

rule 72 deny ip source 192.168.212.0 0.0.1.255 destination 192.168.30.0 0.0.0.255

rule 73 deny ip source 192.168.212.0 0.0.1.254 destination 192.168.40.0 0.0.0.255

rule 74 deny ip source 192.168.212.0 0.0.1.255 destination 192.168.50.0 0.0.0.255

rule 75 deny ip source 192.168.212.0 0.0.1.255 destination 192.168.60.0 0.0.0.255

rule 76 deny ip source 192.168.212.0 0.0.1.255 destination 192.168.71.0 0.0.0.255

rule 77 deny ip source 192.168.212.0 0.0.1.255 destination 192.168.80.0 0.0.0.255

rule 78 deny ip source 192.168.212.0 0.0.1.255 destination 192.168.90.0 0.0.0.255

rule 79 deny ip source 192.168.212.0 0.0.1.255 destination 192.168.100.0 0.0.0.255

rule 80 deny ip source 192.168.212.0 0.0.1.255 destination 192.168.111.0 0.0.0.255

rule 81 deny ip source 192.168.212.0 0.0.1.255 destination 172.16.199.0 0.0.0.255

rule 82 deny ip source 192.168.212.0 0.0.1.255 destination 172.16.200.0 0.0.0.255

rule 83 deny ip source 192.168.212.0 0.0.1.255 destination 172.16.201.0 0.0.0.255

rule 84 deny ip source 192.168.212.0 0.0.1.255 destination 192.168.204.0 0.0.3.255

rule 85 deny ip source 192.168.212.0 0.0.1.255 destination 192.168.70.0 0.0.0.255

quit

traffic classifier 3212

if-match acl 3212

quit

traffic behavior 3212

permit

quit

traffic policy 3212

classifier 3212 behavior 3212

quit

vlan 212

traffic-policy 3212 inbound

quit

取消 rule 71 与72规则

acl number 3212

undo rule 71

undo rule 72











取消

vlan 212

undo traffic-policy  inbound(vlan212取消ACL准入)

undo acl number 3212(Acl表号)



推荐阅读:
  1. ACL 访问控制列表
  2. 华为OSPF与ACL综合应用实例讲解

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

取消acl l脚本

上一篇:Java团队+.NET团队==足球队+篮球队;我们能否同时培养好2个优秀的精英团队?

下一篇:封装与解封装

相关阅读

您好,登录后才能下订单哦!

密码登录
登录注册
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》