Comware Wireless / Unified Series
1753444 Members
4672 Online
108794 Solutions
New Discussion

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

 
SOLVED
Go to solution
raffa
Occasional Advisor

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

2 REPLIES 2
Peter_Debruyne
Honored Contributor
Solution

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.

raffa
Occasional Advisor

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

thanks peter,

 

i really apreciate your help

 

rafael