锐捷路由器的配置(交换机、路由器配置步骤简要说明).doc

.DOC,交换机,路由器,配置,锐捷,材料设备
文档页数:12
文档大小:156.5KB
文档格式:doc
文档分类:材料设备
上传会员:
上传日期:
最后更新:

锐捷路由器配置 一、路由器基本配置命令 /*由远程终端登录路由器*/ RedGiant>enab Ie 由用户模式进入特权模式 Passord:******输入密码 Red-Giant#configure--由特权模式进入全局配置模式 Configuring from terminal.memory,or network[terminal]?

t--输入t 继续 RedGiant (conf ig) #hostname Router- 修改路由器名称 /*配置接口IP地址*/ Router(config)#interfacefastethernetO--进入以太网口0接口模式 Router (config-if)#ip address 192. 168. 1. 1255. 255. 255. 0--为其配置 IP 地址 Router(conf ig-if)#no shutdown--启用配置 Router(config-if)#exit--退至配置模式 Router(config)#interface fastethernet 1-进入以太网口0接口模式 Router (config-if)#ip adress 192.168.2.1255.255.255.0--为其配置 1P地址 Router (config-if)#no shutdown---启用配置 Router(config-if)#exit--退至配置模式 Router(config)#interface serial0--进入Serial0接口模式 Router(config-if)#no shutdown---启用配置 Router(config-if)#exit--退至配置模式 Router(config)#interface serial 1---进入Serial 1接口模式 Router (config-if)#ip address 192. 168. 4.1 255.255.255. 0--为其配置 IP地址 Router(config-if)#no shutdown--启用配置 Router(config-if)#end---退至特权模式 Router#write--保存配置信息 Router (config)#interface loopback O--新建 Loopback 0 Router(config-if)#ip add 10.10.1. 1255.255.255. 0--为其配置 IP地址 Router (config-if)#int loopback 1--新建 Lcoopback 1 Router (config-if)#ip add 10.10. 2.1 255.255.255. 0--为其配置 IP地址 Router(config-if#end--退至特权模式 *查看路由器相关配置信息*/
Router#showipinterfacebrief--查看配置状态 Router#showversion--显示路由器版本信息 Router#showipinterface fastethernet0---查看以太网口0接口配置状态 Routershow numning-config--显示当前运行的配置参数 Routershow startup-config-显示NVRAM中中配置参数的副本 Router#copy running-config startup-config--将当前运行的配置参数复制到NVRAM Routererase startup-config--清空NVRAM 中的配置参数 Router#reload--重新启动路由器 /*配置console登陆密码*/ Router(config)#line console 0 Router(config-line)#login Router(config-line)#password star /*配置VTY登陆密码*/ Router(config)#line vty 0 4 Router(config-line)#login Router(config-line)#password str /*配置特权模式登录密码*/ Router(config)#enable password star-- 配置明文密码 Router(config)#enable secret star--配置的密码不能与 passvord密码相同 二、路由器密码丢失的处理方法 01、关闭路由器,重新登录超级终端,按默认方法设置: 02、启动路由器,不停地按CtrlPause Break,直至出现Boot:提示符,输入Setup-Reg: Boot:Setup-Reg 03、出现如下提示信息,按“Y”回车确认: Do you wish to change the configuration?y/n[n]: 04、出现提示如下信息,按“Y”回车确认: Enable “bypass the system configure file”" y/n[n]: 05、出现提示如下信息,按“N”回车确认: Enable “debug mode?” y/n[n]: 06、出现提示如下信息,按“N”回车确认: Enable “user break/abort enabled?" y/n[n]: 07、出现提示如下信息,按“N”回车确认:
[upxds sosus 08、出现提示如下信息,按“N”回车确认: Do you wish to change the configuration?y/n[n]: 09、出现提示符“Boot:",输入Reset; Boot:reset 10、出现提示如下信息,按“N”回车确认: Would you like to enter the initial configuration dialog?[Yes]: 此时密码及路由器信息被消除,你就可以顺利进入路由器了 可以归纳为“Setup-Reg,两个Y五个N,Reset”.

三、静态路由配置 两台路由器,其中Route A(S0:192.168.3.1,F1:192.168.2.1,Loopback 1 : 12. 12. 1. 1 Loopback 2 :12.12.2. 1 ) Route B (S0 :192. 168.3. 2 F0 : 192. 168.5. 1 Loopback 3:10.10. 1. 1 Loopback 4:10.10. 2. 1) .

具体配置如下: Loop1 Loop3 PC-A OS OS PC-B FO FO Route A Route B oop2 /*登录路由器并配置FO、F1,S0,S1的IP地址*/ Router>en Password: Router#con Configuring from terminal memory or network [terminal]? t Router (conf i gi f)#ip address 192. 168. 1. 1 255. 255. 255. 0 Router(configif)#no shutdown Router (configif) #exit Router (config)#int f1 Router (configif) #ip address 192. 168. 2. 1 255. 255. 255. 0 Router (conf'igif) #no shutdown Router (configif) #exit Router (config)#int s0
Router (configif) #ip address 192. 168. 3. 1 255. 255. 255. 0 Router (configif) #no shutdown Router (configif) #exit Router (config)# Router (config)#int s1 Router (configif) #ip address 192. 168. 4. 1 255. 255. 255. 0 Router (configif) #no shutdown Router (configif) #end /*新增 Loopbackl.Loopback2并为其配置 IP地址*/ Router#con Configuring from terminal memory or network [terminal]? t Router (config) #int 1oopback 1 Router (configif) #ip address 12. 12. 1. 1 255. 255. 255. 0 Router (configif) #no shutdown Router (configif) #int 1oopback 2 Router (configif) #ip address 12. 12. 2. 1 255. 255. 255. 0 Router (configif) #no shutdown Router (configif) #exit /*指向下一跳路由器*/ Router (config)#ip route 10. 10. 1. 0 255. 255. 255. 0 192. 168. 3. 2 Router#show ip interface brief Router#interface serial 0 /*设置接口物理时钟频率*/ Router#show control serial0--查看Serial0接口型号 Router#conf igure Configuring from terminal memory or network [terminal]? t Router (config)#int s0 Router(config-if)#clockrate 64000--设置接口物理时钟频率为64Kbps(DCE) Router (configif) #no shutdown Router (config) #end /*为 Serial 0封装 PPP 协议*/ Router#configure
Configuring from terminal memory or network [terminal]? t Router (config)#int s0 Router (configif) #enca ppp- 为Serial0封装PPP协议 Router (configif) #end /*测试路由配置信息及互联互通*/ Router#show ip route Router#show ip interface brief Router#show running-config Router#Ping 192. 168. 3. 1 Router#Ping 192. 168. 3. 2 Router#Ping 10. 10. 1. 1 接下来,在另一台路由器上进行相应配置,并测试互连互通.

实验完成!

四、RIP动态路由配置 配置步骤:1、启用RIP进程:2、配置Network命令:3、配置均载负衡(代价相等): 4、配置RIP发布初始度量值.

(一)配置命令 User Access Verification Password: Router>en Password: Router#con Configuring from terminal memory or network [terminal]? t Router(config)#router rip--开启路由功能 Router(config-router)#version 2--升级至版本2 Router (config-router) #no auto-summary- 一在主类边界关闭自动汇总 Router (config-router)#network 192. 168. 1. 0--配T network 命令 Router(config-router)#maximum-paths 4--配置均衡负载,缺省值为4 Router(config-router)#default-metric 1--配置RIP发布初始度量值,建议设置为1 Router#show ip protocols-验证RIP 的配置 Router#show ip route 是示路由表的信息 Router#clear iproute-清除IP路由表的信息 Router#debugiprip--在控制台显示RIP的工作状态

资源链接请先登录(扫码可直接登录、免注册)
十年老网站,真实资源!
高速直链,非网盘分享!浏览器直接下载、拒绝套路!
本站已在工信部及公安备案,真实可信!
手机扫码一键登录、无需填写资料及验证,支持QQ/微信/微博(建议QQ,支持手机快捷登录)
①升级会员方法:一键登录后->用户中心(右上角)->升级会员菜单
②注册登录、单独下载/升级会员、下载失败处理等任何问题,请加客服微信
不会操作?点此查看“会员注册登录方法”

投稿会员:匿名用户
我的头像

您必须才能评论!

手机扫码、免注册、直接登录

 注意:QQ登录支持手机端浏览器一键登录及扫码登录
微信仅支持手机扫码一键登录

账号密码登录(仅适用于原老用户)