Router 26系列恢复口令
路由器口令破解System Bootstrap, Version 12.1(3r)T2, RELEASE SOFTWARE (fc1)Copyright (c) 2000 by cisco Systems, Inc.C2600 platform with 65536 Kbytes of main memoryPC = 0xfff0ab6c, Vector = 0x500, SP = 0x80004884 monitor: command "boot" aborted due to user interrupt rommon 1 > ?alias set and display aliases command boot boot up an external process break set/show/clear the breakpoint confreg configuration register utility cont continue executing a downloaded imagecontext display the context of a loaded imagecookie display contents of cookie PROM in hexdev list the device tabledir list files in file systemdis display instruction streamdnld serial download a program module frame print out a selected stack frame help monitor builtin command help history monitor command historymeminfo main memory informationrepeat repeat a monitor commandreset system resetset display the monitor variables stack produce a stack tracesync write monitor environment to NVRAM sysret print out info from last system returntftpdnld tftp image downloadunalias unset an aliasunset unset a monitor variable xmodem x/ymodem image downloadrommon 2 > confreg 0x2142You must reset or power cycle for new config to take effectrommon 3 > resetSystem Bootstrap, Version 12.1(3r)T2, RELEASE SOFTWARE (fc1)Copyright (c) 2000 by cisco Systems, Inc.C2600 platform with 65536 Kbytes of main memoryprogram load complete, entry point: 0x80008000, size: 0x8a7f8cSelf decompressing the image : #################################################### ######################################################################################################## #################################################### #################################################### #################################################### #################################################### #################################################### #################################################### #################################################### #################################################### #################################################### #################################################### #################################################### #################################################### #################################################### #################################################### #################################################### ############################################### [OK]Restricted Rights LegendUse, duplication, or disclosure by the Government is subject to restrictions as set forth in subparagraph (c) of the Commercial Computer Software - Restricted Rights clause at FAR sec. 52.227-19 and subparagraph (c) (1) (ii) of the Rights in Technical Data and Computer Software clause at DFARS sec. 252.227-7013.cisco Systems, Inc.170 West Tasman DriveSan Jose, California 95134-1706Cisco Internetwork Operating System SoftwareIOS (tm) C2600 Software (C2600-JS-M), Version 12.1(2), RELEASE SOFTWARE (fc1)Copyright (c) 1986-2000 by cisco Systems, Inc.Compiled Mon 08-May-00 15:27 by lindaImage text-base: 0x80008088, data-base: 0x80F79FA8cisco 2620 (MPC860) processor (revision 0x200) with 53248K/12288K bytes of memory.Processor board ID JAD05076A9G (1778598532)M860 processor: part number 0, mask 49Bridging software.X.25 software, Version 3.0.0.SuperLAT software (copyright 1990 by Meridian Technology Corp).TN3270 Emulation software.1 FastEthernet/IEEE 802.3 interface(s)1 Serial network interface(s)32K bytes of non-volatile configuration memory.16384K bytes of processor board System flash (Read/Write)--- System Configuration Dialog ---Would you like to enter the initial configuration dialog? [yes/no]: NOPress RETURN to get started!Router>Router>enableRouter#sh runBuilding configuration...Current configuration:!version 12.1service timestamps debug uptime service timestamps log uptime no service password-encryption !hostname Router!!!!!!ip subnet-zero!lane client flushcns event-service server!!!!!interface FastEthernet0/0 no ip addressshutdownduplex autospeed auto!interface Serial0/0 no ip addressshutdown!ip classlessno ip http server!!!line con 0transport input noneline aux 0line vty 0 4!no scheduler allocateendRouter#Router#sh startup-configUsing 816 out of 29688 bytes!! Last configuration change at 17:19:58 UTC Sun Apr 10 2005! NVRAM config last updated at 17:20:24 UTC Sun Apr 10 2005!version 12.1service timestamps debug uptimeservice timestamps log uptimeno service password-encryption!hostname router1!enable secret 5 $1$lJli$4sPmCuuMHKjGpHW1jJwkk0enable password 789654 !!!!!ip subnet-zero!lane client flushcns event-service server !!!!!interface FastEthernet0/0ip address 192.168.1.100 255.255.255.0 speed autohalf-duplexno mop enabled!interface Serial0/0no ip addressshutdown!ip classlessno ip http server!dialer-list 1 protocol ip permit dialer-list 1 protocol ipx permit !!line con 0password ciscologintransport input none line aux 0password ciscologinline vty 0 4password ciscologin!no scheduler allocateendRouter#Router#Router#copy startup-config running-config Destination filename [running-config]? 816 bytes copied in 0.884 secsrouter1#router1#sh running-configBuilding configuration...Current configuration:!version 12.1service timestamps debug uptimeservice timestamps log uptimeno service password-encryption!hostname router1!enable secret 5 $1$lJli$4sPmCuuMHKjGpHW1jJwkk0 enable password 789654!!!!ip subnet-zero!lane client flushcns event-service server !!!!interface FastEthernet0/0ip address 192.168.1.100 255.255.255.0 shutdownspeed autohalf-duplexno mop enabled!interface Serial0/0no ip addressshutdown!ip classlessno ip http server!dialer-list 1 protocol ip permit dialer-list 1 protocol ipx permit !!line con 0password ciscologintransport input none line aux 0password ciscologinline vty 0 4password ciscologin!endrouter1#router1#conf tEnter configuration commands, one per line. End with CNTL/Z.router1(config)#router1(config)#enable secret ciscorouter1(config)#enable password 12345router1(config)#line con 0router1(config-line)#loginrouter1(config-line)#password ciscorouter1(config-line)#exitrouter1(config)#line aux 0router1(config-line)#loginrouter1(config-line)#password ciscorouter1(config-line)#exitrouter1(config)#line vty 0 4router1(config-line)#loginrouter1(config-line)#password ciscorouter1(config-line)#exitrouter1(config)#exitrouter1#00:05:42: %SYS-5-CONFIG_I: Configured from console by consolerouter1#router1#router1#copy running-config startup-configDestination filename [startup-config]?Building configuration...[OK]router1#show versionCisco Internetwork Operating System SoftwareIOS (tm) C2600 Software (C2600-JS-M), Version 12.1(2), RELEASE SOFTWARE (fc1)Copyright (c) 1986-2000 by cisco Systems, Inc.Compiled Mon 08-May-00 15:27 by lindaImage text-base: 0x80008088, data-base: 0x80F79FA8ROM: System Bootstrap, Version 12.1(3r)T2, RELEASE SOFTWARE (fc1)router1 uptime is 6 minutesSystem returned to ROM by power-on at 08:07:01 china Mon Mar 1 1993System image file is "flash:c2600-js-mz.121-2.bin"cisco 2620 (MPC860) processor (revision 0x200) with 53248K/12288K bytes of memory.Processor board ID JAD05076A9G (1778598532)M860 processor: part number 0, mask 49Bridging software.X.25 software, Version 3.0.0.SuperLAT software (copyright 1990 by Meridian Technology Corp).TN3270 Emulation software.1 FastEthernet/IEEE 802.3 interface(s)1 Serial network interface(s)32K bytes of non-volatile configuration memory.16384K bytes of processor board System flash (Read/Write)router1#conf tEnter configuration commands, one per line. End with CNTL/Z.router1(config)#router1(config)#router1(config)#config-register 0x2102router1(config)#exitrouter1#show versionCisco Internetwork Operating System SoftwareIOS (tm) C2600 Software (C2600-JS-M), Version 12.1(2),RELEASE SOFTWARE (fc1)Copyright (c) 1986-2000 by cisco Systems, Inc. Compiled Mon 08-May-00 15:27 by lindaImage text-base: 0x80008088, data-base: 0x80F79FA8ROM: System Bootstrap, Version 12.1(3r)T2, RELEASE SOFTWARE (fc1)router1 uptime is 6 minutesSystem returned to ROM by power-on at 08:07:01 china Mon Mar 1 1993System image file is "flash:c2600-js-mz.121-2.bin"cisco 2620 (MPC860) processor (revision 0x200) with 53248K/12288K bytes of memory.Processor board ID JAD05076A9G (1778598532)M860 processor: part number 0, mask 49Bridging software.X.25 software, Version 3.0.0.SuperLAT software (copyright 1990 by Meridian Technology Corp).TN3270 Emulation software.1 FastEthernet/IEEE 802.3 interface(s)1 Serial network interface(s)32K bytes of non-volatile configuration memory.16384K bytes of processor board System flash (Read/Write)next reload)router1#RELOAD。
router命令用法 -回复
router命令用法-回复Router命令用法在计算机网络中,路由器(Router)是一种用于在多个网络之间转发数据包的设备。
它根据网络数据包的IP地址进行转发,帮助网络中的设备互相通信。
为了管理和配置路由器,我们需要使用一些特定的命令。
在本文中,我们将一步一步地回答有关路由器命令用法的问题。
一、什么是路由器命令?路由器命令是一些用于配置和管理路由器的指令。
通过使用这些命令,我们可以设置路由器接口、静态路由和其他网络参数,以确保网络正常运行。
二、如何访问路由器命令行界面?要访问路由器的命令行界面,我们需要使用一台连接到路由器的计算机。
我们可以通过以下步骤来实现:1. 连接计算机和路由器:使用网线连接计算机和路由器的以太网接口。
确保连接正确。
2. 打开终端程序:在计算机上打开终端程序,例如Windows系统中的命令提示符或Linux系统中的终端。
3. 输入路由器IP地址:在终端中键入路由器的IP地址,并按下Enter键。
4. 输入登录凭据:输入路由器的登录凭据,包括用户名和密码。
这些凭据通常位于路由器的背面或随附的文档中。
5. 进入命令行界面:一旦成功登录,我们将进入路由器的命令行界面,可以开始执行路由器命令。
三、路由器命令的常用用法:以下是一些常见的路由器命令及其用法:1. "enable"命令:此命令用于进入特权模式,以便进行高级操作。
在登录后输入"enable"命令,然后输入特权密码,即可进入特权模式。
2. "configure terminal"命令:此命令用于进入全局配置模式。
在特权模式下输入该命令,以便进行路由器配置。
3. "interface"命令:此命令用于配置路由器接口。
我们可以使用"interface"命令后跟接口名称(例如“interface GigabitEthernet0/0/1”)来进入特定接口的配置模式。
路由器口令恢复
CISCO路由器口令恢复本人在管理本机关局域网和系统广域网时,碰到过一次由于一段时间在外学习回到单位后,发现路由器的口令忘记而又没有记录下来的情形,当然经过一番周折最终解决了问题.现在将该过程归纳总结,希望对各位同仁能有所帮助.下面这段文字解释了关于CISCO路由器或交换机几种恢复口令的方法,可以在大多数不改变硬件跳线的情况下完成口令的恢复,但是所有情况都需要重新启动路由器.口令恢复仅仅能够从物理Console口连到路由器上才可以做到.当路由器的口令不幸被忘记或丢失,可以通过查看、改变口令而恢复口令,如果是新设备则可以删除原有配置重新开始.每种口令恢复方法大致有以下几个基本步骤:1.不读内存重启路由器进行配置,这种有时被称为测试系统模式、ROM 模式或boot引导模式;2.重新启动系统;3.进入特权模式如你在测试系统模式,没有口令可以进入;4.查看、改变口令或删除原配置;5.象平常一样重新配置路由器后引导;6.重新启动系统.有时在进行口令恢复时需要终端给出一个BREAK信号,这要求你必须熟悉终端或PC仿真终端怎样给出这个信号.例如:Alt+B可产生一个BREAK 信号,在Windows终端上按Break或Ctrl+Break,Windows终端上也可以定义一个作为BREAK功能键,通过按功能键来获得一个BREAK信号,选择特定字符^$BShift 6, Shift 4,和大写字母B定义一个作为BREAK信号.下面详细介绍给定Cisco路由器的口令恢复方法.口令恢复方法一可采用该方法的相关设备有Cisco 2000系列,Cisco 2500系列,Cisco 3000系列,基于680x0 Cisco 4000系列以及在ROM中运行Cisco IOS 以上版本的 Cisco 7000系列.而对于Cisco 7000和Cisco 7010的路由器而言,这种方法仅当Cisco 7000和Cisco 7010的路由器安装了RP卡时才能用.它可以引导Cisco闪存IOS 软件,但需要处理器卡上的实际ROM.1. 连接路由器的console口到终端或PC仿真终端.用无modem的直连线连接PC的串行口到路由器的console口;2. 用show version命令显示并记录配置寄存器的值,通常为0x2102或0x102.如果用show version命令不能获得有关提示,可以查看类似的路由器来获得配置寄存器的值或用0x2102试试;3.关闭路由器的电源,然后再打开;4.在启动的前60秒内按Break键,你将会看到“〉”提示符无路由器名,如果没有看到“〉”提示符,说明你没有正确发出Break信号,这时可检查终端或仿真终端的设置;5.在“〉”提示符下键入 o/r 0x42从Flash memory中引导或键入o/r 0x41从ROM中引导注意:这里“o”是小写字母“O”.如果它有Flash 且原封没动过,0x42是最好的设置,因为它是缺省值,仅当Flash被擦除或没有安装时使用0x41.如果用0x41,你可以查看或删除原配置,但你不能改变口令;6. 在“〉”提示符下键入i,路由器将重新启动而忽略它保存的配置;7. 在设置中的所有问题都回答“no”;8. 在Router〉提示符下键入enable,你将进入特权用户Router提示;9. 选择下列三选项之一:查看口令,键入 show config改变口令在口令加密情况下,作:a.键入config mem拷贝NVRAM到memory中;b.键入wr term;c.如果你作过enable secret xxxx, 执行下列命令:键入config term然后键入enable secret按Ctrl+Z;如果你没有作过enable secret xxxx,则键入enable password,Press Ctrl+Z;d.键入write mem提交保存改变;若删除配置,键入write erase;10.在Router提示符下键入config term;11.键入config-register0x2102,或键入在第二步记录的值;12.按 Ctrl+Z退出编辑;13.在Router提示符下键入reload命令,你不需要做write memory.口令恢复方法二可采用本方法的相关设备有Cisco 1003系列,Cisco 4500系列,基于IDT Orion处理器Cisco 3600系列,基于Motorola 860系列处理器Cisco 2600系列.下面是相应步骤:1. 连接路由器的console口与终端或PC仿真终端;2. 用show version命令显示并记录配置寄存器的值,通常为 0x2102或 0x102;3. 关闭路由器的电源,然后再打开;4. 在启动的前60秒内按 Break键,你将会看到rommon〉提示符无路由器名, 如果没有说明你没有正确发出Break信号,这时可检查终端或仿真终端的设置;5. 在rommon〉提示符下键入confreg;6. Do you wish to change configurationy/n提示时,回答y;7.所有问题回答n直到你到达ignore system config infoy/n提示时,回答y;8.剩余问题回答n直到你到达change boot characteristicsy/n提示时,回答y;9.在进入boot: 提示时,type 2需进行返修;如果Flash被擦除,type 1,如果所有Flash均被擦除,4500路由器必须还回到Cisco服务中心处理.如果你用“1”,你可以查看或删除旧配置,你不能改变口令;10.当出现配置问题,Do you wish to change configurationy/n提示时,回答no;11. 在rommon〉提示符下键入reset,或重新启动power-cycle4500或7500;12. 在它引导起来后,对所有的设置均回答no;13.在Router〉提示下键入enable,你将进入特权模式看到Router提示;Cisco Catalyst交换机、老的Cisco路由器和通信服务器的口令恢复过程可在找到.。
Cisco密码恢复方法
針對Cisco常見路由器密碼和版本恢復方法的探討隨著互聯網規模的不斷擴大,網絡與我們的生活已經越來越近,許多政府,學校和公司都組建了自己的信息網絡,這使得路由器這一網絡設備的使用越來越廣泛。
在使用路由器的過程中經常會出現忘記密碼的事情,使維護人員無法登錄,影響工作的進一步開展。
同時,在操作過程中有時會因為一些意想不到的原因,將路由器內部的版本映象文件損壞,使路由器無法正常工作,路由器退回到監控狀態,使用常用的版本拷貝命令無法更新版本。
這兩個問題都是較常見,但又是初學者感到比較棘手的問題。
對于版本的獲得一般可以通過網站下載,或與供應商聯系提供,也可以在路由器正常工作時利用常規命令將版本備份到服務器上,以備應急之用。
CISCO 路由器品種較多,各種路由器的密碼恢復和版本的災難恢復情況又不同,現分別敘述。
一.2500系列路由器(以2509為例)1.密碼恢復1.1 利用DB25轉換接口,和交叉線將2509路由器的CONSOLE口和計算機串口相連,啟動計算機超級終端,設置其參數為波特率9600,數據位8,奇偶校驗為無,停止位為1,流控選擇無。
開啟路由器電源,在開機60秒內按ctlr+break 使路由器進入rom monitor 狀態,提示符>1.2 查看configure –register 值,并將該值記下。
>e/s2000002返回值正常時一般為21021.3 更新configure-register 值使路由器啟動時跳過配置文件,直接啟動,以便使原來的密碼不起作用。
>o/r0x01421.4 重新啟動路由器>i1.5 啟動后進入特權模式,執行如下命令使原來的配置信息有效。
router(config)#config mem1.6 此時可以按照正常操作查看原來的密碼,或修改為新的密碼。
1.7 將configure-register 值復原,并重新啟動路由器。
此時即可恢復正常。
Router(config)#configure-register 0x2102Router(config)#wriRouter(config)#reload2.版本災難性恢復與其他路由器不同的是2509在rom內部有一個引導監控模式,內含一個小的映象版本,當flash中版本損壞時,可以用于正式版本下載。
常见Cisco系列路由器密码恢复
Cisco系列路由器密码恢复密码恢复原理(1)Cisco路由器保存了几种不同的配置参数,并存放在不同的内存模块中。
Cisco系列路由器的内存有:ROM,闪存(Flash memory),RAM,不可变RAM和动态内存(DRAM)等5种(其功能见表1)。
一般情况下,路由器启动时,首先运行ROM中的程序,进行系统自检及引导,然后运行Flash中的ISO,并在NVRAM中寻找路由器配置,并装入DRAM 中。
(2)口令恢复的关键在于对配置登记码(Configuration Register Value)(见表2)进行修改,从而让路由器从不同的内存中调用不同的参数表进行启动。
有效口令存放在NVRAM 中,因此修改口令的实质是先让登记码不起作用,从而可以进行直接启动,完成后再将登记码恢复(如忘记恢复,路由器重新启动后修改的配置可能会丢失)。
内存作用ROM存放系统的引导程序,类似PC机的BIOS,是一种只读存储器,系统掉电程序不会丢失闪存存放Cisco IOS的镜像,类似PC机的硬盘,是一种可擦写、可编程的ROM,系统掉电数据不会丢失NVRAM存放配置文件(Startup conf ig)RAM存放当前系统使用配置(Running config)DRAM主要包含路由表、ARP缓存、Fastswitch缓存、数据包缓存等,也包含正在执行的配置文件,系统掉电该内存数据会丢失表2Cisco系列路由器配置登陆码Configuration Register Value含义0X2102缺省设置Bit13=0X2000Flash引导失败5次后,自动从ROM引导Bit8=0X0100关闭Break键Boot field=0X20X2101从Flash中引导正常运行模式Bit13=0X2000Flash引导失败5次后,自动从ROM引导Bit8=0X0100关闭Break键Boot field=0X10X142进入boot ROM运行模式Router(boot)>Bit8=0X0040进入boot monitor运行模式>或rommon>Boot field=0X2从Flash中引导正常运行模式准备工作厂商在设计路由器产品的时候就预留了一个Console(控制台),它是对路由器进行配置时的一个重要接口,也是密码恢复的第一步工作:利用DB25转接口和交叉线,将终端或装有超级终端软件的PC接到路由器的Console口上。
锐捷设备密码恢复方法(S2026、,S21系列、S35系列、S3760、RCMS、路由器密码)
锐捷设备密码恢复方法(S2026、,S21系列、S35系列、S3760、RCMS、路由器密码)2010-12-22 21:50网络实验室锐捷系列交换共有S2026、S2126、S3550、S3760等几个型号。
总结一下各自的修复密码方法:1,S2026交换机密码修复(1)建立超级终端,默认设置参数(参数9600);(2)重启交换机,同时不停得按ctrl+C(应该是有规律的),直到出现ctrl工具菜单。
(3)输入 4—— utilities ,如果文件不关紧要,可以输入1—— Remove a file,文件名输入“config.text”,回车,即可恢复到出厂设置。
(4)按下ctrl+q,就会转到命令行模式,此时,可直接输入load命令,重启交换机。
至此交换机恢复密码工作完成。
2,S21系列交换机密码修复方法就和s2026有所不同。
(1)打开超级终端,默认参数后,将波特率更改成57600。
(2)交换机重启上电,在3秒内完成如下工作:点击“确定”、不间断有节奏得按下ESC键,进入交换机ctrl层。
Continue with configuaration dialog ?[y/n] y ----输入y,回车。
在这里选择4——delete :config.text ;确认y,选择6运行主程序即可。
3,S35系列交换机密码修复修复方法与S21系列相同;4,S3760交换机密码修复(1)建立超级终端,默认设置参数(参数9600);(2)交换机重启上电,在3秒内完成如下工作:点击“确定”、不间断有节奏得按下CTRl+C键,进入交换机ctrl层。
(3)在这里选择1,删除config.text; The you want to remove :config.text;回车确认。
(4)按下ctrl+Q进入命令行界面,在ctrl>下输入load,加载主程序。
修复成功。
5,RCMS修复(1)建立超级终端,默认设置参数(参数9600);(2)交换机重启上电,在3秒内完成如下工作:点击“确定”、不间断有节奏得按下CTRl+C键,进入交换机ctrl层。
恢复路由器的口令
实验十恢复路由器的口令一、实验目的:1、掌握路由器口令的恢复方法。
注:本文中红字部分,不属于学生实验报告的内容,请在作自己的实验报告时删除或替换。
二、实验环境1.实验设备:●硬件:[填写本组的实训设备:具体的型号]●软件:WINDOWS 98以上操作系统,装有超级终端软件和Telnet程序2.设备连接图:3.实验中的IP地址设置:本组PC机的IP地址:[192.168.X .1],掩码:255.255.255.0路由器FastEthernet 0/0的IP地址:[192.168.X .2] ,掩码:255.255.255.0(X为组号)三、实验内容1、进入ROM Monitor模式;2、恢复路由器口令;四、实验步骤:注意:以下配置命令中模式提示符前的Router代表路由器缺省名,实际配置中可能会遇到不同的路由名。
第一部分:准备工作,设置路由器的口令1.设置路由器的口令;Router#show start(查看启动配置,记录路由器的特权密码、console端口口令、虚拟终端口令)Router#config terRouter(config)#enable password cisco1(设置路由器的特权密码)Router(config)#enable secret cisco2(加密特权密码)下面设置进入Console控制台的口令Router(config)#line con 0(设置console线路)Router(config)#loginRouter(config)#password cisco3(console端口口令)下面设置Telnet登录口令Router(config)#line vty 0 4(设置vty线路)Router(config)#loginRouter(config)#password cisco4(虚拟终端口令)Router(config)#endRouter#show run(查看运行配置,确认刚设置的口令)2.配置路由器的F0/0口的IP地址并启用;Router(config)#int f0/0Router(config-if)#ip add 192.168.X .1 255.255.255.0(F0/0口的IP地址。
试谈cisco路由器口令和IOS恢复
试谈cisco路由器口令和IOS恢复试谈cisco路由器口令和IOS恢复针对最常见的cisco路由器设备的IOS系统,店铺下面给大家讲解一下路由器口令和IOS恢复的步骤和方法。
一、先说说路由器口令恢复的方法前提:口令恢复需要使用Console线将路由器和PC连接。
恢复步骤:1.在路由器加电60S内,在超级终端按+3-5s(最好按的时间长一些),可以进入rommon模式。
提示符如下:rommon1>2.rommon1>confreg 0x21423.rommon2>reset 重启路由器4.进入setup初始化配置模式,选择NO不用配置,进入用户模式router> 。
5.router>en Router#copy startup-config running-config ,Router#configure terminal Router(config)#设置Router的名称为01r1或01r2 Router(config)# 删除secret Router(config)# 删除password Router(config)# 设置secret 为s301 Router(config)# 设置password 为cisco Router(config)# 关闭域名查找 Router(conf)# 进入console线路Router(conf-line)# 设置password为con Router(conf-line)#启动口令Router(conf-line)#设置输入同步Router#config terminal Router(config)#config-register 0x2102 ,Router#show version Router#copy running-config startup-config 。
二、再来讲讲IOS恢复和升级前提:如果有真实设备实现IOS的升级和恢复的话,在PC上需要安装TFTP服务器,并保证TFTP服务器处于运行状态。
路由器上网口令忘了有什么解决方法
路由器上网口令忘了有什么解决方法
在日常生活中,我们有时候会把我们的路由器密码忘记了,遇到这种情况,怎么找回呢?下面店铺给大家讲解一下关于路由器上网口令忘了的解决方法,希望大家喜欢!
路由器上网口令忘了的解决方法
将路由器在通电情况下,按住后面的复位键“RESET”3秒,就可以直接简化路由器设置还原到初始状态
打开浏览器,输入“192.168.1.1”这是路由器的默认管理地址,用户名和密码均为“admin”,就可以顺利登陆路由器管理后台选择左侧菜单栏的“wlan设置”,选择上网方式,这里有三个选择,然后输入你的帐号密码,建议选择链接模式为“自动连接”,即路由器通电就可以拨号上网
设置完上网的帐号密码,现在就开始设置无线的连接密码了。
选择“无线设置”,输入你的wifi名称和密码,建议选择网络模式为“11b/g/n 混合模式”,是一种比较安全的加密模式
设置完成之后,最好重启一下无线路由器,你的笔记本、手机等设备就能搜索到wifi名称,通过密码链接到你的无线网络了注意事项
事先记录好上网的帐号密码,否则重置后无法完成拨号。
路由器与交换机口令恢复
路由器、交换机口令恢复
如果你不小心把进入路由器进行配置的口令忘掉了,或是其它各种原因不知道口令,但又需要对路由器配置进行修改时,可以采用路由器的口令恢复功能。
路由器的配置寄存器的值在默认情况下是0x2102,其中第四个字符是用于引导IOS时使用。
配置寄存器值的第三个字符是用于改变路由器加载配置文件的方式,如果配置寄存器值为0x2102,那么在起动时将会加载保存在NVRAM中的配置信息,包括要求在进入系统时要求输入口令的过程。
整个过程如图所示:
口令恢复
在上图中,左边是恢复口令的操作过程,右边是该操作的解释。
Cisco 路由器口令恢复
Cisco 路由器口令恢复常规恢复法当Cisco路由器的口令被错误修改或忘记时,可以按如下步骤进行操作:1.开机时按Ctrl+Break使进入ROM状态2.按o 命令读取配置寄存器的原始值> o3.作如下设置,使忽略NVRAM引导>o/r0x**4* Cisco2500系列命令rommon 1 >confreg 0x**4* Cisco2600、1600系列命令一般正常值为0x21024.重新启动路由器>Irommon 2 >reset5.在“Setup”模式,对所有问题回答No6.进入特权模式Router>enable7.下载NVRAMRouter>configure memory8.恢复原始配置寄存器值并激活所有端口“hostname”#configure terminal“hostname”(config)#config-register 0x“value”“hostname”(config)#interface xx“hostname”(config)#no shutdown9.查询并记录丢失的口令“hostname”#show configuration (show startup-config)10.修改口令“hostname”#configure terminal“hostname”(config)line console 0“hostname”(config-line)#login“hostname”(config-line)#password xxxxxxxxx“hostname”(config-line)#“hostname”(config-line)#write memory(copy running-config startup-config) 利用solarwinds2001得到CISCO密码1:solarwinds2001是个集多种功能于一身的cisco管理工具,界面友好;/Download-Tools.htm/software/internet/netassistant/15411.html/library/solarwinds2001.zip2:工具条如图所示3:打开Cisco Tools/IP Network Browser,界面如下图,简单设置如上图;5:发现CISCO路由器6:还可以用Cisco Tools/Download Config来下载(下图)7:TFTP Server自动启动(下图)8:利用Cisco Tools/Config Editor&viewer打开下载的config文件,如下是我下载的一份配置文件:!version 11.2no service padno service udp-small-serversno service tcp-small-servers!hostname HGHLNDSWSTWD.07.IDF1A.DSW08!enable secret 5 $1$ukn/$LU0yrd7/YBqBNJRDlIVes.--->>>>MD5加密!!ip subnet-zero!!interface VLAN1ip address ***.11.111.8 255.255.255.192no ip route-cache!interface FastEthernet0/1description Port connected to Apt# 7307shutdownport security max-mac-count 1no port security action trap!interface FastEthernet0/2description Port connected to Apt# 7308port security max-mac-count 1no port security action trap!interface FastEthernet0/3description Port connected to Apt# 7309 shutdownport security max-mac-count 1no port security action trap!interface FastEthernet0/4description Port connected to Apt# 7310 shutdownport security max-mac-count 1no port security action trap!interface FastEthernet0/5description Port connected to Apt# 7311 shutdownport security max-mac-count 1no port security action trap!interface FastEthernet0/6description Port connected to Apt# 7337 port security max-mac-count 1no port security action trap!interface FastEthernet0/7description Port connected to Apt# 7338 shutdownport security max-mac-count 1no port security action trap!interface FastEthernet0/8description Port connected to Apt# 7339 shutdownport security max-mac-count 1no port security action trap!interface FastEthernet0/9description Port connected to Apt# 7340 shutdownport security max-mac-count 1no port security action trap!interface FastEthernet0/10 description Port connected to Apt# 7341 shutdownport security max-mac-count 1no port security action trap!interface FastEthernet0/11 description Port connected to Apt# shutdownport security max-mac-count 1no port security action trap!interface FastEthernet0/12 description Port connected to Apt# shutdownport security max-mac-count 1no port security action trap!interface FastEthernet0/13 description Port connected to Apt# shutdownport security max-mac-count 1no port security action trap!interface FastEthernet0/14 description Port connected to Apt# shutdownport security max-mac-count 1no port security action trap!interface FastEthernet0/15 description Port connected to Apt# shutdownport security max-mac-count 1no port security action trap!interface FastEthernet0/16 description Port connected to Apt# shutdownport security max-mac-count 1no port security action trap!interface FastEthernet0/17 description Port connected to Apt#shutdownport security max-mac-count 1no port security action trap!interface FastEthernet0/18 description Port connected to Apt# shutdownport security max-mac-count 1no port security action trap!interface FastEthernet0/19 description Port connected to Apt# shutdownport security max-mac-count 1no port security action trap!interface FastEthernet0/20 description Port connected to Apt# shutdownport security max-mac-count 1no port security action trap!interface FastEthernet0/21description Port connected to Apt#shutdownport security max-mac-count 1no port security action trap!interface FastEthernet0/22description Port connected to Apt#shutdownport security max-mac-count 1no port security action trap!interface FastEthernet0/23description Port connected to Fiber Link!interface FastEthernet0/24description Port connected to Fiber Link!ip default-gateway ***.11.111.*mac-address-table secure 0001.0235.5a4e FastEthernet0/2 vlan 1 snmp-server community N3tw0rk ROsnmp-server community private RWsnmp-server community public ROsnmp-server chassis-id 0x0F!line con 0stopbits 1line vty 0 4password MDU!Admin -->>>>明文口令,未作加密处理!!loginline vty 5 9password MDU!Adminlogin!end9:如果配置文件中口令经"Service password_encryption"命令加密,比如说出现“password 7 15110E1E2A2F3F”类的,用Cisco Tools/Router Password de..解密,如下图:10:现在你就可以telnet *.*.*.* 进入了!11:常见问题:(1)为什么老是下载不了config?答:正常!有几个原因,无法辨别读取,路由器拒绝,TFTPserver未设置添加允许传输IP段...要有点耐心,现在存在此漏洞的很多!(2)MD5加密的特权级口令怎么破解?答:很难,但可以拿John跑跑。
