天下网吧 >> 网吧天地 >> 网吧技术 >> 网吧网络 >> 正文

cisco6509 CatOS 转为Native IOS过程

2007-7-12网络本站整理

  引擎:WS-SUP720-3B 主备各一块
  
  线路卡:WS-X6148X2-45AF 五块。
  
  Cisco CompactFlash Memory Card, 128 MB 2块。
  
  该设备原为cisco ios模式,但因当时IOS不支持WS-X6148X2-45AF 线路卡所以采用CatOS模式以支持上述线路卡,后思科推出支持的IOS版本s72033-advipservicesk9_wan-mz.122-18.SXF.bin,客户要求再次改为IOS版本。此两块 CompactFlash Memory Card曾在原IOS模式下格式化过,在此次升级过程中两种模式下(catos和IOS)竟都能写入。以下为升级过程:
  
  1.首先将备份引擎拔下(支持热插拔),在catOS下将IOS映象文件拷入CompactFlash Memory Card 中。因IOS大小为70多兆所以用TFTP无法传也不可靠,所以用FTP传输,输入set ftp username;set ftp password 设置好调用的FTP用户名和密码。执行:
  

  SWITCH_1> (enable) copy ftp disk0:
  IP address or name of remote host <172.21.239.40>?
  Username for ftp?
  Password for User ftp<>:
  Name of file to copy from ? s72033-advipservicesk9_wan-mz.122-18.SXF.bin
  127893504 bytes available on device disk0, proceed (y/n) ? y
  
  Loading s72033-advipservicesk9_wan-mz.122-18.SXF.bin
  
  File disk0:s72033-advipservicesk9_wan-mz.122-18.SXF.bin checksum verified and is Ok.
  File has been copied successfully.
  SWITCH_1> (enable) dir disk0:
  2 -rw- 76599844 Sep 17 2005 09:52:11 s72033-advipservicesk9_wan-mz.122-18.SXF.bin
  
  51290112 bytes available (76603392 bytes used)
  
  2.查看当前交换机启动变量。寄存器值为0x2102,下一步将修改此值为0x0
  

  SWITCH_1> (enable) sh boot
  BOOT variable = bootflash:cat6000-sup720cvk8.8-4-3.bin,1;
  CONFIG_FILE variable = bootflash:switch.cfg
  
  Configuration register is 0x2102
  ignore-config: disabled
  auto-config: non-recurring, overwrite, sync disabled
  ROMMON console baud: 9600
  boot: image specified by the boot system commands
  
  Image auto sync is enabled
  Image auto sync timer is 120 seconds
  
  3.修改寄存器值为0x0
  

  SWITCH_1> (enable) set boot config-register 0x0
  Configuration register is 0x0
  ignore-config: disabled
  auto-config: non-recurring, overwrite, sync disabled
  ROMMON console baud: 9600
  boot: the ROM monitor
  
  4.确认此值已修改,并reset。
  

  SWITCH_1> (enable) sh boot
  BOOT variable = bootflash:cat6000-sup720cvk8.8-4-3.bin,1;
  CONFIG_FILE variable = bootflash:switch.cfg
  
  Configuration register is 0x0
  ignore-config: disabled
  auto-config: non-recurring, overwrite, sync disabled
  ROMMON console baud: 9600
  boot: the ROM monitor
  
  Image auto sync is enabled
  Image auto sync timer is 120 seconds
  
  SWITCH_1> (enable) reset
  
  5.系统重启进入ROMMON模式。输入SET查看环境变量。
  

  System Bootstrap, Version 8.1(3)
  Copyright (c) 1994-2004 by cisco Systems, Inc.
  Cat6k-Sup720/SP processor with 524288 Kbytes of main memory
  
  rommon 1 >
  rommon 2 > set
  PS1=rommon ! >
  LOG_PREFIX_VERSION=1
  SLOTCACHE=cards;
  BSI=0
  ACL_DENY=0
  PF_REDUN_CRASH_COUNT=0
  RET_2_RTS=00:28:49 PDT Thu Jul 14 2005
  RET_2_RCALTS=1121326129
  CONFIG_FILE=bootflash:switch.cfg
  BOOT=bootflash:cat6000-sup720cvk8.8-4-3.bin,1;
  PROFILE_FILE=
  ?=0
  
  6.输入CONFIG_FILE=将该变量值清空。输入sync写入到NVRAM中,再reset,系统重启进入ROMMON模式。
  

  rommon 3> CONFIG_FILE=
  rommon 4> set
  PS1=rommon ! >
  LOG_PREFIX_VERSION=1
  SLOTCACHE=cards;
  BSI=0
  ACL_DENY=0
  PF_REDUN_CRASH_COUNT=0
  RET_2_RTS=00:28:49 PDT Thu Jul 14 2005
  RET_2_RCALTS=1121326129
  BOOT=bootflash:cat6000-sup720cvk8.8-4-3.bin,1;
  PROFILE_FILE=
  ?=0
  CONFIG_FILE=
  rommon 5> SYSNC
  
  monitor: command "SYSNC" not found
  rommon 6> sync
  rommon 7 > reset
  
  System Bootstrap, Version 8.1(3)
  Copyright (c) 1994-2004 by cisco Systems, Inc.
  Cat6k-Sup720/SP processor with 524288 Kbytes of main memory
  
  rommon 1 > dir disk0:
  Directory of disk0:
  
  2 76599844 -rw- s72033-advipservicesk9_wan-mz.122-18.SXF.bin
  
  Disk0中存在我们将要用以启动的IOS映象。
  
  7.启动IOS映象文件。
  

  rommon 2 > boot disk0:s72033-advipservicesk9_wan-mz.122-18.SXF.bin
  Loading image, please wait ...
  
  Self extracting the image...
  Self decompressing the image : ################################################################################
  #################
  以下启动过程略
  System Bootstrap, Version 12.2(17r)S2, RELEASE SOFTWARE (fc1)
  TAC Support: http://www.cisco.com/tac
  Copyright (c) 2004 by cisco Systems, Inc.
  Cat6k-Sup720/RP platform with 524288 Kbytes of main memory
  
  Download Start
  !!!!!!!!!!!!!!!!!!!!
  
  cisco WS-C6509-E (R7000) processor (revision 1.1) with 458720K/65536K bytes of memory.
  Processor board ID SMG0922N0VW
  SR71000 CPU at 600Mhz, Implementation 0x504, Rev 1.2, 512KB L2 Cache
  Last reset from power-on
  SuperLAT software (copyright 1990 by Meridian Technology Corp).
  X.25 software, Version 3.0.0.
  Bridging software.
  TN3270 Emulation software.
  1 Virtual Ethernet/IEEE 802.3 interface
  480 FastEthernet/IEEE 802.3 interfaces
  2 Gigabit Ethernet/IEEE 802.3 interfaces
  1917K bytes of non-volatile configuration memory.
  8192K bytes of packet buffer memory.
  上述启动信息部分省略,完全启动至整个线路卡识别状态为OK,大约用了十多分钟。
  Router#s mod
  Mod Ports Card Type Model Serial No.
  --- ----- -------------------------------------- ------------------ -----------
  1 96 96-port 10/100 Mbps RJ45 WS-X6148X2-RJ-45 SAD091506P4
  2 96 96-port 10/100 Mbps RJ45 WS-X6148X2-RJ-45 SAD09110B0U
  3 96 96-port 10/100 Mbps RJ45 WS-X6148X2-RJ-45 SAD091605JK
  4 96 96-port 10/100 Mbps RJ45 WS-X6148X2-RJ-45 SAD09110B3G
  6 2 Supervisor Engine 720 (Active) WS-SUP720-3B SAD092303GG
  7 96 96-port 10/100 Mbps RJ45 WS-X6148X2-RJ-45 SAD091307AL
  
  Mod MAC addresses Hw Fw Sw Status
  --- ---------------------------------- ------ ------------ ------------ -------
  1 0012.80f1.7648 to 0012.80f1.76a7 1.1 8.2(2) 8.5(0.46)RFW Ok
  2 0012.8005.f3de to 0012.8005.f43d 1.1 8.2(2) 8.5(0.46)RFW Ok
  3 0013.60b2.66cc to 0013.60b2.672b 1.1 8.2(2) 8.5(0.46)RFW Ok
  4 0012.8006.0848 to 0012.8006.08a7 1.1 8.2(2) 8.5(0.46)RFW Ok
  6 0011.5cab.6858 to 0011.5cab.685b 4.4 8.1(3) 12.2(18)SXF Ok
  7 0012.8006.26f8 to 0012.8006.2757 1.1 8.2(2) 8.5(0.46)RFW Ok
  
  8.检查转换后运行的IOS版本,正确无误。
  

  Router#sh ver
  Cisco Internetwork Operating System Software
  IOS (tm) s72033_rp Software (s72033_rp-ADVIPSERVICESK9_WAN-M), Version 12.2(18)SXF, RELEASE SOFTWARE (fc1)
  Technical Support: http://www.cisco.com/techsupport
  Copyright (c) 1986-2005 by cisco Systems, Inc.
  Compiled Sat 10-Sep-05 01:18 by ccai
  Image text-base: 0x40101040, data-base: 0x42D60000
  ROM: System Bootstrap, Version 12.2(17r)S2, RELEASE SOFTWARE (fc1)
  BOOTLDR: s72033_rp Software (s72033_rp-ADVIPSERVICESK9_WAN-M), Version 12.2(18)SXF, RELEASE SOFTWARE (fc1)
  
  9.用IOS格式格式化sup-bootflash
  

  Router#format sup-bootflash:
  Format operation may take a while. Continue?
  Format operation will destroy all data in "sup-bootflash:". Continue?
  Format of sup-bootflash complete
  Router#dir sup-bootflash:
  Directory of sup-bootflash:/
  
  No files in directory
  
  65536000 bytes total (65536000 bytes

欢迎访问最专业的网吧论坛,无盘论坛,网吧经营,网咖管理,网吧专业论坛https://bbs.txwb.com

关注天下网吧微信,了解网吧网咖经营管理,安装维护:


本文来源:网络 作者:本站整理

声明
本文来源地址:0
声明:本站所发表的文章、评论及图片仅代表作者本人观点,与本站立场无关。若文章侵犯了您的相关权益,请及时与我们联系,我们会及时处理,感谢您对本站的支持!联系Email:support@txwb.com.,本站所有有注明来源为天下网吧或天下网吧论坛的原创作品,各位转载时请注明来源链接!
天下网吧·网吧天下
  • 本周热门
  • 本月热门
  • 阅读排行