随笔 - 487,  文章 - 0,  评论 - 12,  阅读 - 51万

1.配置举例,限制测试环境50段(10.1.50.0/24)与正式网络(10.1.40.0/24)互访。测试环境和正式环境网关均在同一交换机上。  

复制代码
acl number 3002 name limitv50_other
 rule 10 permit ip source 10.1.50.0 0.0.0.255 destination 10.1.40.200 0
 rule 21 deny ip source 10.1.50.0 0.0.0.255 destination 10.1.40.0 0.0.0.255
 rule 100 permit ip

acl number 3003 name limitother_v50
 rule 10 permit ip source 10.1.40.200 0 destination 10.1.50.0 0.0.0.255
 rule 21 deny ip source 10.1.40.0 0.0.0.255 destination 10.1.50.0 0.0.0.255
 rule 100 permit ip

interface Vlan-interface50
 ip address 10.1.50.1 255.255.255.0
 packet-filter 3002 inbound
 packet-filter 3003 outbound
复制代码

 

posted on   星痕1216  阅读(229)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 10年+ .NET Coder 心语 ── 封装的思维:从隐藏、稳定开始理解其本质意义
· 地球OL攻略 —— 某应届生求职总结
· 提示词工程——AI应用必不可少的技术
· Open-Sora 2.0 重磅开源!
· 周边上新:园子的第一款马克杯温暖上架
历史上的今天:
2023-02-20 MPLS配置1-静态LSP配置

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示