

Convert Aruba CAP to IAP
source link: https://iecho.cc/2021/03/22/Convert-Aruba-CAP-to-IAP/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Convert Aruba CAP to IAP
Attention: This article only works for legacy devices like AP-XX
, AP-1XX
, AP-2XX
and AP-3XX
, since the newer models are unified models (including AP-203X
, AP-365
, AP-367
and latest SKUs).
According to the naming schema of Aruba, the CAP stands for Campus AP that used for centralized management, and the IAP stands for Instant AP, which has the ability to self-manage by creating an ad-hoc cluster.
Aruba said that the regulation domain and the IAP/CAP model was constant when an AP was manufactured, however, it’s a trick on the software layer.
Thanks to @shalzz who provide a copy of the Aruba Instant sourcecode, so that we have the opportunity to go deep into.
Inside of the aruba-ap-310-master\sap\flash\ap60_flash_common.h
, you can find the following snippet.
/* country-code = mfg offset + 512 bytes */
#define AP10x_CCODE_OFFSET 0xFE0100 /* CCODE-<ccode>-<sha1> */
#define AP10x_CCODE_SIZE 64 /* 6 (CCODE-) + 7 (<CC>-) + 40 (SHA1) + 11 spare bytes */
Now the answer is clear, the format of CCODE is
CCODE-<Regulatory Domain>-<SHA1(<Regulatory Domain>-<Serial Number>)>
You can find a CCODE calculator here: Aruba Country Code (CCODE) Generator.
Here is the list of regulatory domain.
US
- Restricted Regulatory Domain - USJP
- Restricted Regulatory Domain - JapanIL
- Restricted Regulatory Domain - IsraelRW
orUNRST
- Rest of the World (Unrestricted)
Let’s move on to flash the CCODE.
- Power on the AP with the Console cable installed.
- Hit the
<ENTER>
to interrupt the boot process. - Flash the CCODE into the AP:
proginv system ccode <YOUR_CCODE>
. - Process conversion:
invent -w
. - Obtain IP address from DHCP server by
dhcp
, or you can usesetenv ipaddr <ipaddr>
andsetenv netmask <netmaskip>
to assign a valid IP address manually. - Set the TFTP server IP for downloading OS image:
setenv serverip [TFTP_Server]
. - Upgrade the partition 0 on the flash:
upgrade os 0 ArubaInstant_xxx_6.x.x.x-4.x.x.x_5xxxx
, the file must exists on the TFTP directory. To change the boot partition, see here. By default, partition 0 is the boot partition, while partition 1 is the recovery partition. - Upgrade the partition 1 on the flash:
upgrade os 1 ArubaInstant_xxx_6.x.x.x-4.x.x.x_5xxxx
. - Do a factory reset to clear the configuration remains:
factory_reset
. - Save environment variables to persistent storage:
saveenv
. - Trigger a hardware reset (reboot):
reset
.
See more AP boot commands at Managing AP Console Settings.
Recommend
-
63
IAP,即in-App Purchase ,是一种智能移动终端应用程序付费的模式. 最近笔者的项目中增加了付费内容,要使用IAP,就用这篇文章记录下IAP的开发过程和过程中遇到的一些问题。
-
14
程序内购买流程iTunes Connect商品配置 添加沙箱技术测试员 App内获取购买商品 验证receipt 最近做了iOS程序内购买,封装了一下给上层调用,现在介绍下流程和简单的实现。具体可以看我上传...
-
17
Testing $HOME with Cucumber and Aruba Posted: 2014-04-15 - Last updated: 2019-06-05 Tagged
-
6
聊聊HPE Aruba及其云发展愿景 来源:Forbes 2021-04-22 13:49:54关键字: HPE 我参加了HPE Aruba举...
-
11
Aruba IAP-514 for APoS August 29, 2021 By Rowell Leave a Comment My trusty Aruba IAP-514 ha...
-
10
本文档中AP运行数据指: Aruba MM平台下,AP每Radio连接数量和总连接数量,Channel使用率。 早期是通过shell来实现数据获取,然后trapper到zabbix server.但是有个明显缺点: AP的名称不是LLD实现的,也就是说近百个AP都是人工手动创建的监控主机。
-
9
Aruba Country Code (CCODE) Generator 2022-05-28 03:01:41 # 网络
-
5
Serial Console Cable for Aruba AP-205H Serial Console Cable for Aruba AP-205H 2022-10-17 20:19:14 #网络
-
9
HPE Aruba Networking widens net to include private 5G, SASE and data center networking
-
4
Wednesday, 10 January 2024 12:10 HPE Aruba to acquire Juniper Networks Featured By David M Wil...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK