Aruba Instant – AP boot image upgrade

Aruba Instant – AP boot image upgrade

a way to recover when a corrupted AP image. When the IAP will not fully boot we needed a way to replace the corrupted image via the AP boot menu options. These commands will help others that face the same issue.

The first step is to reboot the AP and break the boot cycle. You will need to press any key when prompted:
APBoot 1.5.5.5 (build 55373)
Built: 2016-06-09 at 11:36:40
Model: AP-32x
DRAM: 491 MB
SF: Detected MX25U3235F with page size 64 kB, total 4 MB
Flash: 4 MB
NAND: 132 MiB
PCIE0: link up
PCIE1: link up
dev fn venID devID class rev MBAR0 MBAR1 MBAR2 MBAR3
00 00 168c 0040 00002 00 00000004 00000000 00000000 00000000
dev fn venID devID class rev MBAR0 MBAR1 MBAR2 MBAR3
00 00 168c 0040 00002 00 00000004 00000000 00000000 00000000
Power: 802.3af POE
In: serial
Out: serial
Err: serial
Net: eth0, eth1
Radio: qca9990#0, qca9990#1
Reset: warm
FIPS: passed
Hit to stop autoboot: 0
apboot>
There are a number of options in the apboot menu:
apboot> ?
? – alias for ‘help’
boot – boot the OS image
clear – clear the OS image or other information
dhcp – invoke DHCP client to obtain IP/boot params
factory_reset – reset to factory defaults
help – print online help
mfginfo – show manufacturing info
osinfo – show the OS image version(s)
ping – send ICMP ECHO_REQUEST to network host
printenv – print environment variables
purgeenv – restore default environment variables
reset – Perform RESET of the CPU
saveenv – save environment variables to persistent storage
setenv – set environment variables
tftpboot – boot image via network using TFTP protocol
upgrade – upgrade the APBoot or OS image
version – display version

In this post I’m going to concentrate on the OS related commands. The first thing we did was clear the corrupt os using the “clear os” command:

apboot> clear os
512 bytes written to volume aos0
Next we validated that partition0 is clear using the “osinfo” command:
apboot> osinfo
Partition 0 does not contain a valid OS image
Partition 1 does not contain a valid OS image

The next step is to get network connectivity. If the network has DHCP available simply type the “dhcp” command:
apboot> dhcp
eth0: link up, speed 1 Gb/s, full duplex
DHCP broadcast 1
DHCP IP address: 172.16.200.10
DHCP subnet mask: 255.255.255.0
DHCP def gateway: 172.16.200.254
DHCP DNS server: 223.5.5.5
DHCP DNS domain:

If DHCP is not available you will need to assign a static IP. Here is a sample of that configuration:
apboot> setenv ipaddr 172.16.200.10
apboot> setenv netmask 255.255.255.0
apboot> setenv gatewayip 172.16.200.254
Now that we are on the network we need to provide the address of the TFTP server. This is accomplished using the “serverip” command:
apboot> setenv serverip
Ensure that a valid IAP image is in the TFTP directory of your server. Make sure you use the correct image for the AP model that you are trying to upgrade. In my example I’m upgrading an IAP-325.
Upgrade the OS using the “upgrade os” command:
apboot> upgrade os ArubaInstant_Hercules_8.3.0.6_69128
eth0: link up, speed 1 Gb/s, full duplex
Using eth0 device
TFTP from server 172.16.200.100; our IP address is 172.16.200.10;sending through gateway 172.16.200.254
Filename ‘ArubaInstant_Hercules_8.3.0.6_69128’.
Load address: 0x44000000
Loading: #################################################################
#################################################################
#################################################################
#######################################
done
Bytes transferred = 15293120 (e95ac0 hex)
Image is signed; verifying checksum… passed
Signer Cert OK
Policy Cert OK
RSA signature verified.
15293120 bytes written to volume aos0
Verifying flash…
Upgrade successful.

Validate the image using the “osinfo” command:
apboot> osinfo
Partition 0:
image type: 0
machine type: 40
size: 15293120
version: 8.3.0.6-8.3.0.6
build string: ArubaOS version 8.3.0.6-8.3.0.6 for Hercules (p4build@pr-hpn-build07) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #69128 SMP Thu Feb 14 08:35:24 UTC 2019
flags: Instant preserve
oem: aruba

Image is signed; verifying checksum… passed
Signer Cert OK
Policy Cert OK
RSA signature verified.
Validate the IAP boot partition is set to the correct partition using “printenv” command. Look for the os_partition variable:
apboot> printenv
os_partition=0
If the partition is not correct, set the os_partition using the “set_env” command:
apboot> setenv os_partition 0

Make sure you save your settings:
apboot> save

Now The IAP should boot with the newly upgraded image.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
该版本,与iap 225,iap 103与之对应的版本配合组网; 版本: ArubaInstant_Orion_6.4.2.6-4.1.3.7_71499 版本日期: 26-7月-2019 发布日期: 26-7月-2019 大小: 6.31 MB Software release ArubaInstant_Orion_6.4.2.6-4.1.3.7_71499 支持的产品: JW288A ARUBA RAP-3WN (RW) 2.4G 2X2:2 11N RAP JW289A ARUBA RAP-3WN (IL) 2.4G 2X2:2 11N RAP JW290A ARUBA RAP-3WN (JP) 2.4G 2X2:2 11N RAP JW291A ARUBA RAP-3WN (US) 2.4G 2X2:2 11N RAP JW292A ARUBA RAP-3WN (RW) 2.4G FIPS/TAA 11N RAP JW293A ARUBA RAP-3WN (US) 2.4G FIPS/TAA 11N RAP JW294A ARUBA RAP-3WNP (RW) 2.4G 2X2:2 11N RAP JW295A ARUBA RAP-3WNP (IL) 2.4G 2X2:2 11N RAP JW296A ARUBA RAP-3WNP (JP) 2.4G 2X2:2 11N RAP JW297A ARUBA RAP-3WNP (US) 2.4G 2X2:2 11N RAP JW298A ARUBA RAP-3WNP (RW) FIPS/TAA 11N RAP JW299A ARUBA RAP-3WNP (US) FIPS/TAA 11N RAP JX689A IAP-3WN-MNT RAP-3 WALL MOUNT KIT JX780A ARUBA IAP-92 (RW) INSTANT 2X2:2 11N AP JX781A ARUBA IAP-92 (US) INSTANT 2X2:2 11N AP JX782A ARUBA IAP-92 (IL) INSTANT 2X2:2 11N AP JX783A ARUBA IAP-92 (JP) INSTANT 2X2:2 11N AP JX784A ARUBA IAP-93 (RW) INSTANT 2X2:2 11N AP JX785A ARUBA IAP-93 (US) INSTANT 2X2:2 11N AP JX786A ARUBA IAP-93 (IL) INSTANT 2X2:2 11N AP JX787A ARUBA IAP-93 (JP) INSTANT 2X2:2 11N AP JX788A ARUBA IAP-104 (RW) INSTANT 2X2:2 11N AP JX789A ARUBA IAP-104 (US) INSTANT 2X2:2 11N AP JX790A ARUBA IAP-104 (JP) INSTANT 2X2:2 11N AP JX791A ARUBA IAP-104 (RW) FIPS/TAA INSTANT AP JX792A ARUBA IAP-104 (US) FIPS/TAA INSTANT AP JX793A ARUBA IAP-105 (RW) INSTANT 2X2:2 11N AP JX794A ARUBA IAP-105 (US) INSTANT 2X2:2 11N AP JX795A ARUBA IAP-105 (IL) INSTANT 2X2:2 11N AP JX796A ARUBA IAP-105 (JP) INSTANT 2X2:2 11N AP JX797A ARUBA IAP-105 (RW) FIPS/TAA INSTANT AP JX798A ARUBA IAP-105 (US) FIPS/TAA INSTANT AP JX811A ARUBA IAP-175P (RW) OUTDOOR INSTANT AP JX812A ARUBA IAP-175P (US) OUTDOOR INSTANT AP JX813A ARUBA IAP-175P (IL) OUTDOOR INSTANT AP JX814A ARUBA IAP-175P (JP) OUTDOOR INSTANT AP JX815A ARUBA IAP-175P (RW) FIPS/TAA INST AP JX816A ARUBA IAP-175P (US) FIPS/TAA INST AP JX817A ARUBA IAP-175AC (RW) OUTDOOR INSTANT AP JX818A ARUBA IAP-175AC (US) OUTDOOR INSTANT AP JX819A ARUBA IAP-175AC (JP) OUTDOOR INSTANT AP JX820A ARUBA IAP-175AC (RW) FIPS/TAA INST AP JX821A ARUBA IAP-175AC (US) FIPS/TAA INST AP JY344A ARUBA IAP-104 (IL) INSTANT 2X2:2 11N AP JY757A ARUBA RAP-3WN (JP) FIPS/TAA 11N RAP JY758A ARUBA RAP-3WNP (JP) FIPS/TAA 11N RAP

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

Qian生缘

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值