您的位置:首页 > 其它

华为S9300系列交换机指定web端口访问ACL策略

2018-03-16 11:41 344 查看
配置ACL
acl 3999
  rule 5 permit tcp destination 172.20.146.0 0.0.0.255 destination-port eq www
  rule 10 deny tcp destination-port eq www 

第一种:
进入端口应用策略
interface GigabitEthernet0/0/11
 traffic-filter inbound acl 3999 

  

第二种:
1、配置流分类tc1,对匹配ACL 3999的报文进行分类
traffic classifier tc1
  if-match acl 3999 

2、配置流行为
traffic behavior tb1
  permit 

3、定义流策略,关联流分类与流行为
traffice policy tp1
  classifier tc1 behavior tb1 

4、在接口里应用流策略
interface gigabitethernet 0/0/1
  traffic-policy tp1 inbound 
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息