您好,欢迎访问三七文档
华为3Com培训中心华为3Com公司版权所有,未经授权不得使用与传播HL-005路由器基础及配置ISSUE5.02学习目标通过本章学习,您能够:掌握路由器基本原理能够利用一些常用命令配置路由器能够升级路由器3课程内容路由器基础路由器配置命令行简介升级路由器4路由器的概念及基本构成路由器——工作在OSI参考模型第三层的网络设备用于网络互连的设备作为路由器,必须具备:两个或两个以上的接口协议至少向上实现到网络层具有存储、转发、寻径功能5路由器的作用路由器的核心作用是实现网络互连分组数据转发路由(寻径):路由表建立、刷新、查找子网间的速率适配隔离网络,防止网络风暴,制定访问规则(防火墙)异种网络互连6路由器工作流程IPETHPPP以太网口串口IPPPPETH串口以太网口协议封装路由选择协议转换路由器路由器传送拆包接收发送工作过程7路由表路由表内容示例30.0.0.1255.255.255.0200.0.0.020.0.0.1255.255.255.0100.0.0.010.0.0.10.0.0.00.0.0.0下一跳地址掩码目的地址8AR28-31备份口配置口9课程内容路由器基础路由器配置命令行简介升级路由器10配置路由器通过Console口配置通过拨号远程配置通过Telnet方式配置通过哑终端方式配置通过FTP方式传送配置文件11通过Console口配置建立本地配置环境配置口(Console)配置口(Console)电缆R232串口12步骤一:连接配置电缆RJ45头一端接在路由器的Console口上9针(或25针)RS232接口一端接在计算机的串行口上13步骤二:创建超级终端(1)以WINDOWS98所带的“超级终端”为例点击“开始”→“程序”→“附件”→“超级终端”进入“超级终端”目录后,选择“Hypertrm”,即可新建一“超级终端”14步骤二:创建超级终端(2)15通过拨号线路配置路由器将路由器和PC分别与Modem连接备份电缆ModemModemPSTN/ISDN16通过Telnet配置本地路由器[Quidway-Ethernet0/0]ipaddress10.0.0.10024缺省的telnet登录用户名:admin口令:admin服务器PC工作站工作站10Base-T网口17通过哑终端配置[Quidway-Serial0/0]physical-modeasync同/异步串口18通过FTP配置在路由器上启动FTP服务器在终端上启动FTP客户端程序FTPserver10.110.0.1FTPclient10.110.0.2Ethernet19课程内容路由器基础路由器配置命令行简介升级路由器20命令行概述用户视图系统视图RIP视图OSPF视图BGP视图以太网接口视图同步串口视图Dialer接口视图21进入路由器配置界面UserinterfaceCon0isavailable.PressENTERtogetstarted.QuidwayConsole22用户视图常用命令Quidway?cdChangecurrentdirectorydebuggingEnablesystemdebuggingfunctionsdeleteDeleteafiledisplayDisplaycurrentsysteminformationpingSendechomessagessaveSavecurrentconfigurationresetResetoperationrebootRebootsystem23系统视图常用命令Quidwaysystem-view[Quidway]?aclSpecifyaclconfigurationinformationarpAddstaticARPentrybgpSpecifyBGP(BorderGatewayProtocol)configurationinformationfirewallSpecifyfirewallconfigurationinformationipsecSpecifyIPSec(IPSecurity)configurationinformationlocal-userSpecifylocaluserconfigurationinformationpppSpecifyPPP(thePoint-to-PointProtocol)24接口视图命令[Quidway]interfaces0/0[Quidway-Serial0/0]?baudrateSettransmitandreceivebaudrateasyncAsynchronouslineconfigurationcommandipSpecifyIPconfigurationinformationshutdownShutdownthespecifiedinterfacephysical-modeSetsynchronousorasynchronousmodeonserialinterfacedialerSpecifyDCC(Dial-Control-Center)configurationinformationquitExitfromcurrentcommandviewloopbackSetloopbackonaninterface25在线帮助[Quidway]display?aclAclstatusandconfigurationinformationarpDisplayARPentryaspfASPFstatusandconfigurationinformationauto-configSpecifyautoconfigurationinformationbgpBGPstatusandconfigurationinformationcurrent-configurationCurrentconfigurationdebuggingCurrentsettingofdebuggingswitchesdhcpDHCPconfigurationsubcommandsdiagnostic-informationSystemInformationforDiagnosis26命令行错误信息[Quidway]dispaly?^%Unrecognizedcommandfoundat'^'position.[Quidway]display^%Incompletecommandfoundat'^'position.[Quidway]displayinterfaceSerial0/00^%Toomanyparametersfoundat'^'position.27历史命令displayhistory-command补全命令使用Tab键查看历史记录使用↑↓键使用Ctrl+P快捷键历史命令28编辑特性普通按键输入字符到当前光标位置退格键BackSpace删除光标位置的前一个字符删除键Delete删除光标位置字符左光标键←光标向左移动一个字符位置右光标键→光标向右移动一个字符位置上下光标键↑↓显示历史命令29Language中英文显示方式切换暂停显示时键入'Ctrl+c'停止显示和命令执行暂停显示时键入空格键继续显示下一屏信息暂停显示时键入回车键继续显示下一行信息显示特性30课程内容路由器基础路由器配置命令行简介升级路由器31口令忘了!怎么办?进入系统的口令忘了?重启路由器按下Ctrl+B输入Bootrom密码选择清除密码,重启路由器修改密码口令忘了!没法配置路由器了32升级路由器通过Console口升级通过FTP升级通过TFTP升级更多的功能更简便的配置33通过Console口升级路由器ConsoleBootMenu:1:DownloadapplicationprogramwithXMODEM2:DownloadapplicationprogramwithNET3:Setapplicationfiletype4:DisplayapplicationsinFlash5:Clearapplicationpassword6:Startupandignoreconfiguration7:Enterdebuggingenvironment8:BootRomOperationMenu9:Donotchecktheversionofthesoftwarea:Exitandreboot34通过Console口升级路由器(续)35通过FTP升级路由器FTPserver10.110.0.1FTPclient10.110.0.2Ethernet启动FTP服务器功能[Quidway]ftpserverenable增加用户名并设置密码[Quidway]local-usertt[Quidway-luser-tt]service-typeftp[Quidway-luser-tt]passwordsimplett36通过TFTP升级路由器TFTPserver10.110.0.1TFTPclient10.110.0.2Ethernet选择指定的以太口在配置电脑上运行TFTP服务器程序指定应用程序所在的路径运行超级终端37通过TFTP升级路由器路由器重启后按Ctrl+B在BOOTMenu下修改参数(IP地址,文件名等等)BootMenu:1:DownloadapplicationprogramwithXMODEM2:DownloadapplicationprogramwithNET3:Setapplicationfiletype4:DisplayapplicationsinFlash5:Clearapplicationpassword6:Startupandignoreconfiguration7:Enterdebuggingenvironment8:BootRomOperationMenu9:Donotchecktheversionofthesoftwarea:Exitandreboot38基本操作命令系统状态和系统信息查看命令:display调试命令:debugging测试工具:ping、tracert39常用display命令displayversiondisplaycurrent-configurationdisplayinterface40displayversion[Quidway]displayversionCopyrightNotice:Allrightsreserved(Apr082005).Withouttheowner'spriorwrittenconsent,nodecompilingnorreverse-engineeringshallbeallowed.Huawei-3ComVersatileRoutingPlatformSoftwareVRP(R)software,Version3.40,ReleaseRT-0009Copyright(c)2003-2005HangzhouHuawei-3ComTech.Co.,Ltd.Allrightsreserved.Copyright(c)2000-2003HuaweiTech.Co.,Ltd.Allrightsreserved.QuidwayAR28-11uptimeis0week,0day,0hour,1minuteCPUtype:PowerPC8241200MHz128MbytesSDRAMMemory32MbytesFlashMemoryPcbVersion:1.0LogicVersion:1.0BootROMVersion:9.09[SLOT0]AUX(Hardware)1.0,(Driver)1.0,(Cpld)1.041displaycurrent-configuration[Quidway]displaycur
本文标题:路由器基础及配置.
链接地址:https://www.777doc.com/doc-2045268 .html