How do I change the boot partition of an Aruba Instant AP (IAP)?

Aruba Employee

Product and Software: This article applies to Aruba Instant platforms and versions.


When the code on an Aruba Instant AP (IAP) must be rolled back to older code, it can be done from the apboot> console. With IAP, the boot parameter has the configurable option os_partition, which can be used to toggle between OS partitions 0 / 1. For example, setenv os_partition 0 configures the AP to boot from boot partition 0.

 

Printenv output with os_partition option highlighted:

 

apboot> printenv

bootdelay=2

baudrate=9600

autoload=n

boardname=Talisker

servername=aruba-master

bootcmd=boot ap

autostart=yes

bootfile=mips32.ari

ethaddr=00:24:6c:c8:ab:79

ethact=eth0

ipaddr=10.130.227.77

netmask=255.255.255.0

gatewayip=10.130.227.100

serverip=10.130.227.191

name=iAP1

os_partition=1

stdin=serial

stdout=serial

stderr=serial

 

Configuring the setenv option and the boot process:

 

apboot> setenv os_partition 0

apboot> save

Saving Environment to Flash...

Un-Protected 1 sectors

.done

Erased 1 sectors

Writing

apboot> boot

Booting OS partition 0

 

Note that the option is persistent and cannot be cleared by the purgeenv command.

 

apboot> purgeenv

preserving os_partition (1)

Un-Protected 1 sectors

.done

Erased 1 sectors

Writing

Un-Protected 1 sectors

.done

Erased 1 sectors

Writing

apboot> print

bootdelay=2

baudrate=9600

autoload=n

boardname=Talisker

servername=aruba-master

bootcmd=boot ap

autostart=yes

bootfile=mips32.ari

ethaddr=00:24:6c:c8:ab:79

os_partition=1

Version history
Revision #:
1 of 1
Last update:
‎07-02-2014 04:13 PM
Updated by:
 
Labels (1)
Contributors
Search Airheads
cancel
Showing results for 
Search instead for 
Did you mean: