禁止vlan 120网段:192.168.120.0 访问(vlan 121网段):192.168.121.0,我这样写,咋不起作用呢,outbound和inbound方向有点搞不清楚,哪位大侠指点下,谢谢!
acl advanced 3000
rule 0 deny ip source 192.168.121.0 0.0.0.255 destination 192.168.120.0 0.0.0.255
int vlan 121
packet-filter 3000 outbound
禁止vlan 120网段:192.168.120.0 访问(vlan 121网段):192.168.121.0,我这样写,咋不起作用呢,outbound和inbound方向有点搞不清楚,哪位大侠指点下,谢谢!
acl advanced 3000
rule 0 deny ip source 192.168.121.0 0.0.0.255 destination 192.168.120.0 0.0.0.255
int vlan 121
packet-filter 3000 outbound
(0)
最佳答案
您好,请知:
如果是禁止120网段访问121网段,以下是部署要点,请参考:
acl advanced 3000
rule 0 deny ip source 192.168.120.0 0.0.0.255 destination 192.168.121.0 0.0.0.255
quit
int vlan 120
packet-filter 3000 inbound
packet-filter 3000 outbound
quit
或者应用到端口:
int gi 1/0/1
packet-filter 3000 inbound
packet-filter 3000 outbound
quit
(0)
为啥要用到inbound和outbond?我这样写acl advanced 3000 rule 0 deny ip source 192.168.121.0 0.0.0.255 destination 192.168.120.0 0.0.0.255 int vlan 121 packet-filter 3000 inbound可以的呢。就是搞不懂outbond咋不行
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
为啥要用到inbound和outbond?我这样写acl advanced 3000 rule 0 deny ip source 192.168.121.0 0.0.0.255 destination 192.168.120.0 0.0.0.255 int vlan 121 packet-filter 3000 inbound可以的呢。就是搞不懂outbond咋不行