现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
进入vlan视图呢,有没有qos这个命令
[H3C-Vlan-interface15]qos apply policy 1 in Error: The policy can not be applied to this interface.
二层vlan视图下
什么意思,不在ac上做这个规则吗
是的,我在交换机有那个命令,并且成功了,那就是wac360没法用这个功能吗
不在 interface vlan 15下做,在vlan 15下做,另外你用哪台设备做核心,就在哪台设备上做
[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命令