欢迎来到淘文阁 - 分享文档赚钱的网站! | 帮助中心 好文档才是您的得力助手!
淘文阁 - 分享文档赚钱的网站
全部分类
  • 研究报告>
  • 管理文献>
  • 标准材料>
  • 技术资料>
  • 教育专区>
  • 应用文书>
  • 生活休闲>
  • 考试试题>
  • pptx模板>
  • 工商注册>
  • 期刊短文>
  • 图片设计>
  • ImageVerifierCode 换一换

    CCNA路由器基本配置课件.ppt

    • 资源ID:73607063       资源大小:672.51KB        全文页数:56页
    • 资源格式: PPT        下载积分:20金币
    快捷下载 游客一键下载
    会员登录下载
    微信登录下载
    三方登录下载: 微信开放平台登录   QQ登录  
    二维码
    微信扫一扫登录
    下载资源需要20金币
    邮箱/手机:
    温馨提示:
    快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。
    如填写123,账号就是123,密码也是123。
    支付方式: 支付宝    微信支付   
    验证码:   换一换

     
    账号:
    密码:
    验证码:   换一换
      忘记密码?
        
    友情提示
    2、PDF文件下载后,可能会被浏览器默认打开,此种情况可以点击浏览器菜单,保存网页到桌面,就可以正常下载了。
    3、本站不支持迅雷下载,请使用电脑自带的IE浏览器,或者360浏览器、谷歌浏览器下载即可。
    4、本站资源下载后的文档和图纸-无水印,预览文档经过压缩,下载后原文更清晰。
    5、试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。

    CCNA路由器基本配置课件.ppt

    2004,Cisco Systems,Inc.All rights reserved.CCNA 640-801 v4.010-1路由器的基本配置路由器的基本配置 2004,Cisco Systems,Inc.All rights reserved.CCNA 640-801 v4.010-2完成本章的学习后完成本章的学习后,您可以完成下面的任务您可以完成下面的任务:创建一个创建一个 启动启动或或 运行配置文件运行配置文件在全局配置模式下对路由器进行配置在全局配置模式下对路由器进行配置配置一个串口配置一个串口选择下载选择下载IOSIOS文件的路径文件的路径如何备份路由器的如何备份路由器的IOSIOS文件文件使用使用setup modesetup mode对路由器进行一些基本配置对路由器进行一些基本配置目标目标 2004,Cisco Systems,Inc.All rights reserved.CCNA 640-801 v4.010-3使用使用 Setup Setup 模式配置路由器模式配置路由器Router#setup -System Configuration Dialog-At any point you may enter a question mark?for help.Use ctrl-c to abort configuration dialog at any prompt.Default settings are in square brackets .Continue with configuration dialog?yes/no:yesFirst,would you like to see the current interface summary?yes:no 2004,Cisco Systems,Inc.All rights reserved.CCNA 640-801 v4.010-4在在SetupSetup模式中配置全局参数模式中配置全局参数Configuring global parameters:Enter host name Router:P1R1The enable secret is a one-way cryptographic secret usedinstead of the enable password when it exists.Enter enable secret:Enter enable password :%Please choose a password that is different from the enable secret Enter enable password :cisco Enter virtual terminal password :Configure SNMP Network Management?no:Configure IP?yes:Configure IGRP routing?yes:Your IGRP autonomous system number 1:.2004,Cisco Systems,Inc.All rights reserved.CCNA 640-801 v4.010-5Configuring interface parameters:Configuring interface TokenRing0:Is this interface in use?no:Configuring interface Serial0:Is this interface in use?yes:Configure IP on this interface?yes:Configure IP unnumbered on this interface?no:IP address for this interface:172.16.97.67 Number of bits in subnet field 0:Class B network is 172.16.0.0,0 subnet bits;mask is 255.255.0.0 Configure Novell on this interface?yes:noConfiguring interface Serial1:Is this interface in use?yes:no在在SetupSetup模式配置端模式配置端口口 2004,Cisco Systems,Inc.All rights reserved.CCNA 640-801 v4.010-6Setup Setup 模式下的配置一览功能模式下的配置一览功能The following configuration command script was created:hostname P1R1enable secret 5$1$g722$dg2UVvWG6eekNRTE5LfmM/enable password sanfranline vty 0 4password sanfransnmp-server community!ip routingno decnet routing no xns routingnovell routingno apollo routingappletalk routingno clns routingno vines no bridge no mop enabled-More-interface TokenRing0shutdown!interface Serial0ip address 172.16.97.67 255.255.0.0interface Serial1shutdown!router igrp 200network 172.16.0.0!endUse this configuration?yes/no:yesOKUse the enabled mode configure command to modify this configuration.2004,Cisco Systems,Inc.All rights reserved.CCNA 640-801 v4.010-7Router(config)#RouterRouter#其它配置模式其它配置模式ExitCtrl-Z(end)路由器操作模式一览路由器操作模式一览用户模式用户模式用户特权模式用户特权模式全局配置模式全局配置模式配置模式配置模式提示符提示符端口端口Router(config-if)#子端口子端口 Router(config-subif)#控制器控制器Router(config-controller)#终端线终端线Router(config-line)#路由路由Router(config-router)#IPX-路由路由 Router(config-ipx-router)#Route-mapRouter(config-route-map)#2004,Cisco Systems,Inc.All rights reserved.CCNA 640-801 v4.010-8如何改变路由器的标识如何改变路由器的标识 为路由器或具体端口配置相应的标识为路由器或具体端口配置相应的标识路由器的主机名路由器的主机名Router(config)#hostname P1R1P1R1#欢迎词信息欢迎词信息P1R1(config)#banner motd#Accounting Department You have entered a secured system.Authorized access only!#端口标识端口标识P1R1(config)#interface ethernet 0P1R1(config-if)#description Engineering LAN,Bldg.18 2004,Cisco Systems,Inc.All rights reserved.CCNA 640-801 v4.010-9配置密码配置密码Router(config)#line console 0Router(config-line)#loginRouter(config-line)#password ciscoConsole 密码密码虚终端密码虚终端密码Router(config)#line vty 0 4Router(config-line)#login Router(config-line)#password ciscoEnable 密码密码Router(config)#enable password ciscoSecret 密码密码Router(config)#enable secret ccna 2004,Cisco Systems,Inc.All rights reserved.CCNA 640-801 v4.010-10其他命令其他命令Router(config)#service password-encryption给所有密码加密给所有密码加密Router(config)#line console 0Router(config-line)#exec-timeout 0 0防止自动退出特权模式防止自动退出特权模式Router(config)#line console 0Router(config-line)#logging synchronous防止命令中断防止命令中断 2004,Cisco Systems,Inc.All rights reserved.CCNA 640-801 v4.010-11Router(config)#interface type numberRouter(config-if)#端口的配置端口的配置端口类型包括端口类型包括 serial,ethernet,token ring,fddi,hssi,loopback,dialer,null,async,atm,bri,tunnelnumber用来标识具体的端口用来标识具体的端口Router(config-if)#exit 退出当前的端口配置模式退出当前的端口配置模式Router(config)#interface type slot/portRouter(config-if)#针对针对Cisco 7000和和7200系列路由器系列路由器 2004,Cisco Systems,Inc.All rights reserved.CCNA 640-801 v4.010-12Router(config)#interface type numberRouter(config-if)#端口的配置端口的配置(续续)type includes serial,ethernet,token ring,fddi,hssi,loopback,dialer,null,async,atm,bri,and tunnelnumber is used to identify individual interfacesRouter(config-if)#exit Quit from current interface configuration modeRouter(config)#interface type slot/portRouter(config-if)#For the Cisco 7000 and 7200 series routers 2004,Cisco Systems,Inc.All rights reserved.CCNA 640-801 v4.010-13Router#show interfaces Ethernet0 is up,line protocol is up Hardware is Lance,address is 0060.4740.c2b6(bia 0060.4740.c2b6)MTU 1500 bytes,BW 10000 Kbit,DLY 1000 usec,rely 255/255,load 1/255 Encapsulation ARPA,loopback not set,keepalive set(10 sec)ARP type:ARPA,ARP Timeout 04:00:00Serial1 is up,line protocol is down Hardware is MK5025 MTU 1500 bytes,BW 1544 Kbit,DLY 20000 usec,rely 255/255,load 9/255 Encapsulation HDLC,loopback not set,keepalive set(10 sec)show interfaces show interfaces 命令命令.2004,Cisco Systems,Inc.All rights reserved.CCNA 640-801 v4.010-14Router#show interface serial 1Serial1 is up,line protocol is up Hardware is cxBus Serial Description:56Kb Line San Jose-MP :可操作可操作.连接问题连接问题.端口问题端口问题.人为不可用人为不可用.Serial1 is up,line protocol is upSerial1 is up,line protocol is downSerial1 is down,line protocol is downSerial1 is administratively down,line protocol is down协议正常协议正常载波检测正常载波检测正常端口状态的解释端口状态的解释 2004,Cisco Systems,Inc.All rights reserved.CCNA 640-801 v4.010-15配置一个串口配置一个串口 进入全局配置模式进入全局配置模式Router(config-if)#clock rate 56000Router(config-if)#Router(config)#interface serial 1Router(config-if)#Router#configure termRouter(config)#Router(config-if)#bandwidth 56Router(config-if)#exitRouter(config)#exitRouter#进入具体端口配置模式进入具体端口配置模式设置设置DCE 时钟速率时钟速率设置带宽设置带宽 2004,Cisco Systems,Inc.All rights reserved.CCNA 640-801 v4.010-16检查检查 DCE/DTE DCE/DTE 状态状态Router#show controllers serial 1HD unit 1,idb=0 xBFD3C,driver structure at 0 xC39A0buffer size 1524 HD unit 1,V.35 DCE cable,clockrate 56000cpb=0 x83,eda=0 x800,cda=0 x814RX ring with 16 entries at 0 x83080000 bd_ptr=0 x0800 pak=0 x0C54F0 ds=0 x836938 status=80 pak_size=2201 bd_ptr=0 x0814 pak=0 x0C5158 ds=0 x835BC8 status=80 pak_size=2202 bd_ptr=0 x0828 pak=0 x0C4F8C ds=0 x835510 status=80 pak_size=26903 bd_ptr=0 x083C pak=0 x0C4DC0 ds=0 x834E58 status=80 pak_size=2204 bd_ptr=0 x0850 pak=0 x0C6184 ds=0 x839840 status=80 pak_size=2205 bd_ptr=0 x0864 pak=0 x0C4BF4 ds=0 x8347A0 status=80 pak_size=22.2004,Cisco Systems,Inc.All rights reserved.CCNA 640-801 v4.010-17检查所做的修改检查所做的修改Router#show interfaces serial 1Serial1 is up,line protocol is up Hardware is MK5025 MTU 1500 bytes,BW 56 Kbit,DLY 20000 usec,rely 255/255,load 9/255 Encapsulation HDLC,loopback not set,keepalive set(10 sec)Last input 0:00:00,output 0:00:01,output hang never Last clearing of show interface counters never Output queue 0/40,0 drops;input queue 0/75,0 drops Five minute input rate 1000 bits/sec,0 packets/sec Five minute output rate 2000 bits/sec,0 packets/sec 331885 packets input,62400237 bytes,0 no buffer Received 230457 broadcasts,0 runts,0 giants 3 input errors,3 CRC,0 frame,0 overrun,0 ignored,0 abort 403591 packets output,66717279 bytes,0 underruns 0 output errors,0 collisions,8 interface resets,0 restarts 45 carrier transitions 2004,Cisco Systems,Inc.All rights reserved.CCNA 640-801 v4.010-18其它端口的配置其它端口的配置Router(config)#interface ethernet 2Router(config-if)#media-type 10baseT选择以太网端口的介质类型选择以太网端口的介质类型 2004,Cisco Systems,Inc.All rights reserved.CCNA 640-801 v4.010-19重新打开一个人为关闭的端重新打开一个人为关闭的端口口Router#configure termRouter(config)#interface serial 1Router(config-if)#shutdown%LINEPROTO-5-UPDOWN:Line Protocol on Interface Serial1,changed state to down%LINK-5-CHANGED:Interface Serial,changed state to administratively down关闭一个端口关闭一个端口在不改变配置的情况下人为地关闭一个端口在不改变配置的情况下人为地关闭一个端口Router#configure termRouter(config)#interface serial 1Router(config-if)#no shutdown%LINK-3-UPTOWN:Interface Serial,changed state to up%LINEPROTO-5-UPDOWN:Line Protocol on Interface Serial1,changed state to up 2004,Cisco Systems,Inc.All rights reserved.CCNA 640-801 v4.010-20检查对路由器所做的修改检查对路由器所做的修改 (10.3+(10.3+版本版本)Yes对路由器进行配置对路由器进行配置检测结果检测结果Router#show running-config结果是否正确结果是否正确保存配置保存配置Router#copy running-config startup-configRouter#copy running-config tftp检查保存文件检查保存文件Router#show startup-configNo删除修改删除修改覆盖修改覆盖修改Router(config)#no.Router#copy start runRouter#copy TFTP runRouter#reloadRouter#copy TFTP startRouter#reload重启重启清除清除NVRAMRouter#erase startRouter#reload 2004,Cisco Systems,Inc.All rights reserved.CCNA 640-801 v4.010-21保存配置文件保存配置文件 (10.3+(10.3+版本版本)Router#copy running-config startup-configRouter#RAMNVRAMNVRAMRouter#copy running-config tftpRemote host 172.16.2.155?RAMTFTP or rcp server 2004,Cisco Systems,Inc.All rights reserved.CCNA 640-801 v4.010-22使用使用 Telnet Telnet 登陆到远程设备登陆到远程设备RouterARouterB10.1.1.110.1.1.2S0S1RouterA#telnet 10.1.1.2 2004,Cisco Systems,Inc.All rights reserved.CCNA 640-801 v4.010-23查看查看Telnet Telnet 连接连接RouterARouterB10.1.1.110.1.1.2S0S1RouterB#show userRouterB显示当前用户显示当前用户 2004,Cisco Systems,Inc.All rights reserved.CCNA 640-801 v4.010-24暂停一个暂停一个TelentTelent 会话会话RouterARouterB10.1.1.110.1.1.2S0S1RouterB#x暂停连接暂停连接RouterA#resume conn-number继续连接继续连接RouterA#show sessionRouterA显示连接会话显示连接会话 2004,Cisco Systems,Inc.All rights reserved.CCNA 640-801 v4.010-25RouterA#disconnect Closing connection to 10.1.1.2 confirmRouterB#clear line vtynumberconfirm OK中止一个中止一个TelentTelent 会话会话在远程设备上终止在远程设备上终止TELNET在本地终止在本地终止TELNET会话会话RouterARouterB10.1.1.110.1.1.2S0S1 2004,Cisco Systems,Inc.All rights reserved.CCNA 640-801 v4.010-26Router#show versionIOS(tm)2500 Software(C2500-JS-L),Version 11.2(6),RELEASE SOFTWARE(fc1)Copyright(c)1986-1997 by cisco Systems,Inc.Compiled Tue 06-May-97 16:17 by kuongImage text-base:0 x0303ED8C,data-base:0 x00001000ROM:System Bootstrap,Version 5.2(8a),RELEASE SOFTWAREROM:3000 Bootstrap Software(IGS-RXBOOT),version 10.2(8a),RELEASE SOFTWARE(fc1)Router uptime is 21 hours,13 minutesSystem restarted by reloadSystem image file is flash:c2500-js-l.112-6.bin,booted via flash Configuration register is 0 x2102 设置配置寄存器的值设置配置寄存器的值.2004,Cisco Systems,Inc.All rights reserved.CCNA 640-801 v4.010-27配置寄存器中第配置寄存器中第0 0到第到第3bit3bit用来指定如何下载用来指定如何下载IOSIOS用用 show versionshow version 命令检查配置寄存器的值命令检查配置寄存器的值配置寄存器配置寄存器配置寄存器值配置寄存器值0 x21000 x2102 到到 0 x210F0 x2101含义含义启动后进入启动后进入 ROM monitor状态状态到到NVRAM 中寻找有没有中寻找有没有boot system 命令命令(0 x2 为缺省值为缺省值)从从ROM中的中的IOS子集启动子集启动Router#configure terminalRouter(config)#config-register 0 x2102Ctrl-ZRouter#reload 2004,Cisco Systems,Inc.All rights reserved.CCNA 640-801 v4.010-28路由器密码的恢复:路由器密码的恢复:冷关机,然后再开机并在冷关机,然后再开机并在6060秒内按秒内按+进入进入ROMROM监视器模式监视器模式 o/r 0 x2142 o/r 0 x2142 -confregconfreg 0 x2142-16xx 0 x2142 -I I(重新启动)(重新启动)router enable router enable router#copy startup-router#copy startup-configconfig running-running-configconfig router#configure terminal router#configure terminal router(configrouter(config)#enable secret New-Password)#enable secret New-Password router(configrouter(config)#)#configconfig-register 0 x2102-register 0 x2102 router(configrouter(config)#)#z z router#copy running-router#copy running-configconfig startup-startup-configconfig router#reloadrouter#reload 2004,Cisco Systems,Inc.All rights reserved.CCNA 640-801 v4.010-29利用网络备份一个利用网络备份一个IOSIOS映像文件映像文件路由器路由器检查服务器剩余空间检查服务器剩余空间检查映像文件的命名方式检查映像文件的命名方式检查服务器的可达性检查服务器的可达性 网络服务器网络服务器c2500-js-l.112-6 2004,Cisco Systems,Inc.All rights reserved.CCNA 640-801 v4.010-30Router#show flash System flash directory:File Length Name/status 1 7871172 c2500-js-l.112-6.bin7871236 bytes used,517372 available,8388608 total8192K bytes of processor board System flash(Read ONLY)察看察看flashflash的相关内容的相关内容察看察看flashflash中的剩余空间中的剩余空间 2004,Cisco Systems,Inc.All rights reserved.CCNA 640-801 v4.010-31Router#show flash System flash directory:File Length Name/status 1 7871172 c2500-js-l.112-6.bin7871236 bytes used,517372 available,8388608 total8192K bytes of processor board System flash(Read ONLY)IOSIOS映像文件名映像文件名 2004,Cisco Systems,Inc.All rights reserved.CCNA 640-801 v4.010-32Router#copy flash tftpSystem flash directory:File Length Name/status 1 7871172 c2500-js-l.112-6.bin7871236 bytes used,517372 available,8388608 total8192K bytes of processor board System flash(Read ONLY)IP address of remote host 255.255.255.255?172.16.13.111filename to write on tftp host?c2500-js-l.112-6 writing c2500-js-l.112-6!successful tftp write.Router#创建一个创建一个IOSIOS的备份文件的备份文件在更新在更新 FlashFlash前做一个备份文件前做一个备份文件 网络服务器网络服务器FLASHFLASHcopy flash tftp 2004,Cisco Systems,Inc.All rights reserved.CCNA 640-801 v4.010-33下载配置文件下载配置文件 (10.3+(10.3+及以后版本及以后版本)Console or TerminalRAMTFTP ServerNVRAMNVRAMconfigure terminalcopy startup-config running-configcopy tftp running-configcopy tftp startup-config 2004,Cisco Systems,Inc.All rights reserved.CCNA 640-801 v4.010-34 从从TFTP ServerTFTP Server下载配置文件下载配置文件Router#copy tftp running-configHost or network configuration file host?IP address of remote host 255.255.255.255?131.108.2.155Name of configuration file Router-confg?P1R1.2Configure using P1R1.2 from 131.108.2.155?confirm yBooting P1R1.2 from 131.108.2.155:!OK-874/16000 bytesP1R1#TFTP ServerRAM 2004,Cisco Systems,Inc.All rights reserved.CCNA 640-801 v4.010-35Router#copy tftp flashIP address or name of remote host 255.255.255.255?172.16.13.111Name of tftp filename to copy into flash?c4500-js-lcopy c4500-js-l.112-6 from 172.16.13.111 into flash memory?confirmxxxxxxxx bytes available for writing without erasure.erase flash before writing?confirmClearing and initializing flash memory(please wait)#.#Loading from 172.16.13.111:!(text omitted)OK-324572/524212 bytesVerifying checksum.VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV(text omitted)Flash verification successful.Length=1804637,checksum=0 xA5D3从网络升级从网络升级IOSIOS系统会在下载新的版本前首先抹掉旧系统会在下载新的版本前首先抹掉旧FlashFlashNetworkServerFLASHFLASH 2004,Cisco Systems,Inc.All rights reserved.CCNA 640-801 v4.010-36覆盖现存的版本覆盖现存的版本对于那些新对于那些新,旧映像文件版本相同的情况旧映像文件版本相同的情况网络服务器网络服务器FLASHFLASHRouter#copy tftp flashIP address or name of remote host 255.255.255.255?172.16.13.111Name of tftp filename to copy into flash?c4500-js-l.112-6 File c4500-js-l.112-6 already exists;it will be invalidated!Copy c4500-js-l.112-6 from 172.16.13.111 into flash memory?confirmxxxxxxxx bytes available for writing without erasure.erase flash before writing?confirmClearing and initializing flash memory(please wait)#.#Loading from 172.16.13.111:!(text omitted)OK-324572/524212 bytesVerifying checksum.VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV(text omitted)Flash verification successful.Length=1204637,checksum=0 x95D9 2004,Cisco Syste

    注意事项

    本文(CCNA路由器基本配置课件.ppt)为本站会员(飞****2)主动上传,淘文阁 - 分享文档赚钱的网站仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知淘文阁 - 分享文档赚钱的网站(点击联系客服),我们立即给予删除!

    温馨提示:如果因为网速或其他原因下载失败请重新下载,重复下载不扣分。




    关于淘文阁 - 版权申诉 - 用户使用规则 - 积分规则 - 联系我们

    本站为文档C TO C交易模式,本站只提供存储空间、用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。本站仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知淘文阁网,我们立即给予删除!客服QQ:136780468 微信:18945177775 电话:18904686070

    工信部备案号:黑ICP备15003705号 © 2020-2023 www.taowenge.com 淘文阁 

    收起
    展开