




已阅读5页,还剩2页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
实验1:标准ACL一 实验目的通过本实验可以掌握:(1) ACL设计原则和工作过程(2) 定义标准ACL(3) 应用ACL(4) 标准ACL调试二 拓扑结构三 实验步骤(1)步骤1:配置路由器R1RouterenRouter#conf tEnter configuration commands, one per line. End with CNTL/Z.Router(config)#host R1R1(config)#int fa 0/0R1(config-if)#ip add R1(config-if)#no shutR1(config-if)#%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to upR1(config-if)#int fa 0/1R1(config-if)#ip add Bad mask /24 for address R1(config-if)#ip add R1(config-if)#no shutR1(config-if)#%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to upR1(config-if)#int s0/0/0R1(config-if)#ip add R1(config-if)#clock rate 64000R1(config-if)#no shut%LINK-5-CHANGED: Interface Serial0/0/0, changed state to downR1(config-if)#exitR1(config)#router eigrp 1R1(config-router)#network 55R1(config-router)#network 55R1(config-router)#network R1(config-router)#no auto(2)步骤2:配置路由器R2RouterenRouter#conftEnter configuration commands, one per line. End with CNTL/Z.Router(config)#line con 0Router(config-line)#logg sRouter(config-line)#no ip domain-lRouter(config)#host R2R2(config)#int s0/0/0R2(config-if)#ip add R2(config-if)#no shutR2(config-if)#%LINK-5-CHANGED: Interface Serial0/0/0, changed state to upR2(config-if)#int s0/0/1R2(config-if)#ip add 25%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up5R2(config-if)#ip add R2(config-if)#clock rate 64000R2(config-if)#no shut%LINK-5-CHANGED: Interface Serial0/0/1, changed state to downR2(config)#int lo0R2(config-if)#%LINK-5-CHANGED: Interface Loopback0, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback0, changed state to upR2(config-if)#ip add R2(config-if)#exitR2(config)#router eigrp 1R2(config-router)#network 55R2(config-router)#network 55R2(config-router)#%DUAL-5-NBRCHANGE: IP-EIGRP 1: Neighbor (Serial0/0/0) is up: new adjacencyR2(config-router)#network 55R2(config-router)#no auto-summaryR2(config-router)#%DUAL-5-NBRCHANGE: IP-EIGRP 1: Neighbor (Serial0/0/0) is up: new adjacencyR2(config-router)#exitR2(config)#access-list 1 deny 55 /定义标准ACLR2(config)#access-list 1 permit anyR2(config)#interface s0/0/0R2(config-if)#ip access-group 1 in /在接口上开启ACLR2(config-if)#access-list 2 permit /定义标准ACLR2(config)#line vty 0 4R2(config-line)#access-class 2 in /在vty上开启ACLR2(config-line)#password ciscoR2(config-line)#login(3)步骤3:配置路由器R3RouterenRouter#conf tEnter configuration commands, one per line. End with CNTL/Z.Router(config)#line con 0Router(config-line)#logg sRouter(config-line)#no ip domain-lRouter(config)#host R3R3(config)#int fa 0/0R3(config-if)#ip add R3(config-if)#no shutR3(config-if)#%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to upR3(config-if)#int s0/0/1R3(config-if)#ip add R3(config-if)#no shut%LINK-5-CHANGED: Interface Serial0/0/1, changed state to upR3(config-if)#%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/1, changed state to upR3(config-if)#exitR3(config)#router eigrp 1R3(config-router)#network 55R3(config-router)#network 55%DUAL-5-NBRCHANGE: IP-EIGRP 1: Neighbor (Serial0/0/1) is up: new adjacencyR3(config-router)#no auto-summary%DUAL-5-NBRCHANGE: IP-EIGRP 1: Neighbor (Serial0/0/1) is up: new adjacency四 实验调试在PC1网络所在主机上ping ,应该通,在PC2网络所在的主机上ping 应该不通,在主机PC3上Telnet ,应该成功。(1) show ip access-listsR2#show ip access-listsStandard IP access list 1 deny 55 permit any (104 match(es)Standard IP access list 2 permit host (2) show ip interfaceR2#show ip interface s0/0/0Serial0/0/0 is up, line protocol is up (connected) Internet address is /24 Broadcast address is 55 Address determined by setup command MTU is 1500 Helper address is not set Directed broadcast forwarding is disabled Outgoing access list is not set Inbound access list is 1 /说明在接口s0/0/0的入方向应用了ACL Proxy ARP is enabled Security level is default Split horizon is enabled ICMP redirects are always sent ICMP unreachables are always sent ICMP mask replies are never sent IP fast switching is disabled IP fast switching on the same interface is disabled IP Flow switching is disabled IP Fast switching turbo vector IP multicast fast switching is disabled IP multicast distributed fast switching is disabled Router Discovery is disabled IP output packet accounting is disabled IP access violation accounting is disabled TCP/IP header compression is disabled RTP/IP header compression is disabled Probe proxy name replies are disabled Policy routing is disabled Network address translation is disabled WCCP Redirect outbound is disabled WCCP Redirect exclude is disabled BGP Policy Mapping is disabled实验2:扩展ACL一 实验目的通过本实验可以掌握:(5) 定义扩展ACL(6) 应用扩展ACL(7) 扩展ACL调试二 拓扑结构本实验要求只允许PC2所在网段的主机访问路由器R2的WWW和Telnet服务,并拒绝PC3所在网段ping路由器R2。删除标准ACL实验中定义的ACL,保留EIGRP的配置三 实验步骤(1)步骤1:配置路由器R1R1(config)#access-list 100 permit tcp 55 host eq wwwR1(config)#access-list 100 permit tcp 55 host eq wwwR1(config)#access-list 100 permit tcp 55 host eq wwwR1(config)#access-list 100 permit tcp 55 host eq telnetR1(config)#access-list 100 permit tcp 55 host eq telnetR1(config)#access-list 100 permit tcp 55 host eq telnet(2)步骤2:配置路由器R2R2#conf tEnter configuration commands, one per line. End with CNTL/Z.R2(config)#no access-list 1R2(config)#no access-list 2R2(config)#line vty 0 4R2(config-line)#password ciscoR2(config-line)#login(3)步骤3:配置路由器R3R3(config)#access-list 101 deny icmp 55 host R3(config)#access-list 101 deny icmp 55 host ? type-num echo echo echo-reply echo-reply host-unreachable host-unreachable net-unreachable net-unreachable port-unreachable port-unreachable protocol-unreachable protocol-unreachable ttl-exceeded ttl-exceeded unreachable unreachable R3(config)#access-list 101 deny icmp 55 host R3(config)#access-list 101 deny icmp 172.16.3
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 部编版八年级语文上册《野望》公开课-听评课记录
- 沪粤版八年级物理下册名师听评课记录:10.4 飞出地球
- 苏教版数学一上第1单元《数一数》单元听评课记录
- 员工廉洁自律课件
- 部编人教七下语文第三单元9阿长与《山海经》(第2课时)听评课记录
- 二年级数学下册听评课记录《了解你的好朋友》(10)-苏教版
- 员工岗前培训安全知识课件
- 部编版七年级下册第12课《卖油翁》听评课记录
- 苏少版美术八年级下册《第6课 美丽的书》听评课记录10
- 高考数学一轮复习听评课记录10.2《二项式定理》听评课记录(教师版)
- 山西人文知识竞赛考试题库及答案(500题)
- 医疗器械操作规程
- 小学科学仪器室建设标准(二类)
- 5S管理知识之现场改善培训课件
- 人行道及附属工程监理细则
- 产科手术病人的护理-胎头吸引术(妇产科护理课件)
- 辅警考试公安基础知识考试真题库附答案
- 32式太极剑剑谱
- 高等教育新论复习提纲-czy
- GB/T 5118-2012热强钢焊条
- GB/T 33630-2017海上风力发电机组防腐规范
评论
0/150
提交评论