How to enable/disable WLAN SSID through Command Line and is schedule possible? (612 Views)
Reply
Occasional Advisor
raffa
Posts: 10
Registered: ‎09-14-2009
Message 1 of 3 (612 Views)
Accepted Solution

How to enable/disable WLAN SSID through Command Line and is schedule possible?

good day,

 

two question;

 

1. is it possible to enable or disable the wlan ssid via terminal in the command line? when yes, what command are to use?

2. i would like to schedule the on/off activities of the wlan? does this exist?

 

thanks in advance for the help

 

cheers rafael

Honored Contributor
Peter_Debruyne
Posts: 326
Registered: ‎03-21-2011
Message 2 of 3 (579 Views)

Re: How to enable/disable WLAN SSID through Command Line and is schedule possible?

Hi,

 

yes, you can use the CLI for this.

 

open telnet/ssh connection, enter system-view (sys) and enter the service-template (use the correct id for the ssid you want to manage)

 

[wifi-uni-ac]wlan service-template 1
[wifi-uni-ac-wlan-st-1]dis this
#
wlan service-template 1 clear
 ssid guest
 bind WLAN-ESS 1
#
return
[wifi-uni-ac-wlan-st-1]service-template disable


 

To make a schedule, Comware devices have a built-in job scheduler, which allows you to schedule at a time, do a one-off (one time) or recurring schedule.

This is an example to schedule a one-off to disable the SSID in 1 minute and enable it in 2 minutes:

 


job wifi1-disable
  view wlan-st-1
  time 1 one-off delay 1 command service-template disable
#
job wifi1-enable
  view wlan-st-1
  time 1 one-off delay 2 command service-template enable

 

* Review the time options (time ?) to make the schedule you want.

* the view is a bit confusing, you should first manually enter the context and see how the CLI prompt shows it:

[wifi-uni-ac]wlan service-template 1
[wifi-uni-ac-wlan-st-1]

The part AFTER the system name will be the view name, in this case wlan-st-1 .

 

Hope this helps,
Peter.

Occasional Advisor
raffa
Posts: 10
Registered: ‎09-14-2009
Message 3 of 3 (561 Views)

Re: How to enable/disable WLAN SSID through Command Line and is schedule possible?

thanks peter,

 

i really apreciate your help

 

rafael

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.