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

锐捷路由器的配置(交换机、路由器配置步骤简要说明).doc文档页数:12文档大小:156.5KB文档格式:doc 锐捷路由器的配置 一、路由器基本配置命令 /*由远程终端登录路由器*/ RedGiant>enab Ie 由用户模式进入特权模式 Passord:******输入密码 Red-Giant#configure--由特权...

锐捷路由器的配置(交换机、路由器配置步骤简要说明).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. 2F0 : 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 terminalmemoryor 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 terminalmemoryor 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 terminalmemoryor 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 terminalmemoryor 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 terminalmemoryor 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的工作状态

本文来自孤浪王者投稿,不代表文丁图集立场,如若转载,请注明出处:https://www.2b34.com/blog/81662.html

打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
() 0
上一篇 01-06
下一篇 01-09

相关推荐

  • H3C防火墙配置说明.docx

    H3C防火墙配置说明.docx文档页数:28文档大小:457.83KB文档格式:docxH3C防火墙配置说明 H3C ITolP解决方案专家 杭州华三通信技术有限公司 All rights reserved 相关配置方法: 安全要求-设备-路 设备应支持路由协议(OSPF/ISIS/BGP 待确认 支持 由器-功能-14 等)认证,认证

    2025-09-10 17:24:01
    753 0
  • 锐捷路由器配置手册.doc

    锐捷路由器配置手册.doc文档页数:85文档大小:972.5KB文档格式:doc 锐捷路由器配置手册(共78页) 本页仅作为预览文档封面,使用时请删除本页 锐捷路由器配置手册 目录: 路由器基础: 路由器的几种配置方法 控制台 远程登录 其它配置方法 金令行(CLI)操作 命令模式 命令

    2025-07-25 02:48:01
    293 0
  • 变压器保护配置及运行规定详细讲解.ppt

    变压器保护配置及运行规定详细讲解.ppt文档页数:56文档大小:1.52MB文档格式:ppt变压器保护配置及运行规定2018年1月(一)变压器保护的基本要求(二)变压器保护配置(三)变压器保护运行规定(一)变压器保护的基本要求1.在变压器发生故障时能将其与电源断开.2.在母线或其

    2025-07-03 22:40:01
    898 0
  • HP服务器性能、配置介绍.ppt.ppt

    HP服务器性能、配置介绍.ppt.ppt文档页数:30文档大小:1.58MB文档格式:pptHP服务器设备 配置介绍 HP服务器 小型机 DL380G6等 刀片设备 c7000 BL460G6等 HPDL380G6-基本参数 处理器系列 英特尔?至强?5500系列 网络控制器 (2)个1GbENC382i多功能双端口 驱动器 16个SFFSAS/S

    2025-06-24 00:40:01
    115 0

评论列表

联系我们

在线咨询: QQ交谈

邮件:admin@qq.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信