现wac360有两个ssid对应不同vlan,其中一个vlan对应的热点想做acl只允许访问外网,现配置acl如下:
Advanced ACL 3000, named deny_15_to_other, 6 rules,
ACL's step is 5
rule 0 deny ip source 192.168.15.0 0.0.0.255 destination 192.168.3.0 0.0.0.255
rule 5 deny ip source 192.168.15.0 0.0.0.255 destination 192.168.7.0 0.0.0.255
vlan int 15
firewall packet-filter 3000 in
firewall packet-filter 3000 out
配置后发现无任何效果,使用dis firewall-statistics也没有任何拦截的流量
请问该如何配置呢?
(0)
最佳答案
V5 的不能这样直接配置过滤,得配置类、行为、策略,例如:
1,建acl
acl advanced 3001 rule 1 permit ip source 10.0.0.0 0.0.0.255 destination 20.0.0.0 0.0.0.255
这里的rule一定要用permit,这个不是允许或阻断数据流,而是匹配数据流
2,建类引用acl:
traffic classifier 1
if-match acl 3001
3,建动作为阻止的行为:
traffic behavior 1
filter deny
4,建策略,关联类和行为
qos policy 1
classifier 1 behavior 1
5,应用策略:
qos vlan-policy 1 vlan 2 inbound
按照这个模板,您可以举一反三修改或添加内容,实现vlan间的访问策略
(0)
您好在吗,第五条应用策略,没有这段,前面都是可以的 请问应该如何操作呢
我是的,qos后面没有vlan-policy
[H3C]qos ? cql CQL(Custom Queue List) configuration information map-table Priority map table configuration information policy Configure QoS policy pql PQL(Priority Queue List) configuration information
[H3C-Vlan-interface15]qos apply policy 1 in Error: The policy can not be applied to this interface.
[H3C-vlan15]? Vlan view commands: arp Specify ARP configuration information description Description of VLAN dialer Dialer disconnect display Display current system information igmp-snooping IGMP snooping ipv6 IPv6 status and configuration information mld-snooping Configure MLD snooping characteristic name Name of VLAN ping Ping function port Add ports to or delete ports from VLAN quit Exit from current command view reset Reset operation return Exit to User View save Save current configuration subvlan Specify Sub VLAN supervlan Specify the VLAN to be a Super VLAN tracert Trace route function undo Cancel current setting
wac360 vlan 15没有qos命令
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
wac360 vlan 15没有qos命令