script for changing "capwap client server name"

  • 1
  • Question
  • Updated 1 year ago

I am looking for a way to change and save the "HiveManager Primary Name" in about 2500 AP's which are installed in about 200 locations. The AP's are managed by our own HiveManager. At every location I have access to a linux-server, so if this is not possble through the HM, the preferred way seems to be to create a script (bash, perl). I can send commands through ssh but all methods I know to send multiple commands (i.e. "capwap client server name servername" and "save config") don't work.

Any advice on how to approach this is very welcome as I don't want to spend the next two weeks ssh-ing into al the AP's and changing the value by hand.

Photo of Maxim van Luttikhuizen

Maxim van Luttikhuizen

  • 2 Posts
  • 1 Reply Like

Posted 1 year ago

  • 1
Photo of Carsten Buchenau

Carsten Buchenau, Champ

  • 356 Posts
  • 117 Reply Likes
Easiest way is by GUI, actually:

- In Monitor, select all devices you want to move, then click Modify
- Open the Optional Settings / Credentials area
- Scroll down to CAPWAP configuration
- Add the address object of your new Hivemanager to "Primary CAPWAP Server":

Photo of Maxim van Luttikhuizen

Maxim van Luttikhuizen

  • 2 Posts
  • 1 Reply Like

Ah.. facepalm moment. Thank you very much, works like a charm.