资源预览内容
第1页 / 共59页
第2页 / 共59页
第3页 / 共59页
第4页 / 共59页
第5页 / 共59页
第6页 / 共59页
第7页 / 共59页
第8页 / 共59页
第9页 / 共59页
第10页 / 共59页
亲,该文档总共59页,到这儿已超出免费预览范围,如果喜欢就下载吧!
资源描述
Chapter 10 路由器配置和应用,2,本章目标,路由器的功能、结构和接口 路由器的基本配置 常见广域网协议,学习本章节,您应该能够:,3,课程内容,路由器的功能、结构和接口 路由器的基本配置 常见广域网协议,4,路由器工作流程,IP,ETH,PPP,以太网口,串口,IP,PPP,ETH,串口,以太网口,协议封装,路由选择 协议转换,路由器,路由器,传送,拆包,接收,发送,工作过程,5,路由器的结构,硬件组成 CPU(处理器) RAM(存储正在运行的配置文件) FLASH(负责保存OS的映像和路由器的微码) NVRAM(保存配置件) ROM(加载OS) 接口(完成路由器与其它设备的数据交换),软件结构 BOOT ROM:主要功能是路由器加电后完成有关初始化工作,并向内存中加入操作系统代码 VRP(通用路由平台):Quidway路由器上运行的软件平台,6,VRP体系结构,7,中低端路由器发展路标,低端路由器R1600/2500,介入中低端路由器之间R1760,中端路由器 R2600/3600,增强型中端路由器 R2630E/R3600E,智能型中端路由器 R2611/2610,1996,1998,2002,2003,统一的VRP平台,2000,ADSL宽带接入路由器 4/8口语音网关,冗余电源款型 R2600-RPS/3600-RPS,2004,AR18,28,46系列路由器,Aolynk路由器,8,AR 18-1X,AR 18-2X,AR 28-0X/1X,AR 28-3X/40/80,AR 46-20/40/80,SOHO,SMB,企业分支,企业大型分支,企业中心,灵 活,性 能,业 务 性 能,Quidway AR全系列路由器,9,课程内容,路由器的功能、结构和接口 路由器的基本配置 常见广域网协议,10,AR28-31,备份口,配置口,11,配置路由器,通过console口配置 通过拨号远程配置 通过telnet方式配置 通过哑终端方式配置 通过FTP方式传送配置文件,12,通过console口配置,建立本地配置环境,配置口(Console),配置口(console)电缆,R232 串口,13,创建超级终端(II),14,选择串口(III),15,端口设置(IV),16,通过拨号线路配置路由器,将路由器和PC分别与modem连接,备份电缆,modem,modem,PSTN/ISDN,17,通过Telnet配置本地路由器,Quidway-Ethernet0/0ip address 10.0.0.100 24 缺省的telnet登录用户名:admin 口令:admin,服务器,PC,工作站,工作站,10Base-T 网口,18,通过哑终端配置,Quidway-Serial0/0physical-mode async,同/异步串口,19,通过FTP配置,在路由器上启动FTP服务器 在终端上启动FTP客户端程序,FTP server 10.110.0.1,FTP client 10.110.0.2,Ethernet,20,命令行概述,用户视图 系统视图 RIP视图 OSPF视图 BGP视图 以太网接口视图 同步串口视图 Dialer接口视图,21,进入路由器配置界面,User interface Con 0 is available. Press ENTER to get started. ,console,22,用户视图常用命令,?,23,系统视图常用命令,system-view Quidway?,24,接口视图命令,Quidwayinterface s0/0 Quidway-Serial0/0?,25,在线帮助,Quidway display ?,26,命令行错误信息,Quidwaydispaly ? % Unrecognized command found at position. Quidwaydisplay % Incomplete command found at position. Quidwaydisplay interface Serial 0/0 0 % Too many parameters found at position.,27,历史命令 display history-command 补全命令 使用Tab键 查看历史记录 使用 键 使用Ctrl P快捷键,历史命令,28,编辑特性,普通按键 输入字符到当前光标位置 退格键BackSpace 删除光标位置的前一个字符 删除键Delete 删除光标位置字符 左光标键 光标向左移动一个字符位置 右光标键 光标向右移动一个字符位置 上下光标键 显示历史命令,29,Language 中英文显示方式切换 暂停显示时键入Ctrl+c 停止显示和命令执行 暂停显示时键入空格键 继续显示下一屏信息 暂停显示时键入回车键 继续显示下一行信息,显示特性,30,状态查看命令 display version display current-configuration display interface display ip route,基本操作命令,31,display version,Quidwaydisplay version Copyright Notice: All rights reserved (Apr 08 2005). Without the owners prior written consent, no decompiling nor reverse-engineering shall be allowed. Huawei-3Com Versatile Routing Platform Software VRP(R) software, Version 3.40, Release RT-0009 Copyright (c) 2003-2005 Hangzhou Huawei-3Com Tech. Co.,Ltd. All rights reserved . Copyright (c) 2000-2003 Huawei Tech. Co.,Ltd. All rights reserved. Quidway AR28-11 uptime is 0 week, 0 day, 0 hour, 1 minute CPU type: PowerPC 8241 200MHz 128M bytes SDRAM Memory 32M bytes Flash Memory Pcb Version:1.0 Logic Version:1.0 BootROM Version:9.09 SLOT 0 AUX (Hardware)1.0, (Driver)1.0, (Cpld)1.0,32,display current-configuration,Quidwaydisplay current-configuration # sysname Quidway # FTP server enable # local-server nas-ip 127.0.0.1 key huawei # domain default enable system # radius scheme system server-type huawei primary authentication 127.0.0.1 1645 primary accounting 127.0.0.1 1646 user-name-format without-domain # domain system access-limit disable state active #,33,display interface显示接口信息,Quidwaydisplay interface Serial 1/1 Serial1/1 current state :UP Line protocol current state :UP Description : Serial1/1 Interface The Maximum Transmit Unit is 1500, Hold timer is 10(sec) Internet protocol processing : disabled Internet Address is 10.0.0.1/8 Link layer protocol is PPP LCP initial Output queue : (Urgent queue : Size/Length/Discards) 0/50/0 Output queue : (Protocol queue : Size/Length/Discards) 0/500/0 Output queue : (FIFO queuing : Size/Length/Discards) 0/75/0 Physical layer is synchronous,Baudrate is 64000 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 buffers 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,34,Quidway interface serial 0/0 Quidway-serial0/0 undo shutdown,开启或关闭端口,开启已经关闭的端口,Quidway interface serial 0/0 Quidway-serial 0/0 shutdown,人工关闭端口,35,解读端口状态,Quidwaydisplay interface serial 0/0 physical layer is synchronous, baudrate is 64000 bps, no cable Link-protocol is PPP LCP initial, IPCP initial, IPXCP initial, CCP initial,line protocol is down,Serial0/0 is down,物理层组件的状态,数据链路层的状态,36,display ip routing-table,Quidwaydis ip routing-table Routing Tables: Destination/Mask proto pref Metric Nexthop Interface 0.0.0.0/0 Static 60 0 120.0.0.2 Serial0 8.0.0.0/8 RIP 100 3 120.0.0.2 Serial0 9.0.0.0/8 OSPF 10 50
收藏 下载该资源
网站客服QQ:2055934822
金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号