实验一 使用Packet Tracer 配置单个路由器_第1页
实验一 使用Packet Tracer 配置单个路由器_第2页
实验一 使用Packet Tracer 配置单个路由器_第3页
实验一 使用Packet Tracer 配置单个路由器_第4页
实验一 使用Packet Tracer 配置单个路由器_第5页
已阅读5页,还剩9页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、实验一使用Packet Tracer配置单个路由器此次试验目的是了解思科网络设备的配置基本特点及IOS命令基本操作方法。这些是配置思科设备的重要前提。一、实验环境搭建添加一个模块化的路由器,单击Packet Tracer 5.0的工作区中刚添加的路由器,在弹出的配置窗口上添加一些模块:RouterPT-EmptyPhysFcalnfig CLIMODULESPT-ROUTER-NM-1AMOriginal SizeZoom InPT-ROUTER-NM-1CEPT-ROUTER-NM-1CFEPT-ROUTER-NM-1CGEPT-ROUTER-NM-1FFEPT-ROUTER-NM-1FGE

2、PT-R0UTER-NM-1SPT-RQUTER-NM-1SS:iul图一llllllllPhysical Device View默认情况下,路由器的电源是打开的,添加模块时需要关闭路由器的电源,单击图一箭头所指的电源开关,将其关闭,路由器的电源关闭后绿色的电源指示灯也将变暗。图二添加所需要的模块在“MODULES”下寻找所需要的模块,选中某个模块时会在下方显示该模块的信息。然后拖到路由器的空插槽上即可。图三各种模块添加完成,打开路由器的电源图四 添加一计算机,其RS-232与路由器的Console端口相连图五 用计算机的终端连接路由器图六实验环境搭建完成二、配置单个的路由器路由器的几种模式:

3、User mode(用户模式)、Privileged mode (特权模式)、Global configurationmode(全局配置模式)、Interface mode(接口配置模式)、Subinterface mode(子接口配置模式)、Line mode、Router configuration mode (路由配置模式)。每种模式对应不同的提示符。JLRouter usermodeRout er enati 1 eRoute reconfigure terminal =MlegRCl ITlQClEEnt er c on f i gijx at i on c omiLLaiids .

4、 one per 1 ine . End with CNT L/Z -Rout e r ( c on fig) it int e r f ac e serial 4/0 .三司鸟己萱 呼部散字雷震Rout e r (conf ig-i f) if line co4nterface modehip 海 bakiu 知n归Router (config-line) # LiflE 171口|日图七几各配置命令提示符D.out erRout er enalzileRouter if conf tEnt er c on f i gi-ir at i on c oiiiiLLaiids . one per

5、 line - D.out er (c on fig) ttho stiiame S enyaRS enyaR ( c on fig) itEnd with CNTL/Z-图八配置路由器的名字RouterP.out er enati 1 eP.uut e r ft c on f tEnt er c on f i gur at i on c oiLULLaiids , one per 1 ine _End with CNTL/Z -P.out er (c on fig) ttho st-naiiie $ enyaR月十井 R- * ?fl,SenyaR(conf i 14) itenatile

6、password myrouterSenyaRenab1ePassword:Password:Password:SenyaP.ttj川*11界 Y+11WY EMLi DJI WUI.riiSenyaP.ficonf t图九配置enable密码Ent er c on f i gur at i on c ciiiiiiiaiids . one per line. End with CNT L/Z _SenyaR(config)#1ine con 0SenyaR ( conf ig-line J itp as sword my routerSenyaF!. ( conf ig-line) #log

7、inS enyaR ( c on fig-line) #|viHUrij QisrMMH图十配置Console登录时的密码图十一通过Console端口登录到路由器需要输入密码S enyaR (c on fig) itline vty 0 4SenyaR(config-1ine J ftpasswqrd 三enyaSenyaR(config-1ine)#lcgin上*. wIf图十二配置终端登录方式的密码默认情况下路由器中的各种密码以明文形式保存。在全局配置模式下使用service password-encryption命令加密口令。$ enyaP.if sh ip int er faceInt

8、 e r facebrief1IP-AddressOK?MethodSt- at-usProtocolSerial4/0i-uj.se s i gnm dYESmaiiualaiEiiini st r at ive ly doimdownSerial5/0i-UiassiijRiedYESiiiELtiualaiiDiini st r at ive ly dormdoxmFastEthernet6/0i-uassiiTtiedYESIII aiualaidiiiini st r at ive ly doTmdomiGi galzi it Ethe rnet 7/0i-UiassiijCtied

9、YESniaiiualaiEiiini st r at ive ly doim野离,教字空间doT.rtiFastEthernet8/0i-uias s i ijRie dYESiiiELtiualaiDiini str at ive ly do rm http 7/hi.baid u. com/senyadOT-rtiEthernet9/0 SenyaP.#|192-168.1.2YESniaiiualupdoTm图十三 查看路由器接口的IP配置信息首先要明白接口名称表示方式:接口类型 接口数字标识/插槽数字标识,如Serial 4/0表示该接口为串口,第一个插槽的第4个接口。插槽的数字标识

10、是从零开始的。图十四 显示所有接口的详细信息S enyaP.ft show int er faces fa 6/0FastEthernet6/0 is aiiniinistratively doi-ni, line protocol is doTm ( di5ati 1 ed) Hardware is Laiice , address is 00e0 - f 7Sc. caaZ (bia OOeO - f 75c - caaZ) HTU 1500 Lytms. EW 100000 Kbit. DLY 100 usee, rely ZSS/Z5S, load 1/ZSS Encapsulatio

11、n AP.PA,. loopback not set ARP type:: ARP A . ARP Time out 04: 00: 00 r Last input 00: 00: 08, output 00:00:05, output haiig neven Last clearing o f show inter face c oiu t e r s neverJLQueueing strategy: fi to Output ii.ieue : 0/40 (size/max5 iiiinute input rate 0 bits/secr 0 packets/sec 5 iiiinute

12、 output rate 0 bits/secr 0 packets/sec 0 packete input, 00 no buf f erP.eceived 0 broadcastsr 0 rmits, 0 giaiits. 0 tlrottles 0 0 0 0 0 0 0input errors, 0 CD.C, 0 fraiiie, 0 ovemui, 0 iizniored, 0 atiort input packets with dribkile condition detects p ack et e output. 0 byt- es , 0 mide r rm is outp

13、ut errors, 0 collisions, 1 inter face hatibles, 0 late co 11 ision, 0 de f erred lost carrier, 0 no carrier output buf fer failures, 0 output buf f ersres eFiftpJ/hi.tiaidu. com/senyaswapp e d out.图十五 显示某个指定端口的详细信息S enyaR ( c on fig) itb ainie r 1 o gin #He llo Tffelc oiiie Aidiiiini st r at o r # S

14、enyaR(config)#图十六配置登录时的欢迎信息S enyaP.ftwr it eBuiIding configut ationOKS enyaP.ft c opy ri.uming-c on fig st art-up 一 c on f igI:1 e st inat i on f il enaiiie st artup - c on fig ?Building confiiT-iration.- OK图十七保存配置信息arpcdpclockcontrollersc rTZit o debugging idlicpflash:f r aiiie-r el ay historyIj-dS

15、tSint e r facesipOSp f口三p fv3processes protocols ri-uming-c on f ig sessionssshstartup-config TTnr p List access listsArp t alj 1 e CDP inforiiiation Display the systeiii clock Inter face c ont rollers st atus Encrrpition iiiodule State of each debugging option Ijirtiaiuic Host ConfiiT-iat-ion Proto

16、col status display inforiiiation atiout f 1 ash: file systeiii F r aiiie - P.e 1 ay in f o riiiat i on Disp 1 ay the session coiiiiLLSLtid history IP doiiiain-naiLLe 1 ookup style naiiieservers r and host tati 1 e Int er face st- atus and c on f i gut at i on IP information Fi=ir OS PF debug only For 0SPFv3 debug only Active process statistics Active n

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论