首页 > 其他 > 详细

CCNA实验:扩展访问控制列表

时间:2020-09-28 10:19:22      阅读:25      评论:0      收藏:0      [点我收藏+]
技术分享图片
预配置
第一步:R1上的预配置
R1(config)#int s1/2
R1(config-if)#ip add 10.1.1.1 255.255.255.0
R1(config-if)#no sh
R1(config-if)#router ospf 1
R1(config-router)#net 0.0.0.0 0.0.0.0 area 0
R1(config-router)#

第二步:R1上的预配置
R2(config)#int s2/1
R2(config-if)#ip add 10.1.1.2 255.255.255.0
R2(config-if)#no sh
R2(config)#router ospf 1
R2(config-router)#net 0.0.0.0 0.0.0.0 area 0
R2(config-router)#

实验过程:
R1(config)#access-list 122 deny icmp any any
R1(config)#access-list 122 permit ip any any
R1(config)#int s1/2
R1(config-if)#ip access-group 122 out (用在目标地址端)
R1(config-if)#^Z

CCNA实验:扩展访问控制列表

原文:https://blog.51cto.com/starshomes/2537597

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!