路由器配置基础及科技网.ppt
《路由器配置基础及科技网.ppt》由会员分享,可在线阅读,更多相关《路由器配置基础及科技网.ppt(97页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、路由器配置基础及科技网路由器配置基础及科技网网络介绍网络介绍中国科技网技术部 陈江宁内容介绍路由器配置介绍路由器配置介绍路由器基础知识介绍路由器基础知识介绍监控与故障诊断监控与故障诊断 基本测试方法基本测试方法设备配置存取及其备份设备配置存取及其备份路由器启动顺序及密码恢复路由器启动顺序及密码恢复保护保护Internet连接安全连接安全中国科技网介绍中国科技网介绍中国科技网的结构简介中国科技网的结构简介中国科技网网络设备简介中国科技网网络设备简介国内外出口简介国内外出口简介网络管理简介网络管理简介路由器基础知识介绍外部配置的途径Router各种模式配置模式配置模式及方法配置模式及方法主要内容外
2、部配置的途径可以通过各种途径进行配置Console PortNetwork ManagementStationvty 0-4VirtualTerminalsInterfacesAuxiliary PortTFTP ServerRouterUser EXEC Mode只限于路由器的某一些有限的权限登录到机器的缺省状态Router#Privileged EXEC Mode有检查,配置,调试等所有权限通过enable可进入此状态Setup Mode初始配置状态以对话的方式来创建一个基本配置才出厂的机器或删了startup-config的机器开机后自动进入或手动用setup命令进入Router(con
3、fig)#Global Configuration Mode全局配置状态在特权执行态输入configterminalOther Configuration ModesRouter(config-mode)#开机后60秒内按ctrl+break键则进入该态在机器不能正常自动引导时进行RXBOOT ModeRouter模式其他的配置状态在特权执行状态输入相应的命令时进入.Router(config)#RouterRouter#Other Configuration ModesExit路由器配置模式综述UserEXECmodePrivilegedEXECmodeGlobalconfiguration
4、modeInterfaceSubinterfaceControllerMap-listMap-classLineRouterIPX-routerRoute-mapConfiguration ModeRouter(config-if)#Router(config-subif)#Router(config-controller)#Router(config-map-list)#Router(config-map-class)#Router(config-line)#Router(config-router)#Router(config-ipx-router)#Router(config-route
5、-map)#Prompt基本的路由器设置步骤一:配置主机名;步骤二:在路由器上设置口令;步骤三:在路由器的接口上配置IP地址;步骤四:在路由器上配置路由协议;步骤五:配置路由器串行接口参数;步骤六:激活接口,检查网络的连通性;步骤七:创建IP主机表;步骤八:配置“noipdomain-lookup”;步骤九:利用CDP协议查看与该路由器相连的网络设备基本的路由器设置(续)步骤十:显示路由器上的IP路由表,检查网络的连通性,应确认能够成功的ping通网络中其他的路由器;步骤十一:检查路由器的路由表,并通过“showipprotocols”检查路由器的协议配置;步骤十二:诊断网络利用debug等命
6、令来捕获路由更新信息;步骤十三:利用showversion查看CiscoIOS版本和路由器的类型;步骤十四:保存路由器的配置;配置路由器的标示Router NameRouter(config)#hostname TokyoTokyo#Login BannerTokyo(config)#banner motd CWelcome to router TokyoAccounting Department3rd Floor C#Interface DescriptionTokyo(config)#interface e 0Tokyo(config-if)#description Engineering
7、 LAN,Bldg.18为路由器及其端口配置标示信息配置密码Router(config)#line console 0Router(config-line)#exec-timeout 15 0Router(config-line)#loginRouter(config-line)#password ciscoConsole Password Virtual Terminal Password Router(config)#line vty 0 4Router(config-line)#login Router(config-line)#password ciscoEnable Password
8、 Router(config)#enable secret san-franPerform Password EncryptionRouter(config)#service password-encryption(set passwords here)Router(config)#no service password-encryptionRouter(config-if)#分配地址和掩码针对端口配置IP地址设定允许使用子网掩码配置IP地址ip address ip-address subnet-maskRouter(config)#ip subnet-zeroRouter(config)#
9、ip classless定义静态ARP缓存Arp ip-address hardware-address type aliasARP 封装类型封装类型 Arp arpa:IEEE 802.3 Ethernet(缺省值)Arp probe:IEEE 802.3网络的HP-Probe协议Arp snap:支持RFC 1402的FDDI和令牌环网络的arp报文提供有主机名到IP地址的解析Router(config)#使用DNS服务ip name-server server-address1 server-address2.server-address6 ip domain-lookupBOOTSYS
10、TEM列表从flash启动系统从网络服务器启动系统从ROM启动系统(Cisco7500上BOOTFLASH)Router(config)boot system flash:rsp-IOSRouter(config)boot system flash slot0:rsp-IOSRouter(config)config-register 0 x010FRouter(config)boot system romRouter(config)boot system flash slot1:rsp-IOSRouterwrRouterreloadDefinesapathtoanIPdestinationne
11、tworkorsubnetip route network mask address|interface distance Router(config)#配置静态路由举例:静态路由Cisco A172.16.1.0 Cisco BE0S0S1S2S0Make changes in configuration modes修改配置修改配置Examine results检查结果检查结果Router#show running-configIntendedresults?No修改现有配置修改现有配置Router(config)#no.Router#config memRouter#copy tftp r
12、unning-configRouter#erase startup-configRouter#reloadYesSave changes to backup保存配置保存配置Router#copy running-config startup-configRouter#copy running-config tftpExamine backup file检查备份配置检查备份配置Router#show startup-config配置修改后的保存监控与故障诊断 RouterA#show versionCisco Internetwork Operating System SoftwareIOS(t
13、m)2500 Software(C2500-JS40-L),Version 11.2(5),RELEASE SOFTWARE(fc1)Copyright(c)1986-1997 by cisco Systems,Inc.Compiled Tue 01-Apr-97 09:12 by ckralikImage text-base:0 x0303F9A8,data-base:0 x00001000ROM:System Bootstrap,Version 5.2(8a),RELEASE SOFTWAREROM:3000 Bootstrap Software(IGS-RXBOOT),Version 1
14、0.2(8a),RELEASE SOFTWARE(fc1)RouterA uptime is 1 day,5 hours,50 minutesSystem restarted by reloadSystem image file is flash:c2500-js40-l.112-5.bin,booted via flash-More-show version 命令Router#show running-configBuilding configuration.Current configuration:!version 11.2!-More-Router#show startup-confi
15、gUsing 1108 out of 130048 bytes!version 11.2!hostname router-More-show running-config 命令show startup-config 命令Usewrite terminalwithRelease10.3andearlierUseshow configwithRelease10.3andearlierRouter#show interface serial 1Serial1 is up,line protocol is up Hardware is cxBus Serial Description:56Kb Lin
16、e San Jose-MP :Operational.Connection Problem.Interface Problem.Disabled.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激活信号激活信号Keepalives载波信号载波信号Carrier Detectshow interfaceserial清除show i
17、nterface中的计数器Router#clear countersRouter#show interface serial 1Serial1 is up,line protocol is up Hardware is cxBus Serial Description:56Kb Line San Jose-MP Internet address is 150.136.190.203,subnet mask is 255.255.255.0 MTU 1500 bytes,BW 56 Kbit,DLY 20000 usec,rely 255/255,load 1/255 Encapsulation
18、 HDLC,loopback not set,keepalive set(10 sec)Last input 0:00:07,output 0:00:00,output hang never Last clearing of show interface counters 2w4d Output queue 0/40,0 drops;input queue 0/75,0 drops Five minute input rate 0 bits/sec,0 packets/sec Five minute output rate 0 bits/sec,0 packets/sec 16263 pack
19、ets input,1347238 bytes,0 no buffer Received 13983 broadcasts,0 runts,0 giants 2 input errors,0 CRC,0 frame,0 overrun,0 ignored,2 abort 0 input packets with dribble condition detected 22146 packets output,2383680 bytes,0 underruns 0 output errors,0 collisions,2 interface resets,0 restarts 1 carrier
20、transitionsRouter show ip routeCodes:C-connected,S-static,I-IGRP,R-RIP,M-mobile,B-BGP D-EIGRP,EX-EIGRP external,O-OSPF,IA-OSPF inter area E1-OSPF external type 1,E2-OSPF external type 2,E-EGP i-IS-IS,L1-IS-IS level-1,L2-IS-IS level-2,*-candidate defaultGateway of last resort is not set 144.253.0.0 i
21、s subnetted(mask is 255.255.255.0),1 subnetsC 144.253.100.0 is directly connected,Ethernet1R 133.3.0.0 R 153.50.0.0 120/1 via 183.8.128.12,00:00:09,Ethernet0 183.8.0.0 is subnetted(mask is 255.255.255.128),4 subnetsR 183.8.0.128 120/1 via 183.8.128.130,00:00:17,Serial0 120/1 via 183.8.64.130,00:00:1
22、7,Serial1C 183.8.128.0 is directly connected,Ethernet0C 183.8.64.128 is directly connected,Serial1C 183.8.128.128 is directly connected,Serial0R 192.3.63.0 列出IP路由表Router show ip protocolRouting Protocol is igrp 300 Sending updates every 90 seconds,next due in 55 seconds Invalid after 270 seconds,hol
23、d down 280,flushed after 630 Outgoing update filter list for all interfaces is not set Incoming update filter list for all interfaces is not set Default networks flagged in outgoing updates Default networks accepted from incoming updates IGRP metric weight K1=1,K2=0,K3=1,K4=0,K5=0 IGRP maximum hopco
24、unt 100 IGRP maximum metric variance 1 Redistributing:igrp 300 Routing for Networks:183.8.0.0 144.253.0.0 Routing Information Sources:Gateway Distance Last Update 144.253.100.1 100 0:00:52 183.8.128.12 100 0:00:43 183.8.64.130 100 0:01:02 Distance:(default is 100)-More-show ip protocol命令RAMInternetw
25、ork Operating SystemProgramsTables and BuffersActiveConfigurationFileBackupConfigurationFileOperating SystemsInterfacesRouter状态检查命令Router#show versionFlashRouter#show processes CPURouter#show protocolsRouter#show memRouter#show stacksRouter#show buffersRouter#show flashRouter#show running-configRout
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 路由器 配置 基础 科技
限制150内