文档介绍:锐捷路由器的配置一、路由器基本配置命令/*由远程终端資录路由器*/Red-Giant>enable 山用户模式进入特权模式Password:****** 输入密码Red-Giant#configure 由特权模式进入全局配置模式ConfiguringfromterminaI,memory,work[terminal]?t 输入t继续Red-Giant(config)#hostnameRouter 修改路由器名称/*配置接口IP地址*/Router(config)#0 进入以太网口0接口模式Router(config-if)# 为其配置IP地址Router(config-if)#noshutdown 启用配置Router(config-if)#exit 退至配置模式Router(config)#1 进入以太网口0接口模式Router(config-if)#——为其配置IP地址Router(config-if)#noshutdown 启用配置Router(config-if)#exit 退至配置模式Router(config)#interfaceseriaI0 进入Serial0接口模式Router(config-if)#——为其配置IP地址Router(config-if)#noshutdown 启用配置Router(config-if)#exit 退至配置模式Router(config)#interfaceseriaI1 进入Serial1接口模式Router(config-if)#——为其配置IP地址Router(config-if)#noshutdown 启用配置Router(config-if)#end 退至特权模式Router#write 保存配置信息Router(config)#interfaceIoopback0 豹建Loopback0Router(config-if)#——为其配置IP地址Router(config-if)#intIoopback1 新建Loopback1Router(config-if)#——为其配置IP地址Router(config-if)#end 退至特权模式/*查看路由器相关配置信息*/Router#showipinterfacebrief 查看配置状态Router#showversion 显示路由器版本信息Router#0 查看以太网口()接口配置状态Router#showrunning-config 显示当前运彳亍的配置参数Router#showstartup-config 显示NVRAM中中配置参数的副本Routcr#copyrunning-configst""叩-config 将'"l前运行的配置参数复制到NVRAMRouier#erasestartup-config 清空NVRAH中的配置参数Router#reload 重新启动路山器/*配置console登陆密码*/Router(config)#lineconsole0Router(config-line)#loginRouter(config-line)#passwordstar/*配置VTY登陆密码*/Router(config)#linevty04Router(config-line)#loginRouter(config-line)#passwordstar/*配置特权模式資录密码*/Router(config)#enablepasswordstar——配置明文密码Router(config)#enablesecretstar 配置的密码不能与password密码相R]二、路由器密码丢失的处理方法01、关闭路由器,重新登录超级终端,按默认方法设置;02>启动路由器,不停地按Clrl+PauseBreak,直至出现Boot:提示符,输入Setup-Reg;Boot:Setup-Reg03、出现如下提示信息,按“Y”回车确认:Doyouwishtochangetheconfiguration?y/n[nj:04、出现提示如下信息,按“Y”回车确认:Enableubypassthesystemconfigurey/n[n]:05、出现提示如下信息,按“N”回车确认:Enable"debugmode?”y/n[n]:06、出现提示如下信息,按“N”回车确认:Ena