华为 ACL 示例
华为 ACL 示例
acl number 3000
rule 5 deny ip source 192.168.20.0 0.0.0.255 destination 192.168.10.0 0.0.0.255
interface Vlanif20
traffic-filter inbound acl 3000规则要按『谁访问谁』确定挂在哪个 VLANIF 的哪个方向,挂错方向不生效。
VLAN 间三层路由默认全通,按业务需要挂 ACL/流策略限制互访,是安全分区的最小实现手段。
acl number 3000
rule 5 deny ip source 192.168.20.0 0.0.0.255 destination 192.168.10.0 0.0.0.255
interface Vlanif20
traffic-filter inbound acl 3000