今天是  
企业邮局 | 加入收藏 | 繁体中文 | English  
                 
     新 闻 搜 索
   
   
     新闻点击排行
 CISCO交换机-密码恢复For 2900XL, …
 思科@Cisco深圳代理商发布信息:思科…
 CISCO思科代理商-深圳市前迪科技有…
 广东深圳思科CISCO代理商-新闻2
 CISCO交换机命名规则
 深圳前迪科技有限公司成功签约深信…
 深圳前迪科技有限公司(CISCO-H3C-…
 CISCO交换机端口限速基本配置
     新 闻 中 心
利用cisco4500系列交换机引擎上的MGT网络接口恢复
双击自动滚屏 发布者:zhyao 发布时间:2009-5-20 10:31:12 阅读:206次 【字体:

第一步:进入rommon模式

当交换机启动出现下面的界面时按ctrl键和C键即可进入rommon>模式。

 **********************************************************
*                                                        *
* Welcome to ROM Monitor for WS-X4014 System.            *
* Copyright (c) 2002 by Cisco Systems, Inc.              *
* All rights reserved.                                   *
*                                                        *
**********************************************************

ROM Monitor Program Version 12.1(11br)EW

Board type 1, Board revision 5
Swamp FPGA revision 14, Dagobah FPGA revision 48


MAC Address  : 00-01-96-d9-f6-fe
Ip Address   : Not set.
Netmask      : Not set.
Gateway      : Not set.
TftpServer   : Not set.
Main Memory  : 256 Mbytes

 

***** The system will autoboot in 5 seconds *****


Type control-C to prevent autobooting.
!--- Press Control-C.
Autoboot cancelled......... please wait!!!
rommon 1 > [interrupt]

===============第二步:

===============连接tftpserver和引擎上的MGT接口,在超级终端里会出现下面的提示。

================rommon 7 >  Established physical link 100MB Full Duplex Network layer connectivity may take a few seconds

第三步:给 MGT配置一个IP地址和子网掩码
命令格式:set interface fa1  
rommon 7 >set interface fa1 14.18.2.234 255.255.255.0

第四步:设置到TFTP服务器的路由
命令格式:set ip route default  
rommon 8 >set ip route default 14.18.2.21

第五步:检查配置

rommon 11 >set
PS1=rommon ! >
RommonBuild=5
ConfigReg=0x2102
SkipDiags=0
BSI=0
RET_2_RTS=13:36:46 UTC Tue Aug 15 2000
RET_2_RUTC=966346606
BootStatus=Failure
BootedFileName=bootflash:cat4000-is-mz.121-11b.EW
RommonVer=12.1(11br)EW
IpAddr=14.18.2.234
Netmask=255.255.255.0
Broadcast=14.18.2.255
Gateway=14.18.2.21

第六步:检测switch到TFTP server的网络连接是否正常

命令:ping

rommon 9 >ping 172.18.125.3

Host 172.18.125.3 is alive

第七步:执行从tftp server上引导IOS文件

命令格式:boot tftp:///

rommon 6 >boot tftp://172.18.125.3/cat4000-is-mz.121-11b.EW


Tftp Session details are ....

Filename : /cat4000-is-mz.121-11b.EW
IP Address : 14.18.2.234
Loading from TftpServer: 172.18.125.3

Received data packet # 12729

Loaded 6516904 bytes successfully.

Rommon reg: 0x30004180

Running diags...

Decompressing the image
####################################################################################################################### [OK]

k2diags version 1.6

prod: WS-X4014  part: 73-6854-05  serial: JAB054109FE

Power-on-self-test for Module 1:  WS-X4014
Status: (. = Pass, F = Fail)

Traffic using serdes loopback (L2; one port at a time)...
switch port 0: .       switch port 1: .       switch port 2: .     
switch port 3: .       switch port 4: .       switch port 5: .     
switch port 6: .       switch port 7: .       switch port 8: .     
switch port 9: .       switch port 10: .      switch port 11: .    
switch port 12: .      switch port 13: .      switch port 14: .    
switch port 15: .      switch port 16: .      switch port 17: .    
switch port 18: .      switch port 19: .      switch port 20: .    
switch port 21: .      switch port 22: .      switch port 23: .    
switch port 24: .      switch port 25: .      switch port 26: .    
switch port 27: .      switch port 28: .      switch port 29: .    
switch port 30: .      switch port 31: .    

Traffic using asic loopback (L2; all ports at once)...
switch port 0: .       switch port 1: .       switch port 2: .     
switch port 3: .       switch port 4: .       switch port 5: .     
switch port 6: .       switch port 7: .       switch port 8: .     
switch port 9: .       switch port 10: .      switch port 11: .    
switch port 12: .      switch port 13: .      switch port 14: .    
switch port 15: .      switch port 16: .      switch port 17: .    
switch port 18: .      switch port 19: .      switch port 20: .    
switch port 21: .      switch port 22: .      switch port 23: .    
switch port 24: .      switch port 25: .      switch port 26: .    
switch port 27: .      switch port 28: .      switch port 29: .    
switch port 30: .      switch port 31: .    

Traffic using asic loopback (L3; all ports at once)...
switch port 0: .       switch port 1: .       switch port 2: .     
switch port 3: .       switch port 4: .       switch port 5: .     
switch port 6: .       switch port 7: .       switch port 8: .     
switch port 9: .       switch port 10: .      switch port 11: .    
switch port 12: .      switch port 13: .      switch port 14: .    
switch port 15: .      switch port 16: .      switch port 17: .    
switch port 18: .      switch port 19: .      switch port 20: .    
switch port 21: .      switch port 22: .      switch port 23: .    
switch port 24: .      switch port 25: .      switch port 26: .    
switch port 27: .      switch port 28: .      switch port 29: .    
switch port 30: .      switch port 31: .    

Module 1 Passed


Exiting to ios...

Rommon reg: 0x30000180

Running IOS...

Decompressing the image
###########################################################################################################################
###########################################################################################################################
###########################################################################################################################
###########################################################################################################################
######################################################################### [OK]

              Restricted Rights Legend

Use, 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 Drive
           San Jose, California 95134-1706

 

Cisco Internetwork Operating System Software
IOS (TM) Catalyst 4000 L3 Switch Software (cat4000-IS-M), Version 12.1(11b)EW, EARLY DEPLOYMENT RELEASE SOFTWARE (fc2)
TAC Support: http://www.cisco.com/tac
Copyright (c) 1986-2002 by cisco Systems, Inc.
Compiled Tue 14-May-02 13:31 by hqluong
Image text-base: 0x00000000, database: 0x00B1C1F8

cisco WS-C4006 (MPC8245) processor (revision 5) with 262144K bytes of memory.
Processor board ID FOX04169082
Last reset from Reload
32 FastEthernet/IEEE 802.3 interface(s)
18 Gigabit Ethernet/IEEE 802.3 interface(s)
467K bytes of nonvolatile configuration memory.

Uncompressed configuration from 1730 bytes to 4359 bytes


Press RETURN to get started!


00:00:21: %SYS-5-CONFIG_I: Configured from memory by console
00:00:21: %LINK-3-UPDOWN: Interface GigabitEthernet1/2, changed state to up
00:00:21: %SYS-5-RESTART: System restarted --
Cisco Internetwork Operating System Software
IOS (TM) Catalyst 4000 L3 Switch Software (cat4000-IS-M), Version 12.1(11b)EW, EARLY DEPLOYMENT RELEASE SOFTWARE (fc2)
TAC Support: http://www.cisco.com/tac
Copyright (c) 1986-2002 by cisco Systems, Inc.
Compiled Tue 14-May-02 13:31 by hqluong
00:00:21: %SNMP-5-COLDSTART: SNMP agent on host Switch is undergoing a cold start
00:00:22: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet1/2, changed state to down
Switch>
Switch>

第八步:把TFTP server连接到交换机的一个以太网口

使用copy tftp flash:命令把IOS软件传到flash卡里。

Switch#copy tftp flash
Address or name of remote host []? 172.18.125.3
Source filename []? cat4000-is-mz.121-11b.EW
Destination filename [flash]? cat4000-is-mz.121-11b.EW
Loading cat4000-is-mz.121-11b.EW from 172.18.125.3 (via Vlan1): !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[OK - 6516904/13033472 bytes]

6516904 bytes copied in 110.124 secs (59244 bytes/sec)

第九步:检查flash:里的IOS软件

Switch#dir bootflash:
Directory of bootflash:/ 1 -rw- 6516904 Aug 13 2000 13:37:13 cat4000-is-mz.121-11b.EW 61341696 bytes total (54824664 bytes free)
Switch#verify bootflash:cat4000-is-mz.121-11b.EW CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC Verified bootflash:cat4000-is-mz.121-11b.EW
第十步:检查引导信息是否正确,如果正确即可保存重新启动。
Switch#show bootvar BOOT variable = bootflash:cat4000-is-mz.121-11b.EW,1 CONFIG_FILE variable does not exist BOOTLDR variable does not exist Configuration register is 0x2102

 
 

打印本页 || 关闭窗口
公司地址:深圳福田车公庙泰然九路盛唐大厦西2505 广东深圳思科代理商 Cisco代理商 华为3COM代理 华为代理商 NOKIA防火墙代理商 深信服代理 思科CISCO 深信服代理  邮政编码:518040 深圳思科 深圳CISCO H3C 深信服代理
联系电话:0755-82562892  深圳思科代理商 Cisco代理 Email:admin@szqidi.com.cn 深信服代理 深信服
Copyright©2003-2008 版权所有:深圳市前迪科技有限公司 All Rights Reserved.粤ICP09039700号
建议使用:1024*768分辨率,16位以上颜色、IE5.0、Gucci6.0以上版本浏览器