Description:

This document describes how to set a schedule for enabling or disabling the WLAN functionality or individual SSIDs on LANCOM access points and WLAN routers or with a LANCOM WLC.


Requirements:


Procedure:

1) Time server configuration (NTP client)

In order for the LANCOM access point or WLAN router to have the correct time, it must be configured as an NTP client of a time server.

For this purpose an NTP server can be specified under Configuration -> Date & Time -> Synchronization. The addresses of several well-known NTP servers are already defined. Numerous addresses can be configured to achieve redundancy.





2) Scheduled enabling and disabling of the WLAN module

Information:
By disabling a WLAN module in the LANCOM access point or WLAN router, you completely switch off its WLAN capability. All SSIDs configured on the WLAN module cease to be available.

2.1) In LANconfig, open the configuration dialog for the LANCOM access point or WLAN router and navigate to the menu item Configuration -> Date & Time -> General -> Cron table.



2.2) Then click Add.

2.3) For this example, the WLAN module should be switched off daily at 22:00h (Note: 24-hour clock!). To do this, enter the values for Hours and Minutes into the appropriate fields.

More information about the options for cron table configuration are available in the following Knowledge Base document .


2.4) In the Commands field you enter the following syntax to disable the WLAN module:

    set /setup/interface/wlan/operational/wlan-1 no

    Information:
    If your LANCOM access point has two WLAN modules , you address the second WLAN module by replacing wlan-1 with the value wlan-2 .

2.5) Click OK to accept your settings.


    2.6) The WLAN module should be switched on daily at 07:00h , so you need to create a second entry containing the enable command in the following syntax:

    set /setup/interface/wlan/operational/wlan-1 yes



2.7) Close all configuration dialogs and write the changes back to the device.



3) Scheduled enabling and disabling of an SSID

    Information:
    If you operate a WLAN module with several SSIDs (max. 8 SSIDs are possible per module), you can schedule when these are enabled or disabled. The advantage of this is that the WLAN remains functional and only the SSID that is temporarily not required will be switched off.
In this example, on WLAN module 1 the SSID on logical WLAN network 6 should be disabled at 22:00h and enabled at 07:00h.

3.1) Open the menu Configuration -> Date & time -> General -> Cron table and add the following entry.

3.2) In the field Commands, use the following syntax to disable the SSID:
    set /setup/interface/wlan/network/WLAN-1-6 {operating} no



3.3) The SSID should be switched on daily at 07:00h, so you need to create a second entry containing the enable command in the following syntax:

    set /setup/interface/wlan/network/WLAN-1-6 {operating} yes



3.4) Close all configuration dialogs and write the changes back to the device.
    Info:
    If you want to enable or disable SSIDs on a WLAN controller , you need to enter the following commands:
    • Enable SSID:
      set /Setup/WLAN-Management/AP-Configuration/Networkprofiles/<Name of WLAN Profile> {operating} yes
    • Disable SSID:
      set /Setup/WLAN-Management/AP-Configuration/Networkprofiles/<Name of WLAN Profile> {operating} no