ACL技术实现实例

使用ACL技术实现如下需求

拓扑图如下:

要求:(1)规范设备命名。(2)配置设备的IP信息。(3)配置ACL实现需求(4)、(5)。(4)禁止HR部门和SALES部门之间互访。(5)SALES部门可以访问Web-Server,但是禁止访问Ftp-Server。IT部门可以随时访问Ftp-Server,访问Web-Server只能在每天的14:00-16:00才能访问。(6)保存配置,将配置过程命令粘贴至文档,将测试结果截图展示。

 1.创建拓扑

 SW1:

sys
sysname SW1
acl number 3000
rule 5 permit tcp source 172.16.2.1 0.0.0.255 destination 192.168.1.30 0 destination-port eq 80
rule 10 deny tcp source 172.16.2.1 0.0.0.255 destination 192.168.1.10 0 destination-port eq 21
rule 15 permit tcp source 172.16.3.1 0.0.0.255 destination 192.168.1.10 0 destination-port eq 21
quit
interface g0/0/0
traffic-filter outbound acl 3000

time-range kongzhi 14:00 to 16:00 working-day
acl 3000
rule 20 permit tcp source 172.16.3.1 0 destination 192.168.1.30 0 destination-port eq www time-range kongzhi
rule 21 deny tcp source 172.16.3.1 0 destination 192.168.1.30 0

quit
interface g0/0/0
traffic-filter inbound acl 3000


AR1:

interface g0/0/1
ip address 172.16.1.254 24
interface g0/0/2
ip address 172.16.2.254 24
interface g0/0/0
ip address 192.168.1.254 24
interface g4/0/0
ip address 172.16.3.254 24

acl 2000
rule 5 deny source 172.16.1.1 0.0.0.255
quit
int g0/0/2
traffic-filter outbound acl 2000

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

钧688

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值