资源描述:
《访问列表ACL的配置》由会员上传分享,免费在线阅读,更多相关内容在应用文档-天天文库。
1、厦门微思教育中心Http://www.xmws.cnTel:0592-2236681/2236691QQ:22170702配置访问列表实验拓扑图:l在配置访问列表前首先做到R1R2R3的基本配置,保证网络的连通性.可以运行任何一种路由协议,这里以OSPF为例子.配置R1:r1#shorunning-configBuildingconfiguration...Currentconfiguration:1104bytes!version12.2noservicesingle-slot-reload-enableservicetimestampsdebuguptimeservice
2、timestampsloguptimenoservicepassword-encryption!hostnamer1!loggingrate-limitconsole10excepterrorsenablesecret5$1$l0mP$X/cWseUaYAvmar/sYHR/b1!ipsubnet-zeronoipfingernoipdomain-lookup!noipdhcp-clientnetwork-discovery厦门微思教育中心Http://www.xmws.cnTel:0592-2236681/2236691QQ:22170702!!!!interfaceLoo
3、pback0ipaddress1.1.1.1255.255.255.0!interfaceEthernet0ipaddress11.1.1.1255.255.255.0nokeepalive!interfaceSerial0ipaddress12.1.1.1255.255.255.0clockrate4000000!interfaceSerial1ipaddress13.1.1.1255.255.255.0clockrate4000000!routerospf1router-id1.1.1.1log-adjacency-changesnetwork11.1.1.00.0.0.
4、255area0network12.1.1.00.0.0.255area0network13.1.1.00.0.0.255area0!ipkerberossource-interfaceanyipclasslessiproute33.1.1.0255.255.255.013.1.1.3iphttpserver!!bannermotd^Celcome^C!linecon0exec-timeout00passwordciscologgingsynchronouslogintransportinputnonelineaux0linevty04exec-timeout00厦门微思教育
5、中心Http://www.xmws.cnTel:0592-2236681/2236691QQ:22170702passwordciscologgingsynchronouslogin!endr1#showiproutr1#showiprouteCodes:C-connected,S-static,I-IGRP,R-RIP,M-mobile,B-BGPD-EIGRP,EX-EIGRPexternal,O-OSPF,IA-OSPFinterareaN1-OSPFNSSAexternaltype1,N2-OSPFNSSAexternaltype2E1-OSPFexternaltyp
6、e1,E2-OSPFexternaltype2,E-EGPi-IS-IS,L1-IS-ISlevel-1,L2-IS-ISlevel-2,ia-IS-ISinterarea*-candidatedefault,U-per-userstaticroute,o-ODRP-periodicdownloadedstaticrouteGatewayoflastresortisnotset1.0.0.0/24issubnetted,1subnetsC1.1.1.0isdirectlyconnected,Loopback033.0.0.0/24issubnetted,1subnetsS33
7、.1.1.0[1/0]via13.1.1.322.0.0.0/24issubnetted,1subnetsO22.1.1.0[110/74]via12.1.1.2,00:02:50,Serial011.0.0.0/24issubnetted,1subnetsC11.1.1.0isdirectlyconnected,Ethernet012.0.0.0/24issubnetted,1subnetsC12.1.1.0isdirectlyconnected,Serial013.0.0.0/24issubnett