雏鹰部落

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
楼主: 大東

FZ-AS BOOTCAMP08班开班—2006-7-12

[复制链接]
 楼主| 发表于 2006-7-18 00:08:20 | 显示全部楼层
<P>今天早上的试验后半部分的一些配置的个人理解:<IMG src="http://www.spoto.net/bbs/images/Emotions/30.gif">&nbsp;</P><P>&nbsp;</P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><SPAN lang=EN-US style="COLOR: blue">1</SPAN><SPAN style="COLOR: blue; FONT-FAMILY: 宋体; mso-ascii-font-family: &#39;Times New Roman&#39;; mso-hansi-font-family: &#39;Times New Roman&#39;">.今天在做单播更新的时候</SPAN><SPAN style="COLOR: blue"> </SPAN><SPAN style="COLOR: blue; FONT-FAMILY: 宋体; mso-ascii-font-family: &#39;Times New Roman&#39;; mso-hansi-font-family: &#39;Times New Roman&#39;">用到的命令</SPAN><SPAN lang=EN-US style="COLOR: blue"><?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></FONT></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: left; mso-layout-grid-align: none" align=left><SPAN lang=EN-US><FONT size=3>router rip</FONT></SPAN></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: left; mso-layout-grid-align: none" align=left><SPAN lang=EN-US><FONT size=3>version 2</FONT></SPAN></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: left; mso-layout-grid-align: none" align=left><FONT size=3><SPAN lang=EN-US><SPAN style="mso-spacerun: yes">&nbsp;</SPAN></SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: &#39;Times New Roman&#39;; mso-hansi-font-family: &#39;Times New Roman&#39;">(</SPAN><SPAN lang=EN-US>config-router</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: &#39;Times New Roman&#39;; mso-hansi-font-family: &#39;Times New Roman&#39;">)</SPAN><SPAN lang=EN-US>#<SPAN style="COLOR: red">passive-interface Serial1<o:p></o:p></SPAN></SPAN></FONT></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 36.75pt; TEXT-ALIGN: left; mso-layout-grid-align: none; mso-char-indent-count: 3.5" align=left><FONT size=3><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: &#39;Times New Roman&#39;; mso-hansi-font-family: &#39;Times New Roman&#39;">(</SPAN><SPAN lang=EN-US>config-router</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: &#39;Times New Roman&#39;; mso-hansi-font-family: &#39;Times New Roman&#39;">)</SPAN><SPAN lang=EN-US>#<SPAN style="COLOR: red">neighbor 56.1.1.1<o:p></o:p></SPAN></SPAN></FONT></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><SPAN lang=EN-US><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: &#39;Times New Roman&#39;; mso-hansi-font-family: &#39;Times New Roman&#39;">大家在这之后要做个水平分割</SPAN> <SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: &#39;Times New Roman&#39;; mso-hansi-font-family: &#39;Times New Roman&#39;">这样</SPAN><SPAN lang=EN-US>R55</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: &#39;Times New Roman&#39;; mso-hansi-font-family: &#39;Times New Roman&#39;">的包就不会通过</SPAN><SPAN lang=EN-US>R44</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: &#39;Times New Roman&#39;; mso-hansi-font-family: &#39;Times New Roman&#39;">传给</SPAN><SPAN lang=EN-US>R66</SPAN></FONT></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: &#39;Times New Roman&#39;; mso-hansi-font-family: &#39;Times New Roman&#39;">用来查看配置是否正确的语句是</SPAN><SPAN lang=EN-US style="COLOR: blue">Debug ip packet</SPAN></FONT></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: &#39;Times New Roman&#39;; mso-hansi-font-family: &#39;Times New Roman&#39;">水平分割</SPAN><SPAN lang=EN-US style="COLOR: red">ip split-horizon<o:p></o:p></SPAN></FONT></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><o:p><FONT size=3>&nbsp;</FONT></o:p></SPAN></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: left; mso-layout-grid-align: none" align=left><FONT size=3><SPAN lang=EN-US>2</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: &#39;Times New Roman&#39;; mso-hansi-font-family: &#39;Times New Roman&#39;">.大家在做偏移的时候用在进程下的命令</SPAN><SPAN lang=EN-US><SPAN style="mso-spacerun: yes">&nbsp; </SPAN></SPAN></FONT></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: left; mso-layout-grid-align: none" align=left><SPAN lang=EN-US><FONT size=3><SPAN style="mso-spacerun: yes">&nbsp;</SPAN>router rip</FONT></SPAN></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 5.25pt; TEXT-ALIGN: left; mso-layout-grid-align: none; mso-char-indent-count: .5" align=left><SPAN lang=EN-US><FONT size=3>version 2</FONT></SPAN></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: left; mso-layout-grid-align: none" align=left><FONT size=3><SPAN lang=EN-US style="COLOR: red"><SPAN style="mso-spacerun: yes">&nbsp;</SPAN></SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: &#39;Times New Roman&#39;; mso-hansi-font-family: &#39;Times New Roman&#39;">(</SPAN><SPAN lang=EN-US>config-router</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: &#39;Times New Roman&#39;; mso-hansi-font-family: &#39;Times New Roman&#39;">)</SPAN><SPAN lang=EN-US>#<SPAN style="COLOR: red">offset-list 1 in 3 Ethernet0<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>// </SPAN></SPAN><SPAN style="COLOR: red; FONT-FAMILY: 宋体; mso-ascii-font-family: &#39;Times New Roman&#39;; mso-hansi-font-family: &#39;Times New Roman&#39;">在</SPAN><SPAN lang=EN-US style="COLOR: red">list1</SPAN><SPAN style="COLOR: red; FONT-FAMILY: 宋体; mso-ascii-font-family: &#39;Times New Roman&#39;; mso-hansi-font-family: &#39;Times New Roman&#39;">表允许的路由条目上把跳数</SPAN><SPAN lang=EN-US style="COLOR: red">+</SPAN><SPAN style="COLOR: red; FONT-FAMILY: 宋体; mso-ascii-font-family: &#39;Times New Roman&#39;; mso-hansi-font-family: &#39;Times New Roman&#39;">上</SPAN><SPAN lang=EN-US style="COLOR: red">3<o:p></o:p></SPAN></FONT></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: &#39;Times New Roman&#39;; mso-hansi-font-family: &#39;Times New Roman&#39;">和用在(</SPAN><SPAN lang=EN-US>config</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: &#39;Times New Roman&#39;; mso-hansi-font-family: &#39;Times New Roman&#39;">)#</SPAN></FONT></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: &#39;Times New Roman&#39;; mso-hansi-font-family: &#39;Times New Roman&#39;">下的</SPAN><SPAN lang=EN-US style="COLOR: red">access-list 1 permit 1.1.1.0 0.0.0.255</SPAN><SPAN lang=EN-US><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>// </SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: &#39;Times New Roman&#39;; mso-hansi-font-family: &#39;Times New Roman&#39;">这就是上面说的允许路由条目</SPAN></FONT></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><o:p><FONT size=3>&nbsp;</FONT></o:p></SPAN></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><SPAN lang=EN-US><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>Show ip route </SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: &#39;Times New Roman&#39;; mso-hansi-font-family: &#39;Times New Roman&#39;">就出现:</SPAN></FONT></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: left; mso-layout-grid-align: none" align=left><SPAN lang=EN-US style="COLOR: black"><FONT size=3><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>1.0.0.0/24 is subnetted, 1 subnets<o:p></o:p></FONT></SPAN></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: left; mso-layout-grid-align: none" align=left><FONT size=3><SPAN lang=EN-US style="COLOR: black">R<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>1.1.1.0 [120/</SPAN><SPAN lang=EN-US style="COLOR: red">4</SPAN><SPAN lang=EN-US style="COLOR: black">] via 7.7.7.7, 00:00:08, Ethernet0<o:p></o:p></SPAN></FONT></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: left; mso-layout-grid-align: none" align=left><SPAN lang=EN-US style="COLOR: black"><FONT size=3><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN><o:p></o:p></FONT></SPAN></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: left; mso-layout-grid-align: none" align=left><SPAN lang=EN-US style="COLOR: black"><o:p><FONT size=3>&nbsp;</FONT></o:p></SPAN></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: left; mso-layout-grid-align: none" align=left><FONT size=3><SPAN lang=EN-US style="BACKGROUND: yellow; COLOR: red; mso-highlight: yellow">9</SPAN><SPAN style="BACKGROUND: yellow; COLOR: red; FONT-FAMILY: 宋体; mso-ascii-font-family: &#39;Times New Roman&#39;; mso-hansi-font-family: &#39;Times New Roman&#39;; mso-highlight: yellow">.</SPAN><SPAN lang=EN-US style="BACKGROUND: yellow; COLOR: red; mso-highlight: yellow">R11</SPAN><SPAN style="BACKGROUND: yellow; COLOR: red; FONT-FAMILY: 宋体; mso-ascii-font-family: &#39;Times New Roman&#39;; mso-hansi-font-family: &#39;Times New Roman&#39;; mso-highlight: yellow">上的</SPAN><SPAN lang=EN-US style="BACKGROUND: yellow; COLOR: red; mso-highlight: yellow">Loop 0</SPAN><SPAN style="BACKGROUND: yellow; COLOR: red; FONT-FAMILY: 宋体; mso-ascii-font-family: &#39;Times New Roman&#39;; mso-hansi-font-family: &#39;Times New Roman&#39;; mso-highlight: yellow">在</SPAN><SPAN lang=EN-US style="BACKGROUND: yellow; COLOR: red; mso-highlight: yellow">R44</SPAN><SPAN style="BACKGROUND: yellow; COLOR: red; FONT-FAMILY: 宋体; mso-ascii-font-family: &#39;Times New Roman&#39;; mso-hansi-font-family: &#39;Times New Roman&#39;; mso-highlight: yellow">上做一个静态路由指向它,并且将这个静态路由和</SPAN><SPAN lang=EN-US style="BACKGROUND: yellow; COLOR: red; mso-highlight: yellow">Rip</SPAN><SPAN style="BACKGROUND: yellow; COLOR: red; FONT-FAMILY: 宋体; mso-ascii-font-family: &#39;Times New Roman&#39;; mso-hansi-font-family: &#39;Times New Roman&#39;; mso-highlight: yellow">协议重分布</SPAN><SPAN lang=EN-US style="COLOR: red"><o:p></o:p></SPAN></FONT></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 5.25pt; TEXT-ALIGN: left; mso-layout-grid-align: none; mso-char-indent-count: .5" align=left><SPAN lang=EN-US style="COLOR: black"><FONT size=3>router rip<o:p></o:p></FONT></SPAN></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: left; mso-layout-grid-align: none" align=left><SPAN lang=EN-US style="COLOR: black"><FONT size=3><SPAN style="mso-spacerun: yes">&nbsp;</SPAN>version 2<o:p></o:p></FONT></SPAN></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: left; mso-layout-grid-align: none" align=left><SPAN lang=EN-US style="COLOR: red"><FONT size=3><SPAN style="mso-spacerun: yes">&nbsp;</SPAN>redistribute static metric 1<o:p></o:p></FONT></SPAN></P><P>&nbsp;</P>
发表于 2006-7-18 01:18:43 | 显示全部楼层
<P>新来的。</P><P>大东不简单。</P><P>&nbsp;</P>
发表于 2006-7-18 23:20:18 | 显示全部楼层
<BLOCKQUOTE><STRONG>引用</STRONG>:<HR>原文由 <B>大東</B> 发表于 <I>2006-7-17 22:36:32</I> :<BR><IMG src="http://www.spoto.net/bbs/images/Emotions/44.gif" twffan="done"><IMG src="http://www.spoto.net/bbs/images/Emotions/44.gif" twffan="done"><IMG src="http://www.spoto.net/bbs/images/Emotions/44.gif" twffan="done"><IMG src="http://www.spoto.net/bbs/images/Emotions/44.gif" twffan="done">那不是“<STRONG>zplover”吗-。- </STRONG><HR></BLOCKQUOTE><P>哈哈,有找到我啊??</P><P>我旁边的那个是栗子,现在在顶新集团IT部,据说就是冲着康师傅方便面去的,江湖人称泡面赵~~</P>
发表于 2006-7-19 16:38:10 | 显示全部楼层
<P>刚找的一些密码恢复的材料,希望能用上哈。</P><P><SPAN style="FONT-SIZE: 12px">Cisco设备的密码恢复 <BR><BR>  大家知道,网络设备通常都需要配置密码来保证安全性。但是当你忘记密码或密码被他人修改时(比如在实验环境下有多人*作同一设备),就需要我们强行恢复密码。下面就介绍一些我们实验时常见的Cisco设备的密码恢复方法。<BR><BR>一、预备知识:<BR>  我们知道,在Cisco路由器的NVRAM中存放有“startup-config”配置文件,路由器启动时它将被加载到主内存RAM中成为“running-config”而生效,而我们的密码就存放在配置文件中,如果可以让路由器在启动时忽略掉NVRAM中的内容,则配置文件就不会被加载,而密码自然也就不生效了。这种特殊的*作,我们可以通过修改配置寄存器来执行。配置寄存器是NVRAM中的一个16位长的寄存器,这个配置寄存器控制着诸如:控制台端口速率、设备引导源、是否忽略NVRAM中的内容等一些路由器的底层功能。通过设定这个配置寄存器的值,我们就可以控制路由器的一些特殊行为。<BR>  正常的配置寄存器的值是0x2102,我们可以通过“show version”命令来查看(显示在最后一行)。<BR>  注意:不要随意修改配置寄存器的值,否则可能会使路由器无法登录。<BR><BR>二、注意事项<BR>  1. 恢复密码需要将设备重新加电,因此确认设备重启时没有用户在使用<BR>  2. 事先将配置终端接入网络设备的Console口,并建立终端会话。<BR>  3. 路由器在恢复密码后,其接口会处于管理性关闭(Administration down)状态。需要使用“no shutdown”命令手工打开。<BR><BR>三、密码的恢复过程<BR>   (一)2500系列路由器:<BR>  1. 关闭路由器,再重新加电。<BR>  2. 开机后的60秒内,按下“Ctrl+break”键,路由器将进入监控模式,提示符为不带路由器名的“&gt;”<BR>  3. 输入“o/r 2x2142”命令,修改配置寄存器的值。该值将使路由器忽略掉NVRAM中的配置文件。<BR>  4. 输入“i”命令,令路由器重新引导。<BR>  5. 由于未加载NVRAM中的配置文件,路由器将自动进入Setup模式。当出现配置对话时选“no”退出Setup模式,进入命令行模式<BR>  6. 输入“enable”命令进入特权模式(由于未加载配置,因此不会遇到密码查询)<BR>  7. 输入“copy start run”命令,将NVRAM中的配置文件加载到RAM中。其目的是保存原有配置文件中除密码以外的内容。<BR>  8. 输入“config terminal”进入全局配置模式,然后使用相应的命令重新配置密码。<BR>  9. 在全局配置模式下输入“config-register 0x2102”命令,将配置寄存器的值恢复正常。<BR>  10. 按下“Ctrl+z”键退出全局配置模式。<BR>  11. 输入“copy run start”命令,将含有新密码的配置文件,备份到NVRAM。<BR>  12. 输入“reload”命令,令路由器重新启动,使新密码生效。<BR>  (二)2600系列路由器<BR>  该系列路由器的密码恢复方式同2500系列基本相同,不同之处有二,一是上述第3步中修改寄存器值的命令为“confreg 0x2142”;二是第4步重引导命令为“reset”。此外,还需注意的是,2600系列的监控模式提示符为“rommon&gt;”。<BR> <BR>1900系列交换机<BR>1、将交换机断电<BR>2、按住交换机前面板上的“mode”键,同时将交换机重新加电。“mode”建的位置如图1-1所示<BR><BR><BR><BR>图1-1:1900系列交换机前面板 <BR>3、交换机启动完毕后松开“mode”键<BR>4、按“回车”键,此时交换机将进入系统工程菜单(system engineering menu)<BR>如清单1-1所示<BR>=======================================<BR>Diagnostic Console ? Systems Engineering<BR>Operation firmware version: 8.00.00 Status: valid<BR>Boot firmware version: 3.02<BR>[C] Continue with standard system start up<BR>[U] Upgrade operation firmware (XMODEM)<BR>[S] System Debug Interface<BR>Enter Selection:<BR>=======================================<BR><BR>清单1-1:1900系列交换机上的系统工程菜单 <BR>5、按S键,选择进入“System Debug Interface”子菜单<BR>6、按F键,选择恢复工厂默认配置(Factory Default),<BR>7、按Y键,选择确认,即可清除密码<BR>注意:<BR>1、清除密码的同时,配置也将被清除<BR>2、本例中交换机的firmware的版本为3.02,若firmware版本不同,其菜单可能不同。 <BR><BR>3550系列交换机<BR>1、将交换机断电<BR>2、按住交换机前面板上的“mode”键,同时将交换机重新加电。“mode”建的位置如图1-1所示<BR><BR><BR>图1-2 3550系列交换机前面板&nbsp;&nbsp;<BR>3、交换机启动完毕后松开“mode”键<BR>4、输入“flash_init”后回车<BR>5、输入“load_helper”后回车<BR>6、输入“dir flash:”后回车,显示flash中所有文件。从中找出config.text文件,该文件为交换机的配置文件。其显示输出如清单1-2所示<BR>=======================================<BR>switch: dir flash: <BR>Directory of flash:/<BR>2 -rwx 1803357 &lt;date&gt;c3500xl-c3h2s-mz.120-5.WC7.bin<BR>4 -rwx 1131 &lt;date&gt; config.text <BR>5 -rwx 109 &lt;date&gt; info<BR>6 -rwx 389 &lt;date&gt; env_vars<BR>7 drwx 640 &lt;date&gt; html<BR>18 -rwx 109 &lt;date&gt; info.ver<BR>403968 bytes available (3208704 bytes used)<BR>switch:<BR>=======================================<BR><BR>清单1-2:显示flash中的文件 <BR>7、输入“rename flash:config.text flash:config.old”命令将配置文件更名<BR>8、输入“boot”命令重新引导系统<BR>9、引导完毕后,按“N”键取消对话配置。输入“enable”命令进入特权模式(由于配置文件已被更名,交换机将视为无配置存在)<BR>10、输入“rename flash:config.old flash:config.text” 命令将原配置文件还原<BR>11、输入“copy flash:config.text system:running?config” 命令将配置文件加载到RAM中<BR>12、输入“config terminal”进入全局配置模式,然后使用相应的命令重新配置密码。<BR>13、按下“Ctrl+z”键退出全局配置模式。<BR>14、输入“copy run start”命令备份含有新密码的配置文件 <BR><BR>总结:<BR>在cisco设备上,恢复密码通常的思路是想办法让配置文件暂时失效,使设备以无配置的状态启动,以此来跳过密码检测进入到特权模式,再将原配置加载到RAM中,修改其密码部分。其区别仅在于让配置文件失效的手段不同。</SPAN> </P>
发表于 2006-7-19 16:45:21 | 显示全部楼层
<P>##############################&nbsp;<STRONG><FONT color=#f70909> <FONT face=幼圆 size=5>续 &nbsp;上&nbsp;&nbsp; 帖</FONT></FONT></STRONG>&nbsp;&nbsp;#################################</P><P><STRONG><FONT face=Arial><SPAN class=smalltxt><SPAN class=bold>c2950清除密码</SPAN></SPAN><BR><BR></FONT></STRONG><SPAN style="FONT-SIZE: 12px">简介:本文详细描述了对于2900xl/3500xl/2950/3550系列交换机的enable密码恢复流程<BR>一、将一台终端或装有超级终端软件的PC接到交换机的console口上。终端参数设置如下:<BR>速率:9600bps<BR>检较位:无<BR>数据位:8<BR>停止位:1<BR>流控:无<BR>二、拨掉电源<BR>三、按住前面板的mode键不放,插上电源,等3-5秒后松开mode键。你会看到如下提示:<BR>The system has been interrupted prior to initializing the flash file system. <BR>The following commands will initialize the flash file system, and finish loading <BR>the operating system software:<BR>flash_init<BR>load_helper<BR>boot<BR>四、输入flash_init<BR>五、输入load _helper<BR>六、输入dir flash:<BR>注意,不要少了flash后面的冒号,屏幕出现如下提示。<BR>Directory of flash: <BR>2 -rwx 843947 Mar 01 1993 00:02:18 C2900XL-c3h2s-mz-12.1-WC5.bin<BR>4 drwx 3776 Mar 01 1993 01:23:24 html <BR>66 -rwx 130 Jan 01 1970 00:01:19 env_vars<BR>68 -rwx 1296 Mar 01 1993 06:55:51 config.text<BR>1728000 bytes total (456704 bytes free)<BR>七、输入rename flash:config.text flash:config.old<BR>八、输入boot引导系统。<BR>九、当出现如下提示时,输入N:<BR>Continue with the configuration dialog? [yes/no] : N<BR>十、用en进入enable状态,并将文件config.old改回config.text,命令如下:<BR>rename flash:config.old flash:config.text<BR>十一、将原配置装入内存,命令如下:<BR>2900# copy flash:config.text system:running-config<BR>十二、修改密码:<BR>2900xl#conf t<BR>2900xl(config)#no enable secret<BR>2900xl(config)#enable secret ultra<BR>2900xl(config)#exit<BR>十三、telnet到交换机上,验证密码是否修改成功<BR>十四、将配置写入nvram<BR>2900xl#wr mem <BR>以上步骤中,第十一、十二步需要特别注意,前者是为了保留配置,后者需要注意的是如果不使用no enable secret的话,新密码将不起作用。 <BR>以上是转的路由/交换技术版的精华里的内容,它好象也是翻译的cisco的文档,不过在实际*作过程中我发现可以不用输load _helper,要是单纯的想清空密码和配置的话,输了<BR>flash_init后直接敲del flash:config.text就好了 <BR><BR><BR></SPAN><SPAN style="FONT-SIZE: 12px"></SPAN></P><P><SPAN style="FONT-SIZE: 12px">一、将一台终端或装有超级终端软件的PC接到交换机的console口上。终端参数设置如下:<BR>速率:9600bps<BR>检较位:无<BR>数据位:8<BR>停止位:1<BR>流控:无 <BR>二.接上电源线,打开电源开关 <BR>三.在路由器加电后的60秒内按中断键(ctrl+break或其他),使路由器进入ronmon模式 <BR>四.在rommon 1&gt;后输入confreg 0x2142将寄存器值修改为2142,使路由器从flash启动但是忽略nvram里保存的配置 <BR>五.在rommon 2&gt;后输入reset 命令重新启动 <BR>六.输入no或按ctrl+c跳过初始化配置的过程 <BR>七.在router&gt;后输入enable进入特权模式 <BR>如果仅仅想清楚密码和当前配置的话,输入erase star然后直接进入<BR>就可以了<BR>如果要保存当前的配置文件并进行恢复密码则按以下步骤进行 <BR>八.输入show star,如果密码没有加密的话可以在直接看到未加密过的密码了<BR>如果用了enable secret 命令加密过的话呢,则按照下面步骤进行 <BR>九.输入config terminal进入全局配置模式 <BR>十.在router&lt;config&gt;#后输入enable secret new_password将密码修改为新密码 <BR>十一.在router&lt;config&gt;#后输入config-terminal 0x2102将寄存器值修改为2102或其他你需要的值 <BR>十二.输入end退出配置模式 <BR>十三.使用copy run star 或 write memory 命令保存设置 </P></SPAN>
发表于 2006-7-19 21:06:42 | 显示全部楼层
<P>大东最近状态很好哦``精力充沛啊``哈哈`</P><P>到处飘到处飘的```&nbsp; </P><P>偶也来支持一下BC班的</P>
 楼主| 发表于 2006-7-19 22:43:44 | 显示全部楼层
<P><IMG src="http://www.spoto.net/bbs/images/Emotions/9.gif">连前台的CS都来捧场了!看来我们BC08班是这个暑假人气最旺的班级咯!</P><P>&nbsp;&nbsp; <IMG src="http://www.spoto.net/bbs/images/Emotions/4.gif"><IMG src="http://www.spoto.net/bbs/images/Emotions/4.gif"><IMG src="http://www.spoto.net/bbs/images/Emotions/4.gif"><IMG src="http://www.spoto.net/bbs/images/Emotions/4.gif"><IMG src="http://www.spoto.net/bbs/images/Emotions/4.gif"><IMG src="http://www.spoto.net/bbs/images/Emotions/4.gif">!大家动起来!~</P>
 楼主| 发表于 2006-7-20 23:14:43 | 显示全部楼层
<IMG src="http://www.spoto.net/bbs/images/Emotions/48.gif">想了解下大家晚上回家到底做些什么?
发表于 2006-7-20 23:27:16 | 显示全部楼层
<P>呵呵,人气表现很不错。</P><P>现在还赶得上其他的NA17班的学员,NA17班是好样的,给我们的印象很深,当时那个NA17班的帖子也是非常的热。希望BC08班同样精彩。</P>
发表于 2006-7-21 02:33:51 | 显示全部楼层
密码恢复~~~原来讲课之前就搞出来了啊...偶还上网去查呢...不过也是有点收获的...<IMG src="http://www.spoto.net/bbs/images/Emotions/45.gif">
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|熊猫同学技术论坛|小黑屋| 网络工程师论坛 ( 沪ICP备09076391 )

GMT+8, 2024-6-4 02:24 , Processed in 0.070176 second(s), 13 queries , Gzip On.

快速回复 返回顶部 返回列表