acl advanced 3010
description deny_445
rule 0 permit tcp destination-port eq 445
rule 5 permit tcp destination-port eq 135
rule 10 permit tcp destination-port eq 137
rule 15 permit tcp destination-port eq 138
rule 20 permit tcp destination-port eq 139
traffic classifier deny_445
if-match acl 3010
traffic behavior deny_445
filter deny
accounting packet
qos policy deny_445
classifier deny_445 behavior deny_445
qos apply policy deny_445 global inbound
H3C s5500 ACL
(0)
最佳答案
参考如下配置可以测试使用:
acl advanced 3010 description deny_445
rule 0 permit tcp destination-port eq 445
rule 5 permit tcp destination-port eq 135
rule 10 permit tcp destination-port eq 137
rule 15 permit tcp destination-port eq 138
rule 20 permit tcp destination-port eq 139
acl advanced 3011 description permit_445
rule 0 permit tcp source X.X.X.X 0 destination-por t eq 445
traffic classifier deny_445
if-match acl 3010
traffic classifier permit_445
if-match acl 3011
traffic behavior deny_445
filter deny
accounting packet
traffic behavior permit_445
filter permit
accounting packet
qos policy deny_445
classifier dpermit_445 behavior permit_445
classifier deny_445 behavior deny_445
qos apply policy deny_445 global inbound
(0)
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论