中文讨论区

Reply
Aruba Employee

如何通过命令行provisioning瘦ap?

先决条件:

为了provisionap,以下条件需要满足:

  1. Ap需要直接连接controller或者是有线网络
  2. 启动中,没有provisionap需要通过dhcp获得ip
  3. Ap必须通过以下的方式之一获得主控制器的ipDHCP选项43DNSADParuba discovery protocol

 

一旦ap发现它的主控制器,就会在ap数据中显示出来,使用命令 show ap database可以确认。比如:

 

(ColinController) #show ap database

 

AP Database

-----------

Name               Group       AP Type   IP Address     Status              Flags  Switch IP     Standby IP

----               -----       -------   ----------     ------              -----  ---------     ----------

00:0b:86:9d:5c:88  default     RAP-155P  10.75.156.82   Up 1d:18h:3m:41s    I      10.75.156.10  0.0.0.0

Flags: U = Unprovisioned; N = Duplicate name; G = No such group; L = Unlicensed

       I = Inactive; D = Dirty or no config; E = Regulatory Domain Mismatch

       X = Maintenance Mode; P = PPPoE AP; B = Built-in AP; s = LACP striping

       R = Remote AP; R- = Remote AP requires Auth; C = Cellular RAP;

       c = CERT-based RAP; 1 = 802.1x authenticated AP; 2 = Using IKE version 2

       u = Custom-Cert RAP; S = Standby-mode AP; J = USB cert at AP

       M = Mesh node; Y = Mesh Recovery

 

Total APs:1

 

Provisioning AP的过程:

  1. 进入配置模式:

#configure terminal

2.清空provisioning ap的列表:

#clear provisioning-ap-lis

3.进入provisioning模式:

#provision-ap

4.获得要provisioningap的当前provisioning参数(新的ap的缺省值)

#read-bootinfo ip-address <AP_ip-address>

注意:进入provisioning-ap-list列表的ap可以用下面的命令显示:

#show provisioning-ap-list

Access Points Provisioning List

-------------------------------

Current IP AP Name AP Group Location name SNMP sysLocation Master Gateway Netmask IP Addr DNS IP Domain Name Server Name Server IP Antenna gain for 802.11a Antenna gain for 802.11g Use external antenna Antenna for 802.11a Antenna for 802.11g IKE PSK PAP User Name PAP Password PPPOE User Name PPPOE Password PPPOE Service Name Mesh Role Latitude Longitude Altitude Antenna bearing for 802.11a Antenna bearing for 802.11g Antenna tilt angle for 802.11a Antenna tilt angle for 802.11g AP Type Serial # AP State

---------- ------- -------- ------------- ---------------- ------ ------- ------- ------- ------ ----------- ----------- --------- ------------------------ ------------------------ -------------------- ------------------- ------------------- ------- ------------- ------------ --------------- -------------- ------------------ --------- -------- --------- -------- --------------------------- --------------------------- ------------------------------ ------------------------------ ------- -------- --------

10.100.135.115 00:0b:86:c0:b7:38 default N/A N/A N/A N/A N/A N/A N/A N/A aruba-master N/A N/A N/A No both both N/A N/A N/A N/A N/A N/A none N/A N/A N/A N/A N/A N/A N/A 65 A90005120 -

Total APs:1

 

5.拷贝approvisioning参数到provisioning 工作空间:

#copy-provisioning-params ip-addr <AP_ip-address>

6.使用provision-ap 的选项配置预期的参数. 常见的包括:

ap-name <AP Name>

ap-group <Group name>

fqln <APname.floor.building.campus>

7.检查provisioned 的选项是否正确:

#show provisioning-params

 

(MM800) (AP provisioning) #show provisioning-params

AP provisioning

---------------

Parameter Value

--------- -----

AP Name mak-ap65

AP Group mak-us

Location name mak-ap65.Floor 1.bldg1.Aruba1344

SNMP sysLocation N/A

Master N/A

Gateway N/A

Netmask N/A

IP Addr N/A

DNS IP N/A

Domain Name N/A

Server Name aruba-master

Server IP N/A

Antenna gain for 802.11a N/A

Antenna gain for 802.11g N/A

Use external antenna No

Antenna for 802.11a both

Antenna for 802.11g both

IKE PSK N/A

PAP User Name N/A

PAP Password N/A

PPPOE User Name N/A

PPPOE Password N/A

PPPOE Service Name N/A

Latitude N/A

Longitude N/A

Altitude N/A

Antenna bearing for 802.11a N/A

Antenna bearing for 802.11g N/A

Antenna tilt angle for 802.11a N/A

Antenna tilt angle for 802.11g N/A

 

 

 8.provisioning参数推给AP

#reprovision ip-addr <AP_ip-address>

9.以上操作会引发ap重启并启动为一个被provisioningap

(MM800) #show ap database

AP Database

-----------

Name Group AP Type IP Address Status Flags Switch IP

---- ----- ------- ---------- ------ ----- ---------

mak-ap65 mak-us 65 10.100.135.115 Up 39s 10.168.83.10

mm-ap61 mm-us 61 10.100.135.113 Up 21h:32m:16s 10.168.82.10

mm-rap70 remote 70 1.1.1.1 Up 21h:32m:38s R 10.168.82.10

Flags: U = Unprovisioned; N = Duplicate name; G = No such group

R = Remote AP; I = Inactive; X = Maintenance Mode; P = PPPoE AP

Total APs:3

Search Airheads
cancel
Showing results for 
Search instead for 
Did you mean: