找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 2678|回复: 0

cisco air br1310g-ak9-r升级IOS 实战原创

[复制链接]
升级AP IOS的时候 不小心灌了一个IOS 导致 不断的重启。。大概是内存不够吧,怎么办?虽然还能回到ap#模式下,但是仅仅在5,6秒的时间内就会自动重启动,我把灌进去的IOS给delete 了。。原来的IOS 在灌新的IOS 的时候 因为空间的原因 所以也早就delete 了。。所以里面等于是根本没有IOS 了,结果boot 后 回到了 类似router 的rommon> 模式下,当然在AP 上 是 “ap:" 模式下

ap:

问了一下命令
ap: ?
          ? -- 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)
       read -- read at address
   rename -- Rename a file
-- MORE --
   reset -- Reset the system
   rmdir -- Delete empty dir(s)
      set -- Set or display environment variables
set_baud -- set baud rates
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
   write -- write at address

发现 有set的指令,逐如下配置,和router 上类似

配置ip 地址
ap: set IP_ADDR 1.1.1.1     (配置ap本地地址)
ap: set NETMASK 255.255.255.0
ap: set DEFAULT_ROUTER 1.1.1.2 (tftp address)

ap: tftp_init

ap: BOOT=tftp://1.1.1.2/c1300-k9w7-mx.123-2.JA

这时候你可以看看set 的情况

ap:set

BOOT=tftp://1.1.1.2/c1300-k9w7-mx.123-2.JA
DEFAULT_ROUTER=1.1.1.2
ENABLE_BREAK=yes
IOS_STATIC_IP_ADDR=1.1.1.1
IOS_STATIC_NETMASK=255.255.255.0  
IP_ADDR=1.1.1.1
MANUAL_BOOT=no
NETMASK=255.255.255.0


然后手动的boot
ap:boot
Loading "tftp://43.82.33.2/c1300-k9w7-mx.123-2.JA"...#########################################################################################################################################################################################################################################################################################################################################################################

File "tftp://43.82.33.2/c1300-k9w7-mx.123-2.JA" uncompressed and 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 Internetwork Operating System Software
IOS (tm) C1300 Software (C1300-K9W7-M), Version 12.3(2)JA, RELEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2004 by cisco Systems, Inc.
Compiled Mon 08-Nov-04 12:47 by ccai
Image text-base: 0x00003000, data-base: 0x0064854C

Initializing flashfs...

flashfs[1]: 138 files, 7 directories
flashfs[1]: 0 orphaned files, 0 orphaned directories
flashfs[1]: Total bytes: 7741440
flashfs[1]: Bytes used: 1149440
flashfs[1]: Bytes available: 6592000
flashfs[1]: flashfs fsck took 2 seconds.
flashfs[1]: Initialization complete....done Initializing flashfs.

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-br1300-IOS-UPGRD (PowerPC405GP) processor with 14326K/2048K bytes of memory.
Processor board ID VDF0652Q0WL
PowerPC405GP CPU at 196Mhz, revision number 0x00C4
Last reset from power-on
Bridging software.
1 FastEthernet/IEEE 802.3 interface(s)
1 802.11 Radio(s)

32K bytes of flash-simulated non-volatile configuration memory.
Base ethernet MAC Address: 00:0B:BE:B0:03:B7
Part Number                          : 0-0000-00
PCA Assembly Number                : 000-00000-00
PCA Revision Number                :
PCB Serial Number                    : VDF0652Q0WL
Top Assembly Part Number          : 000-00000-00
Top Assembly Serial Number           :
Top Revision Number                :
Product/Model Number                 : AIR-AP1220-IOS-UPGRD



Press RETURN to get started!


*Mar   1 00:00:05.828: %LINK-3-UPDOWN: Interface FastEthernet0, changed state to up
*Mar   1 00:00:06.829: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0, changed state to down
*Mar   1 00:00:14.749: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0, changed state to up
*Mar   1 00:00:24.967: %SYS-5-RESTART: System restarted --
Cisco Internetwork Operating System Software
IOS (tm) C1300 Software (C1300-K9W7-M), Version 12.3(2)JA, RELEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2004 by cisco Systems, Inc.
Compiled Mon 08-Nov-04 12:47 by ccai
*Mar   1 00:00:24.967: %SNMP-5-COLDSTART: SNMP agent on host ap is undergoing a cold start
*Mar   1 00:00:25.007: %DOT11-6-FREQ_SCAN: Interface Dot11Radio0, Scanning frequencies
*Mar   1 00:00:25.928: %LINEPROTO-5-UPDOWN: Line protocol on Interface BVI1, changed state to up
*Mar   1 00:00:25.980: %LINEPROTO-5-UPDOWN: Line protocol on Interface Dot11Radio0, changed state to down
*Mar   1 00:00:26.988: %DOT11-6-FREQ_SCAN: Interface Dot11Radio0, Scanning frequencies
*Mar   1 00:00:27.011: %DOT11-6-FREQ_SCAN: Interface Dot11Radio0, Scanning frequencies
*Mar   1 00:00:48.294: %DOT11-6-FREQ_INUSE: Interface Dot11Radio0, frequencies in use: 2412 2437 2452
*Mar   1 00:00:48.294: %DOT11-6-FREQ_USED: Interface Dot11Radio0, frequency 2422 selected
*Mar   1 00:00:48.298: %LINK-3-UPDOWN: Interface Dot11Radio0, changed state to up
*Mar   1 00:00:49.299: %LINEPROTO-5-UPDOWN: Line protocol on Interface Dot11Radio0, changed state to up
ap>en
Password:
ap#



嘿嘿,虽然和router 在roomon> 模式下类似。。但是实战中一下子遇到 一时间还真有点 冒汗...客户在边上看着呢。。



其实一开始 因为还能回到ap# 模式下的,只是由于时间太短,仅仅5秒的时间 就会重启动,所以一时间没想到用tftp 去load IOS

以后可以在 记事本上编辑这样的命令 就可以了

ap#
ap#conf t
Enter configuration commands, one per line.   End with CNTL/Z.
ap(config)#
ap(config)#boot sy
ap(config)#boot system tftp://43.82.33.2/c1300-k9w7-mx.123-2.JAap(config)#do wr
ap#reload
Proceed with reload? [confirm]
Radio system: delayed or multiple reload request, ignored
Radio system is preparing for reload...
Radio system is ready for reload.
*Mar   1 00:01:43.081: %SYS-5-RELOAD: Reload requested by console. Reload Reason: Reload command.Xmodem file system is available.
flashfs[0]: 139 files, 7 directories
flashfs[0]: 0 orphaned files, 0 orphaned directories
flashfs[0]: Total bytes: 7741440
flashfs[0]: Bytes used: 1150976
flashfs[0]: Bytes available: 6590464
flashfs[0]: flashfs fsck took 9 seconds.
Reading cookie from flash parameter block...done.
Base ethernet MAC Address: 00:0b:be:b0:03:b7
Initializing ethernet port 0...
Reset ethernet port 0...
Reset done!
ethernet link up, 100 mbs, full-duplex
Ethernet port 0 initialized: link is up
Loading "tftp://43.82.33.2/c1300-k9w7-mx.123-2.JA"...#########################################################################################################################################################################################################################################################################################################################################################################
Sample Text

我的恩山、我的无线 The best wifi forum is right here.
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

欢迎大家光临恩山无线论坛上一条 /1 下一条

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-4-29 12:25

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

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