在核心7003上面做了高级ACL,不同网段的网关都在7003上面的,现在发现没有效果,下面是配置
核心交换的配置摘要:
acl advanced 3001
description 车间和设计电脑acl
rule 10 permit ip source 192.168.13.0 0.0.0.255 destination 192.168.15.0 0.0.0.255
rule 20 deny ip source 192.168.13.0 0.0.0.255
interface Vlan-interface13
ip address 192.168.13.1 255.255.255.0
packet-filter 3001 inbound
我在另外接入交换机带源IP测试
<总机房24口POE交换机>dis int b
Brief information on interfaces in route mode:
Link: ADM - administratively down; Stby - standby
Protocol: (s) - spoofing
Interface Link Protocol Primary IP Description
InLoop0 UP UP(s) --
NULL0 UP UP(s) --
Vlan1 UP UP 192.168.8.8
Vlan13 UP UP 192.168.13.2
Vlan14 UP UP 192.168.14.2
Brief information on interfaces in bridge mode:
Link: ADM - administratively down; Stby - standby
Speed: (a) - auto
Duplex: (a)/A - auto; H - half; F - full
Type: A - access; T - trunk; H - hybrid
Interface Link Speed Duplex Type PVID Description
GE1/0/1 UP 1G(a) F(a) T 1 LinkTo-总机房核心g1/
GE1/0/2 DOWN auto A A 11
GE1/0/3 DOWN auto A A 11
GE1/0/4 DOWN auto A A 11
GE1/0/5 DOWN auto A A 11
GE1/0/6 DOWN auto A A 11
GE1/0/7 DOWN auto A A 11
GE1/0/8 DOWN auto A A 11
GE1/0/9 DOWN auto A A 11
GE1/0/10 DOWN auto A A 11
GE1/0/11 DOWN auto A A 11
GE1/0/12 DOWN auto A A 11
GE1/0/13 DOWN auto A A 11
GE1/0/14 DOWN auto A A 11
GE1/0/15 DOWN auto A A 11
GE1/0/16 DOWN auto A A 11
GE1/0/17 DOWN auto A A 11
GE1/0/18 DOWN auto A A 11
GE1/0/19 DOWN auto A A 11
GE1/0/20 DOWN auto A A 11
GE1/0/21 UP 100M(a) F(a) A 9
GE1/0/22 UP 100M(a) F(a) A 9
GE1/0/23 UP 1G(a) F(a) T 1
GE1/0/24 UP 1G(a) F(a) T 1
GE1/0/25 DOWN auto A T 1
GE1/0/26 DOWN auto A T 1
GE1/0/27 DOWN auto A T 1
GE1/0/28 DOWN auto A T 1
<总机房24口POE交换机>ping -a 192.168.13.2 192.168.14.1
Ping 192.168.14.1 (192.168.14.1) from 192.168.13.2: 56 data bytes, press CTRL+C to break
56 bytes from 192.168.14.1: icmp_seq=0 ttl=255 time=8.188 ms
56 bytes from 192.168.14.1: icmp_seq=1 ttl=255 time=2.136 ms
56 bytes from 192.168.14.1: icmp_seq=2 ttl=255 time=2.108 ms
56 bytes from 192.168.14.1: icmp_seq=3 ttl=255 time=9.313 ms
56 bytes from 192.168.14.1: icmp_seq=4 ttl=255 time=6.964 ms
是什么原因呢?
(0)
outbound
(0)
改为outbound 一样的
全局 traffic-filter vlan 13 inbound acl 3001
packet-filter 3001 global inbound,还是一样
请知:进入vlanif13接口配置
packet-filter 3001 inbound
packet-filter 3001 outbound
同时,如果是做vlan间部分互通,部分不互通,建议如下优化
rule 0 permit ip source 192.168.13.0 0.0.0.255 destination 192.168.15.0 0.0.0.255
rule 5 deny ip source 192.168.13.0 0.0.0.255 destination 192.168.14.0 0.0.0.255
(0)
同时加了inbound和outbound也不行
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
packet-filter 3001 global inbound,还是一样