下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、1、routerl访问控制列表的设置:RouterenRouter#conf tRouter(config)#access-list 1 deny host Router(config)#access-list 1 deny 55Router(config)#access-list 1 permit anyRouter(config)#int f0/0Router(config-if)#ip access-group 1 out测试:在PC1的命令提示符下输入:PCping PCping PCping FOpin j 192.1G8.1.1Finginj with 32 bytes data:
2、Request timed out.Request timed out.Request timed out.Request timed out.Fing statiatica for 192.16S.1.1:Packet3: Sent = 4r Received = 0f Loat = 4 (100% leas)rFOpin j 192.1G8.2.1Pinging with 32 bytea cz data:Requeat timed out.Requeat timed out.Requeat timed out.Requeat timed out.Pinging with 32 bytea
3、 oz data:Requeat timed out.Reply from192. Ifi8,.2.2:bytes=32time=156msIIL=126Reply from192. Ifi8,.2.2:bytes=32time=156msIIL=126Reply from192. Ifi8,.2.2:bytes=32time=141msIIL=126Fing atatiatica for:Packets: Sent = 4r Received = 3, Loat = 1 (25% loasJ r Approximate round trip tijnea in milli-aeconds:M
4、inimum = 141msF Maximum = 15fimsF Average = 151msRouter(config-if)#no ip access-group 1 out (删除访问控制列表) 2、routerl 的设置:RouterenRouter#conf tRouter(config)#access-list 101 deny icmp ?A.B.C.D Source addressany Any source hosthostA single source hostRouter(config)#access-list 101 deny icmp any host Route
5、r(config)#access-list 101 permit icmp any anyRouter(config)#access-list 101 permit ip any anyRouter(config)#int f0/0Router(config-if)#ip access-group 101 outRouter(config-if)#exit测试:在PC0的命令提示符下输入:PCping PCpinj 192.16S.3.1Finginj with 32 bytes cz databytes=32 time=172ms IIL=126 bytes=32 time=156ms II
6、L=126 bytes=32 time=140ms IIL=126 bytes=32 time=141ms IIL=126bytes=32 time=172ms IIL=126 bytes=32 time=156ms IIL=126 bytes=32 time=140ms IIL=126 bytes=32 time=141ms IIL=126Reply fromReply fromReply fromReply from:Fing atatiatics for 192.16S.3.1:Packets: Sent = 4r Received = 4r Lost = 0 (0% loss), Ap
7、proximate round trip times in milli-seconds:Minimum = 140msr Maximum = 172msr Average = 152msPCping Pinging with 32 bytes oz data:host host host hoatunreachable.unreachable.unreachable.unreachable.host host host hoatunreachable.unreachable.unreachable.unreachable.Reply zrom 192.16S.0.2: DestinaticnR
8、eply zrom 192.16S.0.2: DestinaticnReply zrom 192.16S.0.2: DestinaticnFing statistica for :Packets: Sent = 4r Received = 0r Lost = 4 (100% loss)r3、routerl 的设置:Router(config)#access-list 102 deny ?ahp Authentication Header ProtocoleigrpCiscos EIGRP routing protocolespEncapsulation Security PayloadgreC
9、iscos GRE tunnelingicmp Internet Control Message ProtocolipAny Internet ProtocolospfOSPF routing protocoltcpTransmission Control Protocoludp User Datagram ProtocolRouter(config)#access-list 102 deny ip 55 55Router(config)#acc 102 permit ip any any4、Route 1的设置:Router(config)#acc 110 permit tcp any ?A
10、.B.C.D Destination addressany Any destination hosteqMatch only packets on a given port numbergtMatch only packets with a greater port numberhost A single destination hostlt Match only packets with a lower port numberneqMatch only packets not on a given port numberrangeMatch only packets in the range of port numbersRouter(config)#acc 110 permit tcp any
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 运动疗法第十章Brunnstrom技术讲解
- 财政学:第七章 教育
- 2025北京市商品房预售合同(合同版本)
- 2025二手房购房合同协议
- 扩大劳务分包的合同范本
- 2025购车合同样例范本资料
- 2024年城市建设项目承包合同
- 全新阳光房合同下载
- 纱窗合同协议书
- 生产原料购销合同范本
- 2024年江西铜业集团有限公司招聘笔试参考题库含答案解析
- 《铝及铝合金产品残余应力评价方法》
- IATF-16949:2016质量管理体系培训讲义
- 记账凭证封面直接打印模板
- 人教版八年级美术下册全册完整课件
- 北京房地产典当合同
- 安庆汇辰药业有限公司高端原料药、医药中间体建设项目环境影响报告书
- 档案工作管理情况自查表
- 初中英语人教版 八年级上册 单词默写表 汉译英
- pcs-9611d-x说明书国内中文标准版
- 毕业论文-基于51单片机的智能LED照明灯的设计
评论
0/150
提交评论