HL005 路由器基础及配置

上传人:s9****2 文档编号:585438609 上传时间:2024-09-02 格式:PPT 页数:48 大小:1.11MB
返回 下载 相关 举报
HL005 路由器基础及配置_第1页
第1页 / 共48页
HL005 路由器基础及配置_第2页
第2页 / 共48页
HL005 路由器基础及配置_第3页
第3页 / 共48页
HL005 路由器基础及配置_第4页
第4页 / 共48页
HL005 路由器基础及配置_第5页
第5页 / 共48页
点击查看更多>>
资源描述

《HL005 路由器基础及配置》由会员分享,可在线阅读,更多相关《HL005 路由器基础及配置(48页珍藏版)》请在金锄头文库上搜索。

1、HL-005 HL-005 路由器基础及配置路由器基础及配置ISSUE 5.1日期:杭州华三通信技术有限公司 版权所有,未经授权不得使用与传播n掌握路由器基本原理掌握路由器基本原理n能够利用一些常用命令配置路由器能够利用一些常用命令配置路由器n能够升级路由器能够升级路由器课程目标课程目标学习完本课程,您应该能够:学习完本课程,您应该能够:n路由器基础路由器基础n路由器配置路由器配置n命令行简介命令行简介n升级路由器升级路由器目录目录4路由器的概念及基本构成路由器的概念及基本构成l 路由器 - 工作在 OSI 参考模型第三层的网络设备l 用于网络互连的设备l 作为路由器,必须具备: 两个或两个以

2、上的接口 协议至少向上实现到网络层 具有存储、转发、寻径功能5路由器的作用路由器的作用l 路由器的核心作用是实现网络互连 分组数据转发 路由(寻径):路由表建立、刷新、查找 子网间的速率适配 隔离网络,防止网络风暴,制定访问规则(防火墙) 异种网络互连6路由器工作流程路由器工作流程IPETHPPP以太网口以太网口串口串口IPPPPETH串口串口以太网口以太网口协议封装协议封装路由选择路由选择协议转换协议转换路由器路由器路由器路由器传送传送拆包拆包接收接收发送发送工作过程工作过程7路由表路由表路由表内容示例路由表内容示例30.0.0.1255.255.255.0200.0.0.020.0.0.1

3、255.255.255.0100.0.0.010.0.0.10.0.0.00.0.0.0下一跳地址掩码目的地址8AR28-31备备份份口口配配置置口口n路由器基础路由器基础n路由器配置路由器配置n命令行简介命令行简介n升级路由器升级路由器目录目录10配置路由器配置路由器l 通过Console口配置l 通过拨号远程配置l 通过Telnet方式配置l 通过哑终端方式配置l 通过FTP方式传送配置文件11通过通过Console口配置口配置建立本地配置环境建立本地配置环境配置口配置口(Console)配置口(配置口(Console)电缆R232 串口串口 12步骤一:连接配置电缆步骤一:连接配置电缆l

4、 RJ45头一端接在路由器的Console口上l 9针(或25针)RS232接口一端接在计算机的串行口上13步骤二:创建超级终端(步骤二:创建超级终端(1)l 以WINDOWS98 所带的“超级终端”为例 l 点击“开始 ”“程序”“附件”“超级终端”l 进入“超级终端”目录后,选择“Hypertrm”,即可新建一“超级终端” 14步骤二:创建超级终端(步骤二:创建超级终端(2)15通过拨号线路配置路由器通过拨号线路配置路由器将路由器和PC分别与Modem连接 备份电缆备份电缆ModemModemPSTN/ISDN16通过通过Telnet配置本地路由器配置本地路由器H3C-Ethernet0/

5、0ip address 10.0.0.100 24 缺省的telnet登录用户名:admin 口令:admin工作站服务器PC工作站10Base-T 网口17通过哑终端配置通过哑终端配置H3C-Serial0/0physical-mode async同同/异步串口异步串口18通过通过FTP配置配置在路由器上启动在路由器上启动FTP服务器服务器在终端上启动在终端上启动FTP客户端程序客户端程序FTP server10.110.0.1FTP client10.110.0.2Ethernetn路由器基础路由器基础n路由器配置路由器配置n命令行简介命令行简介n升级路由器升级路由器目录目录20命令行概述

6、命令行概述l 用户视图l 系统视图 l RIP视图l OSPF视图l BGP视图l 以太网接口视图l 同步串口视图l Dialer接口视图21进入路由器配置界面进入路由器配置界面 User interface Con 0 is available. Press ENTER to get started. C22用户视图常用命令用户视图常用命令? cdChange current directory debugging Enable system debugging functions delete Delete a file displayDisplay current system info

7、rmationpingSend echo messagessaveSave current configuration resetReset operationreboot Reboot 23系统视图常用命令系统视图常用命令system-viewH3C?aclSpecify acl configuration information arpAdd static ARP entry bgpSpecify BGP (Border Gateway Protocol) configuration informationfirewallSpecify firewall configuration inf

8、ormation ipsecSpecify IPSec(IP Security) configuration information local-userSpecify local user configuration information pppSpecify PPP(the Point-to-Point Protocol)24接口视图命令接口视图命令H3Cinterface s0/0 H3C-Serial0/0? baudrateSet transmit and receive baudrate async Asynchronous line configuration command

9、ipSpecify IP configuration information shutdownShut down the specified interface physical-modeSet synchronous or asynchronous mode on serial interfacedialerSpecify DCC(Dial-Control-Center) configuration information quitExit from current command view loopbackSet loopback on an 25在线帮助在线帮助H3C display ?

10、aclAcl status and configuration information arp Display ARP entryaspf ASPF status and configuration information auto-config Specify auto configuration information bgp BGP status and configuration informationcurrent-configurationCurrent configurationdebuggingCurrent setting of debugging switches dhcp

11、 DHCP configuration subcommands diagnostic-information System Information for Diagnosis 26命令行错误信息命令行错误信息 H3Cdispaly ? % Unrecognized command found at position. H3Cdisplay % Incomplete command found at position. H3Cdisplay interface Serial 0/0 0 % Too many parameters found at 27l历史命令display history-c

12、ommandl补全命令使用使用Tab键键l查看历史记录使用使用 键键使用使用Ctrl P快捷键快捷键历史命令历史命令历史命令历史命令28编辑特性编辑特性l 普通按键 输入字符到当前光标位置l 退格键BackSpace 删除光标位置的前一个字符l 删除键Delete 删除光标位置字符l 左光标键 光标向左移动一个字符位置l 右光标键 光标向右移动一个字符位置l 上下光标键 显示历史命令29lLanguage中英文显示方式切换l暂停显示时键入Ctrl+c停止显示和命令执行l暂停显示时键入空格键继续显示下一屏信息l暂停显示时键入回车键继续显示下一行信息显示特性显示特性显示特性显示特性n路由器基础路由

13、器基础n路由器配置路由器配置n命令行简介命令行简介n升级路由器升级路由器目录目录31口令忘了!怎么办?口令忘了!怎么办?l进入系统的口令忘了?重启路由器重启路由器按下按下Ctrl+B输入输入Bootrom密码密码选择清除密码,重启路由器选择清除密码,重启路由器修改密码修改密码口令忘了!没法配置路由器了32升级路由器升级路由器l通过Console口升级l通过FTP升级l通过TFTP升级更多的功能更多的功能更简便的配置更简便的配置33通过通过Console口升级路由器口升级路由器ConsoleBoot Menu: 1: Download application program with XMODE

14、M 2: Download application program with NET 3: Set application file type 4: Display applications in Flash 5: Clear application password 6: Start up and ignore configuration 7: Enter debugging environment 8: Boot Rom Operation Menu 9: Do not check the version of the software a: Exit and reboot 34通过通过C

15、onsole口升级路由器(续)口升级路由器(续)35通过通过FTP升级路由器升级路由器l启启动FTP服服务器功能器功能H3Cftp server enable l增加用增加用户名并名并设置密置密码 H3Clocal-user tt H3C-luser-ttservice-type ftp H3C-luser-ttpassword simple tt FTP server10.110.0.1FTP client10.110.0.2E36通过通过TFTP升级路由器升级路由器TFTP server10.110.0.1TFTP client10.110.0.2Ethernetl选择指定的以太口选择指定

16、的以太口l在配置电脑上运行在配置电脑上运行TFTP服务器程序服务器程序l指定应用程序所在的路径指定应用程序所在的路径l运行超级终端运行超级终端37通过通过TFTP升级路由器升级路由器Boot Menu: 1: Download application program with XMODEM 2: Download application program with NET 3: Set application file type 4: Display applications in Flash 5: Clear application password 6: Start up and ignor

17、e configuration 7: Enter debugging environment 8: Boot Rom Operation Menu 9: Do not check the version of the software a: Exit and reboot l路由器重启后按路由器重启后按Ctrl+Bl在在BOOT Menu下修改参数下修改参数(IP地址地址,文件名等等文件名等等)38基本操作命令基本操作命令l系统状态和系统信息查看命令:displayl调试命令:debuggingl测试工具:ping、39常用常用display命令命令l display versionl dis

18、play current-configurationl display 40display versiondis version H3C Comware Platform SoftwareComware software, Version 5.20, 1204P04, StandardCopyright(c) 2004-2007 Hangzhou H3C Technology Co., Ltd. All rights reserved.H3C AR28-31 uptime is 0 week, 0 day, 6 hours, 32 minutesLast reboot 2007/03/22 0

19、9:00:45System returned to ROM By Power-up.CPU type: FREESCALE PowerPC 8248 400MHz256M bytes SDRAM Memory4M bytes Flash MemoryPcb Version: 3.0Logic Version: 3.0Basic BootROM Version: 2.07Extend BootROM Version: 2.07SLOT 0CON (Hardware)3.0, (Driver)1.0, (Cpld)3.0SLOT 0AUX (Hardware)3.0, (Driver)1.0, (

20、Cpld)41display current-configurationH3Cdisplay current-configuration# sysname H3C# FTP server enable# local-server nas-ip 127.0.0.1 key h3c# domain default enable system#radius scheme system server-type h3c primary authentication 127.0.0.1 1645 primary accounting 127.0.0.1 1646 user-name-format with

21、out-domain#domain system access-limit disable state active#42display interface显示接口信息显示接口信息H3Cdisplay interface Serial 1/1Serial1/1 current state :UPLine protocol current state :UPDescription : Serial1/1 InterfaceThe Maximum Transmit Unit is 1500, Hold timer is 10(sec)Internet protocol processing : d

22、isabledInternet Address is 10.0.0.1/8 Link layer protocol is PPPLCP initialOutput queue : (Urgent queue : Size/Length/Discards) 0/50/0Output queue : (Protocol queue : Size/Length/Discards) 0/500/0Output queue : (FIFO queuing : Size/Length/Discards) 0/75/0Physical layer is synchronous,Baudrate is 640

23、00 bps, Interface has no cable Last 300 seconds input rate 0.00 bytes/sec, 0.00 packets/sec Last 300 seconds output rate 0.00 bytes/sec, 0.00 packets/sec Input: 0 packets, 0 bytes 0 broadcasts, 0 multicasts 0 errors, 0 runts, 0 giants 0 CRC, 0 align errors, 0 overruns 0 dribbles, 0 aborts, 0 no buff

24、ers 0 frame errors Output:0 packets, 0 bytes 0 errors, 0 underruns, 0 collisions 0 deferred DCD=UP DTR=UP DSR=UP RTS=UP CTS=UP 43terminal debuggingdebugging ? all All debugging functionsarp ARP moduleaspf ASPF moduleatm ATM modulebgp BGP modulebridge Debugging bridgedhcp DHCP moduledialer DCC module

25、dlsw Data Link Switching moduledns Domain name system module调试命令:调试命令:调试命令:调试命令:44ping: 测试命令测试命令H3Cping 11.1.1.1 PING 11.1.1.1: 56 data bytes, press CTRL_C to break Reply from 11.1.1.1: bytes=56 Sequence=0 ttl=255 time = 31 ms Reply from 11.1.1.1: bytes=56 Sequence=1 ttl=255 time = 31 ms Reply from

26、11.1.1.1: bytes=56 Sequence=2 ttl=255 time = 32 ms Reply from 11.1.1.1: bytes=56 Sequence=3 ttl=255 time = 31 ms Reply from 11.1.1.1: bytes=56 Sequence=4 ttl=255 time = 31 ms - 11.1.1.1 ping statistics - 5 packets transmitted 5 packets received 0.00% packet loss round-trip min/avg/max = 31/31/32 45t

27、racert: 测试命令测试命令H3Ctracert 10.110.201.186 traceroute to 10.110.201.186(10.110.201.186) 30 hops max,40 bytes packet 1 11.1.1.1 29 ms 22 ms 21 ms 2 10.110.201.186 38 ms 24 ms 24 46问题问题l如何通过TFTP升级路由器?l如何通过Console口配置路由器?n路由器工作原理路由器工作原理n通过通过Console口本地配置口本地配置n远程配置路由器远程配置路由器n系统视图和接口视图的常用命令系统视图和接口视图的常用命令 n升级路由器升级路由器n常用的路由器配置命令和测试命令常用的路由器配置命令和测试命令本章总结本章总结杭州华三通信技术有限公司

展开阅读全文
相关资源
正为您匹配相似的精品文档
相关搜索

最新文档


当前位置:首页 > 医学/心理学 > 基础医学

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号