cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1597
Views
10
Helpful
8
Replies

Time Of Day SSID Disable

GRANT3779
Spotlight
Spotlight

Is there a way within Prime to achieve the following -

 

Create a scheduled task to move APs from one AP Group to another at various times of the day?

1 Accepted Solution

Accepted Solutions

Seb Rupik
VIP Alumni
VIP Alumni

Hi there,

Create a script to access the Prime REST API, in particular "PUT wlanProvisioning/apGroup" would allow you to move APs between AP groups.

https://www.cisco.com/c/en/us/support/cloud-systems-management/prime-infrastructure/products-programming-reference-guides-list.html

 

cheers,

Seb.

View solution in original post

8 Replies 8

Leo Laohoo
Hall of Fame
Hall of Fame

@GRANT3779 wrote:

Create a scheduled task to move APs from one AP Group to another at various times of the day?


Do you know that moving APs from one AP Group to another also means the APs will reboot? 

Why not configure PI to shut down the SSID?

Hi Leo,

Yes aware they will reboot.

It's a bit of a tricky outcome I am trying to achieve (or so I believe, I'm not WiFi expert by any means).

I need an SSID to be shut down on specific APs only. These specific APs are within their own AP Group. I know I could run a script on the switch to just shutdown the AP ports but I need still require these APs to broadcast their other SSIDs.

Hopefully makes sense..

Seb Rupik
VIP Alumni
VIP Alumni

Hi there,

Create a script to access the Prime REST API, in particular "PUT wlanProvisioning/apGroup" would allow you to move APs between AP groups.

https://www.cisco.com/c/en/us/support/cloud-systems-management/prime-infrastructure/products-programming-reference-guides-list.html

 

cheers,

Seb.

Hi Seb,

Thanks for that. Has given me something to look at. This will do what I need and I did not think of going down that route, mainly due to whole API side of things being still new to me.

Will start looking more into the API side of things, now I have a specific reason to.

I can see that creating a script would be achievable, but would need to dig more into how to run it at certain times. Any suggestions on the best way to call scripts / schedule them. Can this be done within Prime itself?

Last time I checked, Prime couldn't call external scripts.

I was thinking more of running a python script from a linux box and scheduling it with a cron job.

 

cheers,

Seb.

Cheers Seb, definitely given me something to look at and think about. Nice one.

I thought this was the way to go, but may depend on the Prime version:

Inventory > Network Devices > Device Type > Wireless Controller > select Controller > Configure > WLANs > Wlan Configuration 

and create a scheduled task 

Hello,

I'm using this procedure,  a cron in Linux sending SNMP to disable WLAN at night,  00:00 and enable at 05:00.

( 18 in blue is the Wlan id )

 

0 5 * * * snmpset -c ****** -t 60 -v 2c WLC_IP_ADDRESS .1.3.6.1.4.1.14179.2.1.1.1.6.18 i 1
0 0 * * * snmpset -c ****** -t 60 -v 2c WLC_IP_ADDRESS .1.3.6.1.4.1.14179.2.1.1.1.6.18 i 0

Review Cisco Networking for a $25 gift card