设为首页 收藏本站
查看: 487|回复: 0

[经验分享] Cisco 瘦ap刷成胖ap

[复制链接]

尚未签到

发表于 2018-7-11 06:23:22 | 显示全部楼层 |阅读模式
  Cisco 从瘦AP回退到胖AP(2010-06-08 20:25:21)转载标签:
  公司有几台AIR1242的胖AP,被人升级成瘦AP在用。今天却急需一个胖AP作测试用,一时找不到,只能想办法把其中一台回退到胖AP。网上都是从胖AP升级到瘦AP的资料,问过CISCO,肯定能回退到胖AP,具体方法自己摸索,费了不少功夫,总算回退成功。
  在AP开机时,按住MODE键,一直到状态灯闪琥珀色,系统会有下面的提示:

  C1240 Boot Loader (C1240-BOOT-M) Version 12.4(13d)JA,>  Technical Support: http://www.cisco.com/techsupport
  Compiled Fri 08-Feb-08 17:28 by prod_rel_team
  ap: Xmodem file system is available.
  flashfs[0]: 0 files, 1 directories
  flashfs[0]: 0 orphaned files, 0 orphaned directories
  flashfs[0]: Total bytes: 15998976
  flashfs[0]: Bytes used: 1024
  flashfs[0]: Bytes available: 15997952
  flashfs[0]: flashfs fsck took 22 seconds.
  Base ethernet MAC Address: 00:1d:70:95:f6:12
  Initializing ethernet port 0...
  Reset ethernet port 0...
  Reset done!
  ethernet link up, 100 mbps, full-duplex
  Ethernet port 0 initialized: link is up
  Unable to get our ip address: no "IP_ADDR" variable set
  The system has been encountered and error initializing
  tftp file system. The system is ignoring the error and
  continuing boot. If you interrupt the system boot process,
  the following commands will set IP_ADDR, DEFAULT_ROUTER
  and NETMASK environment variables, initializing tftp file
  system, and finish loading the operating system software:
  set IP_ADDR
  set DEFAULT_ROUTER
  set NETMASK
  tftp_init
  boot

  button is pressed, wait for button to be>  最后一行的文字,告诉我们松开MODE键就会进入类似init界面
  button pressed for 19 seconds
  process_config_recovery: set IP address and config to default 10.0.0.1
  The system is unable to boot automatically because there
  are no bootable files to boot.
  AP把自己的以太网接口的IP地址设置成10.0.0.1,因为我在上次启动好后,把FLASH格式化了,所以会提示无法自动启动。

  C1240 Boot Loader (C1240-BOOT-M) Version 12.4(13d)JA,>  Technical Support: http://www.cisco.com/techsupport
  Compiled Fri 08-Feb-08 17:28 by prod_rel_team
  ap: set IP_ADDR 10.0.0.1
  ap: set NETMASK 255.0.0.0
  ap: tftp_init
  tftp_init success: You can now use tftp file system!
  如上所示,我们也可以手工更改AP的地址和掩码,并初始化TFTP进程。敲“?”可以看到能够执行的命令行:
  ap: ?r
  ? -- Present list of available commands
  arp -- Show arp table or arp-resolve an address
  boot -- Load and boot an executable image
  cat -- Concatenate (type) file(s)
  clear_ether -- clear ethernet port statistics
  copy -- Copy a file
  delete -- Delete file(s)
  dir -- List files in directories
  dump_save_regs -- dump saved regs in OCM
  etest -- test emac driver code
  ether_init -- initialize ethernet port
  flash_init -- Initialize flash filesystem(s)
  format -- Format a filesystem
  fsck -- Check filesystem consistency
  help -- Present list of available commands
  init_pci -- initialize pci bridge
  led_test -- cycle led patterns
  memory -- Present memory heap utilization information
  mkdir -- Create dir(s)
  more -- Concatenate (display) file(s)
  rename -- Rename a file
  reset -- Reset the system
  reset_gpio -- reset gpio
  rmdir -- Delete empty dir(s)
  set -- Set or display environment variables
  set_baud -- set baud rates
  set_gpio -- set gpio
  set_sleep -- Pause (sleep) for a specified number of seconds
  show_ether -- show ethernet port statistics
  show_pci -- show pci setting
  switch status -- report push button switch status
  tar -- extract or listing a tar file
  test ram -- read at address
  tftp_init -- Initialize tftp file system
  type -- Concatenate (type) file(s)
  unset -- Unset one or more environment variables
  version -- Display boot loader version
  准备好一个AP的IOS镜像文件c1240-k9w7-tar.124-10b.JA3.tar,设置好电脑网卡的IP地址,并启动好TFTP服务器程序。下面是tar命令的参数,
  ap: tar ?
  usage: tar <-table | -xtract> <tar file> <destination>
  用tar -xtract tftp的命令格式:
  ap: tar -xtract tftp://10.0.0.2/c1130-k9w7-tar.124-21a.JY.tar flash:
  extracting info (275 bytes)
  c1240-k9w7-mx.124-10b.JA3/ (directory) 0 (bytes)
  c1240-k9w7-mx.124-10b.JA3/html/ (directory) 0 (bytes)
  c1240-k9w7-mx.124-10b.JA3/html/level/ (directory) 0 (bytes)
  c1240-k9w7-mx.124-10b.JA3/html/level/1/ (directory) 0 (bytes)
  extracting c1240-k9w7-mx.124-10b.JA3/html/level/1/appsui.js (557 bytes)
  extracting c1240-k9w7-mx.124-10b.JA3/html/level/1/back.shtml (498 bytes)
  extracting c1240-k9w7-mx.124-10b.JA3/html/level/1/cookies.js (5026 bytes).
  extracting c1240-k9w7-mx.124-10b.JA3/html/level/1/forms.js (17542 bytes)...
  extracting c1240-k9w7-mx.124-10b.JA3/html/level/1/sitewide.js (16510 bytes)...
  extracting c1240-k9w7-mx.124-10b.JA3/html/level/1/config.js (23370 bytes).....
  extracting c1240-k9w7-mx.124-10b.JA3/html/level/1/stylesheet.css (3214 bytes)
  extracting c1240-k9w7-mx.124-10b.JA3/html/level/1/popup_capabilitycodes.shtml.gz (1016 bytes)
  extracting c1240-k9w7-mx.124-10b.JA3/html/level/1/filter.js.gz (1802 bytes)
  extracting c1240-k9w7-mx.124-10b.JA3/html/level/1/filter_vlan.js.gz (1459 bytes)
  extracting c1240-k9w7-mx.124-10b.JA3/html/level/1/filter_mac_ether.js.gz (1710 bytes)
  extracting c1240-k9w7-mx.124-10b.JA3/html/level/1/security.js.gz (957 bytes)
  extracting c1240-k9w7-mx.124-10b.JA3/html/level/1/vlan.js.gz (955 bytes)
  extracting c1240-k9w7-mx.124-10b.JA3/html/level/1/ssid.js.gz (4107 bytes).
  extracting c1240-k9w7-mx.124-10b.JA3/html/level/1/dot1x.js.gz (982 bytes)
  extracting c1240-k9w7-mx.124-10b.JA3/html/level/1/network-if.js.gz (1967 bytes)
  extracting c1240-k9w7-mx.124-10b.JA3/html/level/1/stp.js.gz (952 bytes)
  extracting c1240-k9w7-mx.124-10b.JA3/html/level/1/ap_assoc.shtml.gz (6121 bytes)
  extracting c1240-k9w7-mx.124-10b.JA3/html/level/1/ap_event-log.shtml.gz (4398 bytes)
  extracting c1240-k9w7-mx.124-10b.JA3/html/level/1/ap_home.shtml.gz (6384 bytes)
  extracting c1240-k9w7-mx.124-10b.JA3/html/level/1/ap_network-if.shtml.gz (4064 bytes)
  extracting c1240-k9w7-mx.124-10b.JA3/html/level/1/ap_network-map.shtml.gz (4357bytes).
  extracting c1240-k9w7-mx.124-10b.JA3/html/level/1/ap_services.shtml.gz (4181 bytes).
  extracting c1240-k9w7-mx.124-10b.JA3/html/level/1/ap_system-sw.shtml.gz (3382 bytes)
  extracting c1240-k9w7-mx.124-10b.JA3/html/level/1/ap_contextmgr.shtml.gz (4187 bytes).
  c1240-k9w7-mx.124-10b.JA3/html/level/1/images/ (directory) 0 (bytes)
  extracting c1240-k9w7-mx.124-10b.JA3/html/level/1/images/ap_title_appname.gif (2115 bytes)
  extracting c1240-k9w7-mx.124-10b.JA3/html/level/1/images/apps_button.gif (1211 bytes)
  extracting c1240-k9w7-mx.124-10b.JA3/html/level/1/images/apps_button_1st.gif (1171 bytes)
  extracting c1240-k9w7-mx.124-10b.JA3/html/level/1/images/apps_button_cbottom.gif (318 bytes)
  extracting c1240-k9w7-mx.124-10b.JA3/html/level/1/images/apps_button_current.gif (1206 bytes)
  extracting c1240-k9w7-mx.124-10b.JA3/html/level/1/images/apps_button_endcap.gif(878 bytes)
  extracting c1240-k9w7-mx.124-10b.JA3/html/level/1/images/apps_button_encap_last.gif (333 bytes)
  extracting c1240-k9w7-mx.124-10b.JA3/html/level/1/images/apps_button_last.gif (386 bytes)
  extracting c1240-k9w7-mx.124-10b.JA3/html/level/1/images/apps_button_nth.gif (1177 bytes)
  extracting c1240-k9w7-mx.124-10b.JA3/html/level/1/images/apps_leftnav_dkgreen.gif (869 bytes)
  extracting c1240-k9w7-mx.124-10b.JA3/html/level/1/images/apps_leftnav_green.gif(879 bytes)
  extracting c1240-k9w7-mx.124-10b.JA3/html/level/1/images/apps_leftnav_upright.gif (64 bytes)
  extracting c1240-k9w7-mx.124-10b.JA3/html/level/1/images/apps_leftnav_yellow.gif (881 bytes)
  extracting c1240-k9w7-mx.124-10b.JA3/html/level/1/images/arrowdown_red.gif (108bytes)
  extracting c1240-k9w7-mx.124-10b.JA3/html/level/1/images/arrowup_green.gif (108bytes)
  extracting c1240-k9w7-mx.124-10b.JA3/html/level/1/images/corner_ur_7.gif (53 bytes)
  extracting c1240-k9w7-mx.124-10b.JA3/html/level/1/images/dkgreenmask11_up.gif (113 bytes)
  extracting c1240-k9w7-mx.124-10b.JA3/html/level/1/images/dkgreenmask28_upright.gif (110 bytes)
  extracting c1240-k9w7-mx.124-10b.JA3/html/level/1/images/grn_vertlines_bottom.gif (149 bytes)
  extracting c1240-k9w7-mx.124-10b.JA3/html/level/1/images/grn_vertlines_top.gif (141 bytes)
  extracting c1240-k9w7-mx.124-10b.JA3/html/level/1/images/hinav_plus.gif (56 bytes)
  extracting c1240-k9w7-mx.124-10b.JA3/html/level/1/images/left_bkg.gif (146 bytes)
  extracting c1240-k9w7-mx.124-10b.JA3/html/level/1/images/list_data.gif (122 bytes)
  extracting c1240-k9w7-mx.124-10b.JA3/html/level/1/images/logo.gif (29454 bytes).....
  extracting c1240-k9w7-mx.124-10b.JA3/html/level/1/images/pixel.gif (49 bytes)
  extracting c1240-k9w7-mx.124-10b.JA3/html/level/1/images/sitewide_downleft.gif (53 bytes)
  extracting c1240-k9w7-mx.124-10b.JA3/html/level/1/images/sitewide_help_off.gif (934 bytes)
  extracting c1240-k9w7-mx.124-10b.JA3/html/level/1/images/sitewide_help_on.gif (934 bytes)
  extracting c1240-k9w7-mx.124-10b.JA3/html/level/1/images/sitewide_print_off.gif(111 bytes)
  extracting c1240-k9w7-mx.124-10b.JA3/html/level/1/images/sitewide_print_on.gif (111 bytes)
  extracting c1240-k9w7-mx.124-10b.JA3/html/level/1/images/spacer.gif (49 bytes)
  extracting c1240-k9w7-mx.124-10b.JA3/html/level/1/images/whitemask11_botleft.gif (62 bytes)
  extracting c1240-k9w7-mx.124-10b.JA3/html/level/1/images/whitemask11_upright.gif (61 bytes)
  extracting c1240-k9w7-mx.124-10b.JA3/html/level/1/images/event_alert.gif (73 bytes)
  extracting c1240-k9w7-mx.124-10b.JA3/html/level/1/images/event_critical.gif (73bytes)
  extracting c1240-k9w7-mx.124-10b.JA3/html/level/1/images/event_debugging.gif (73 bytes)
  extracting c1240-k9w7-mx.124-10b.JA3/html/level/1/images/event_emergency.gif (73 bytes)
  extracting c1240-k9w7-mx.124-10b.JA3/html/level/1/images/event_error.gif (73 bytes)
  extracting c1240-k9w7-mx.124-10b.JA3/html/level/1/images/event_information.gif (73 bytes)
  extracting c1240-k9w7-mx.124-10b.JA3/html/level/1/images/event_notification.gif(73 bytes)
  extracting c1240-k9w7-mx.124-10b.JA3/html/level/1/images/event_warning.gif (73 bytes)
  extracting c1240-k9w7-mx.124-10b.JA3/html/level/1/images/check_mark.gif (71 bytes)
  c1240-k9w7-mx.124-10b.JA3/html/level/15/ (directory) 0 (bytes)
  extracting c1240-k9w7-mx.124-10b.JA3/html/level/15/ap_assoc_adv.shtml.gz (4549 bytes).
  extracting c1240-k9w7-mx.124-10b.JA3/html/level/15/ap_event-log_config-options.shtml.gz (6199 bytes).
  extracting c1240-k9w7-mx.124-10b.JA3/html/level/15/ap_event-log_notif-options.shtml.gz (3186 bytes)
  extracting c1240-k9w7-mx.124-10b.JA3/html/level/15/ap_express-setup.shtml.gz (11413 bytes)..
  extracting c1240-k9w7-mx.124-10b.JA3/html/level/15/ap_express-security.shtml.gz(13959 bytes)...
  extracting c1240-k9w7-mx.124-10b.JA3/html/level/15/def_broadcast-ssid.shtml.gz (1259 bytes)
  extracting c1240-k9w7-mx.124-10b.JA3/html/level/15/def_no-security.shtml.gz (1578 bytes)
  extracting c1240-k9w7-mx.124-10b.JA3/html/level/15/def_eap-security.shtml.gz (1787 bytes)
  extracting c1240-k9w7-mx.124-10b.JA3/html/level/15/def_wep-security.shtml.gz (1593 bytes)
  extracting c1240-k9w7-mx.124-10b.JA3/html/level/15/def_wpa-security.shtml.gz (1849 bytes)
  extracting c1240-k9w7-mx.124-10b.JA3/html/level/15/ap_network-if_ipaddress.shtml.gz (5075 bytes).
  extracting c1240-k9w7-mx.124-10b.JA3/html/level/15/ap_network-if_802-11.shtml.gz (6688 bytes).
  extracting c1240-k9w7-mx.124-10b.JA3/html/level/15/ap_network-if_802-11_b.shtml.gz (6827 bytes).
  extracting c1240-k9w7-mx.124-10b.JA3/html/level/15/ap_network-if_802-11_c.shtml.gz (24103 bytes).....
  extracting c1240-k9w7-mx.124-10b.JA3/html/level/15/dBm_mW_translation_table.shtml.gz (1402 bytes)
  extracting c1240-k9w7-mx.124-10b.JA3/html/level/15/ap_network-if_802-11_d.shtml.gz (4569 bytes).
  extracting c1240-k9w7-mx.124-10b.JA3/html/level/15/ap_system-sw_upgrade-b.shtml.gz (6713 bytes).
  extracting c1240-k9w7-mx.124-10b.JA3/html/level/15/ap_system-sw_upgrade.htm (223 bytes)
  extracting c1240-k9w7-mx.124-10b.JA3/html/level/15/ap_system-sw_upgrade.shtml.gz (6746 bytes).
  extracting c1240-k9w7-mx.124-10b.JA3/html/level/15/ap_system-sw_upgrade_poll.htm (228 bytes)
  extracting c1240-k9w7-mx.124-10b.JA3/html/level/15/ap_system-sw_upgrade_poll.shtml (3590 bytes)
  extracting c1240-k9w7-mx.124-10b.JA3/html/level/15/ap_system-sw_sysconfig.shtml.gz (7150 bytes).
  extracting c1240-k9w7-mx.124-10b.JA3/html/level/15/ap_stationview-client.shtml.gz (6068 bytes).
  extracting c1240-k9w7-mx.124-10b.JA3/html/level/15/ap_contextmgr_ap.shtml.gz (5298 bytes).
  extracting c1240-k9w7-mx.124-10b.JA3/html/level/15/ap_contextmgr_scm.shtml.gz (5793 bytes).
  extracting c1240-k9w7-mx.124-10b.JA3/html/level/15/ap_contextmgr_scm-groups.shtml.gz (8002 bytes).
  extracting c1240-k9w7-mx.124-10b.JA3/html/level/15/ap_contextmgr_scm_summary.shtml.gz (5559 bytes).
  extracting c1240-k9w7-mx.124-10b.JA3/c1240-k9w7-mx.124-10b.JA3 (4546916 bytes)..
  ................................................................................
  ................................................................................
  ................................................................................
  ................................................................................
  ................................................................................
  ................................................................................
  ................................................................................
  ................................................................................
  ................................................................................
  ................................................................................
  ................................................................................
  ................................................................................
  ........................
  extracting c1240-k9w7-mx.124-10b.JA3/7101.img (131328 bytes)....................
  ........
  extracting c1240-k9w7-mx.124-10b.JA3/6701.img (131328 bytes)....................
  ........
  extracting c1240-k9w7-mx.124-10b.JA3/info (275 bytes)
  extracting info.ver (275 bytes)
  ap:
  检查一下flash,文件是否复制好;
  ap: dir flash:
  Directory of flash:/
  2    -rwx  59        <date>               env_vars
  3    -rwx  275       <date>               info
  4    drwx  320       <date>               c1240-k9w7-mx.124-10b.JA3
  154  -rwx  275       <date>               info.ver
  10506240 bytes available (5492736 bytes used)
  输入boot启动AP:
  ap:boot
  ################################################################################
  ################################################################################
  ##########################################################
  File "flash:/c1240-k9w7-mx.124-10b.JA3/c1240-k9w7-mx.124-10b.JA3" uncompressed a
  nd installed, entry point: 0x3000
  executing...
  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 Systems, Inc.
  170 West Tasman Drive
  San Jose, California 95134-1706

  Cisco IOS Software, C1240 Software (C1240-K9W7-M), Version 12.4(10b)JA3,>  SOFTWARE (fc1)
  Technical Support: http://www.cisco.com/techsupport
  Copyright (c) 1986-2008 by Cisco Systems, Inc.
  Compiled Wed 19-Mar-08 18:25 by prod_rel_team
  Image text-base: 0x00003000, data-base: 0x0085EC40
  Initializing flashfs...
  flashfs[1]: 147 files, 7 directories
  flashfs[1]: 0 orphaned files, 0 orphaned directories
  flashfs[1]: Total bytes: 15998976
  flashfs[1]: Bytes used: 5492736
  flashfs[1]: Bytes available: 10506240
  flashfs[1]: flashfs fsck took 4 seconds.
  flashfs[1]: Initialization complete....done Initializing flashfs.
  Radio 1 A506 7100 E8000000 A0000000 80000000 3
  tx_paks 991
  tx_paks 495
  This product contains cryptographic features and is subject to United
  States and local country laws governing import, export, transfer and
  use. Delivery of Cisco cryptographic products does not imply
  third-party authority to import, export, distribute or use encryption.
  Importers, exporters, distributors and users are responsible for
  compliance with U.S. and local country laws. By using this product you
  agree to comply with applicable laws and regulations. If you are unable
  to comply with U.S. and local laws, return this product immediately.
  A summary of U.S. laws governing Cisco cryptographic products may be found at:
  http://www.cisco.com/wwl/export/crypto/tool/stqrg.html
  If you require further assistance please contact us by sending email to
  export@cisco.com.
  cisco AIR-LAP1242AG-C-K9   (PowerPCElvis) processor (revision A0) with 24566K/81
  92K bytes of memory.

  Processor board>  PowerPCElvis CPU at 262Mhz, revision number 0x0950
  Last reset from power-on
  1 FastEthernet interface
  2 802.11 Radio(s)
  32K bytes of flash-simulated non-volatile configuration memory.
  Base ethernet MAC Address: 00:1D:70:95:F6:12
  Part Number                          : 73-10256-07
  PCA Assembly Number                  : 800-26918-06
  PCA Revision Number                  : A0
  PCB Serial Number                    : FOC123103N5
  Top Assembly Part Number             : 800-29152-03
  Top Assembly Serial Number           : FCW1231U04U
  Top Revision Number                  : A0
  Product/Model Number                 : AIR-LAP1242AG-C-K9
  Press RETURN to get started!
  至此,AP成功引导成为一个胖AP。

运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.yunweiku.com/thread-535943-1-1.html 上篇帖子: 故障处理之Cisco UCS6248密码恢复 下篇帖子: Cisco Nexus 7000 connectivity solutions for Cisco UCS
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

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