IOSが起動しなくなった場合の復旧方法
ap: set BOOT=flash:/c1200-rcvk9w8-mx/c1200-rcvk9w8-mx DEFAULT_ROUTER=10.0.0.1 DEVIATION_NUM=00 00 DOT11_DEVICE_TYPE=4C DOT11_ENCRYPTION_CONFIG=0002 DOT11_MAX_ASSOCIATION=2007 FAB_PART_NUM=1C ** ** ** IOS_DEFAULT_DOMAIN_NAME= IOS_STATIC_DEFAULT_GATEWAY=192.168.**.** IOS_STATIC_IP_ADDR=192.168.**.** IOS_STATIC_NETMASK=255.255.255.0 IP_ADDR=192.168.**.** MAC_ADDR=00:0F:34:**:**:** MAC_ADDR_BLOCK_SIZE=00 02 MANUAL_BOOT=no NETMASK=255.255.255.0 PCA_ASSY_NUM_800=** ** ** ** ** ** PCA_PART_NUM_73=** ** ** ** PCA_REVISION_NUM=B0 PCA_REVISION_NUM_800=A0 PCB_SERIAL_NUM=FOC******** PRODUCT_MODEL_NUM=AIR-AP1231G-J-K9 RELOAD_REASON=36 RMA_HISTORY=00 RMA_NUMBER=00 00 00 00 RMA_TEST_HISTORY=00 SYSTEM_REVISION_NUM_800=B0 SYSTEM_SERIAL_NUM=FHK******** TERMLINES=0 TOP_ASSY_NUM_800=** ** ** ** ** ** TOP_ASSY_SERIAL_NUM=FHK******
flashの中の確認
dir flash:
flashのイニシャライズ(必要な場合おこなう)
flash_init
必要なIPアドレスを付ける
set IP_ADDR 192.168.80.7 set NETMASK 255.255.255.0 tftp_init ether_init
tftpサーバ上にあるIOSをダウンロードする
tar -xtract tftp://192.168.**.**/c1200-k9w7-tar.123-8.JA2.tar flash:
単純にIOSだけの転送でよい場合
copy tftp://.../file flash:
という感じでOK
必要ならば、configのダウンロードもおこなう
copy tftp://192.168.**.**/aironet-config.txt flash:/config.txt
転送後、自動起動をするか、IOSのファイルを指定する
※ 自動起動するファイル名は dir flash: で見れば良い。
set BOOT flash:/c1200-k9w7-mx.123-8.JA2/c1200-k9w7-mx.123-8.JA2 set MANUAL_BOOT no
再起動
reset
? -- 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 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