给管理 VLAN 配三层接口 IP 作为管理网段,在 VLANIF 间配置ACL + 包过滤,阻断业务 VLAN 之间互通,放行所有业务 VLAN 和管理 VLAN 互通。
S5560X-54C-EI(V7 平台)
假设:
# 创建VLANIF三层接口
vlan 10
vlan 20
vlan 30
vlan 100
interface Vlan-interface10
ip address 192.168.10.1 255.255.255.0
interface Vlan-interface20
ip address 192.168.20.1 255.255.255.0
interface Vlan-interface100
ip address 192.168.100.1 255.255.255.0
acl advanced 3000
rule permit ip destination 192.168.100.0 0.0.0.255 // 所有业务 → 管理网段放行
rule deny ip source 192.168.10.0 0.0.0.255 destination 192.168.20.0 0.0.0.255
rule deny ip source 192.168.10.0 0.0.0.255 destination 192.168.30.0 0.0.0.255
# 把所有业务网段两两互访deny补齐
更省事写法(V7 支持):在每个业务 VLANIF 的inbound 方向应用 ACL,只允许去往管理网段,拒绝其他业务网段:
interface Vlan-interface10
packet-filter 3000 inbound
interface Vlan-interface20
packet-filter 3000 inbound
interface Vlan-interface30
packet-filter 3000 inbound
用VLAN 隔离组(Isolate-user-vlan):二层隔离,三层 VLANIF 之间仍互通,不能满足三层阻断,所以不适合你这个需求,必须 ACL 包过滤。
暂无评论
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论