南宁市教育城域网项目路由器基本配置培训神州数码网络有限公司2007年3月实验一:登陆路由器一、实验目的1、学习如何通过CONSOLE接口配置路由器2、学习如何通过telnet 方式配置路由器3、学习如何配置路由器的接口4、学习如何配置路由器的enable密码和telnet 用户名和密码5、保存配置二、应用环境1、设备的初始设备一般都是通过CONSOLE接口进行。
2、给相应的接口配置了IP地址,开启了相应的服务后,才可以通过telnet的方式管理路由器。
三、实验设备1、DCR-2626一台2、PC机一台3、CONSOLE线缆一条,网线一条四、实验拓扑串口RS-232 CONSOLE 口网卡网线TP0五、实验要求TP0 IP地址:192.168.2.1 PC机IP地址:192.168.2.2六、实验步骤1、CONSOLE管理第一步:将配置线的一端与路由器的CONSOLE口相连,另一端与PC机的串口相连,如上图所示。
第二步:在PC机上运行终端仿真程序,同时设置终端的硬件参数。
(1)打开超级终端(2)设置连接名称(3)选择连接的接口,一般情况下为COM1(4)点击“还原默认值”设置端口属性,点击“确定”进入超级终端。
第三步:路由器加电,超级终端会显示路由器的自检信息,自检结束出现命令提示“Press RETURN to get started”System Bootstrap, Version 0.4.4Serial num:8IRTC8107209000024, ID num:501926Copyright 2006 by Digital China Networks(BeiJing) LimitedDCR-2626 Series 2626Loading DCR26V1.3.3C.bin......Start Decompress DCR26V1.3.3C.bin########################################################################### ########################################################################### ########################################################################### ########################################################################### ########################################################################### ########################################################################### ########################################################################### ########################################################################### ########################################################################### ########################################################################### ########################################################################### ###################################################Decompress 4850012 byte,Please wait system up..Digitalchina Internetwork Operating System SoftwareDCR-2626 Series Software , Version 1.3.3C, RELEASE SOFTWARESystem start up OKRouter console 0 is now availablePress RETURN to get startedJan 1 00:00:07 Router System started --Jan 1 00:00:16 Line on Interface Serial0/1, changed to downJan 1 00:00:16 Line on Interface Serial0/2, changed to down第四步:按回车键进入用户配置模式。
DCR-2626路由器出厂时没有设置密码,输入enable , 按回车键进入特权模式。
需要帮助可以随时键入“?”查看命令。
Welcome to DCR Multi-Protocol 2626 SeriesRouter>ena -----进入特权模式Router#Jan 1 00:09:19 Unknown user enter privilege mode from console 0, level = 15Router#? -----查看可用命令cd -- Change directorychinese -- Help message in Chinesechmem -- Change memory of systemchram -- Change memoryclear -- Clear somethingconfig -- Enter configurative modeconnect -- Open a outgoing connectioncopy -- Copy configuration or image datadebug -- Debugging functionsdelete -- Delete a filedir -- List files in flash memorydisconnect -- Disconnect an existing outgoing network connection download -- Download with ZMODEMenable -- Turn on privileged commandsenglish -- Help message in Englishenter -- Turn on privileged commandsexec-script -- Execute a script on a port or lineexit -- Exit / quitformat -- Format file systemhelp -- Description of the interactive help systemhistory -- Look up historykeepalive -- Keepalive probelook -- Display memorymd -- Create directorymore -- Display the contents of a fileno -- Negate configurationpad -- Login to remote node using X.29ping -- Test network statuspwd -- Display current directoryrd -- Delete a directoryreboot -- Restart routerrename -- Rename a fileresume -- Resume an active outgoing network connection rlogin -- Open a rlogin connectionshow -- Show configuration and statustelnet -- Open a telnet connectionterminal -- Set terminal line parameterstraceroute -- Trace route to destinationupload -- Upload with ZMODEMwhere -- Display all outgoing telnet connectionwrite -- Save current configurationRouter#Chinese ----- 设置中文帮助Router#? ----- 再次查看可用命令cd -- 改变当前目录chinese -- 中文帮助信息chmem -- 修改系统内存数据chram -- 修改内存数据clear -- 清除config -- 进入配置态connect -- 打开一个向外的连接copy -- 拷贝配置方案或内存映像debug -- 分析功能delete -- 删除一个文件dir -- 显示闪存中的文件disconnect -- 断开活跃的网络连接download -- 通过ZMODEM协议下载文件enable -- 进入特权方式english -- 英文帮助信息enter -- 进入特权方式exec-script -- 在指定端口运行指定的脚本exit -- 退回或退出format -- 格式化文件系统help -- 交互式帮助系统描述history -- 查看历史keepalive -- 保活探测look -- 显示内存数据md -- 创建目录more -- 显示某个文件的内容no -- 取消配置pad -- 通过X.29注册到远程节点ping -- 测试网络状态pwd -- 显示当前目录rd -- 删除一个目录reboot -- 重启动路由器rename -- 改变文件名resume -- 恢复活跃的网络连接rlogin -- 远程登录show -- 显示配置和状态telnet -- 打开一个telnet连接terminal -- 设置终端参数traceroute -- 跟踪到目的地的路由upload -- 通过ZMODEM协议上载文件where -- 显示所有向外的telnet连接write -- 保存当前配置2、通过telnet方式管理路由器第一步:设置路由器以太网接口地址并验证。