Configuring Time Based Services
This chapter describes time range profiles and the procedure for configuring time based services. It includes the following topics:
| Time Range Profiles |
| Configuring a Time Range Profile |
| Applying a Time Range Profile to a WLAN SSID |
| Verifying the Configuration |
In Instant 6.4.3.4-4.2.1.0, IAPs allow you to enable or disable an SSID for users at a particular time of the day. You can now create a time range profile and assign it to a WLAN SSID, so that user access to the Internet or network is restricted during a specific time period.
IAPs support the configuration of both absolute and periodic time range profiles. You can configure an absolute time range profile to execute during a specific time frame or create a periodic profile to execute at regular intervals based on the periodicity specified in the configuration.
The following configuration conditions apply to the time-based services:
| Time-based services require an active NTP server connection. IAPs use the default NTP server for time synchronization. However, the administrators can also configure an NTP server on the IAP. To verify the time synchronization between the NTP server and the IAP, execute the command and check if the time on the NTP server is in synchronization with the local time. For more information on NTP server configuration, see NTP Server. |
| For a time range profile configured to IAP: | the SSID on the
| When the timer starts, if the current time is greater than the start time and lesser than the end time, the SSID will be brought UP. If the SSID is already UP, then there is no effect on the SSID. |
| When the timer ends, If the current time is greater than the end time, the SSID is brought DOWN. If the SSID is already DOWN, then there is no effect on the SSID. |
| For a time range profile configured to IAP: | the SSID on the
| When the timer starts, if the current time is greater than the start time and lesser than the end time, the SSID will be brought DOWN. If the SSID is already DOWN, then there is no effect on the SSID. |
| When the timer ends, If the current time is greater than the end time, the SSID is brought UP. If the SSID is already UP, then there is no effect on the SSID. |
You can create Time Range Profiles using the Instant UI or CLI.
1. | Navigate to | > > .
2. | Click | under Time Range Profiles. The window for creating time range profiles is displayed. Configure the parameters listed in the following table:
Parameter | Description |
---|---|
|
Specify a name for the time range profile. |
|
Select the type of time range profile. IAP changes based on the time range configured in the profile. — When configured, the state of theIAP changes during a specific date / day and time. —When configured, the state of the |
|
For periodic time range profiles, specify a periodic interval (day / weekday / weekend / daily) at which the time range profile must be applied. |
and |
For absolute time range profiles, specify the start day and end day to configure a specific time period during which the time range profile is applied. The year selected for the Start Day and End Day cannot exceed the year 2037. |
|
Select the start time for the time range profile in the hh:mm format. |
|
Choose the end time for the time range profile in hh:mm format. |
3. | Click | .
To create an absolute time range profile:
(Instant AP)(config)# time-range <name> absolute start <startday> <starttime> end <endday> <endtime>
(Instant AP)(config)# end
(Instant AP)# commit apply
To configure a periodic time range profile:
(Instant AP)(config)# time-range <name> periodic {<startday>| daily| weekday| weekend} <starttime> to <endtime>
(Instant AP)(config)# end
(Instant AP)# commit apply
To apply a time range profile to a WLAN SSID in the Instant UI:
1. | Navigate to the WLAN SSID profile configuration wizard (click Network> or > or select the WLAN SSID> click ). |
2. | Click | .
3. | Click | , select a time range profile from the list and select a value from the drop-down list, and then click .
| When a time range profile is enabled on SSID, the SSID is made available to the users for the configured time range. For example, if the specified time range is 12:00 to 13:00, the SSID becomes available only between 12 PM to 1 PM on a given day. |
| If a time range is disabled, the SSID becomes unavailable for the configured time range. For example, if configured time-range is 14:00 to 17:00, the SSID is made unavailable from 2 PM to 5 PM on a given day. |
4. | Click | and then click .
|
If the SSID has two time profiles enabled with an overlapping duration, the time range profile will be executed as per the configuration conditions described earlier in this chapter. For example, if profile1 has 9AM-12PM as the duration and the time-range configured for profile2 is 10AM-11AM and both are enabled on the SSID, the SSID becomes available only between 9AM-11AM. |
To enable a time profile on an SSID:
(Instant AP)(config)# wlan ssid-profile <name>
(Instant AP)(SSID Profile "<name>")# time-range <name> enable
(Instant AP)(SSID Profile "<name>")# end
(Instant AP)# commit apply
To disable a time profile on an SSID:
(Instant AP)(config)# wlan ssid-profile <name>
(Instant AP)(SSID Profile "<name>")# time-range <name> disable
(Instant AP)(SSID Profile "<name>")# end
(Instant AP)# commit apply
To view the time range profiles created on a
(Instant AP) (config) # show time-range
Time Range Summary
------------------
Profile Name Type Start Day Start Time End Day End Time Valid
------------ ---- --------- ---------- ------- -------- -----
test Periodic daily 13:00 - 14:00 No
test1 Absolute 11/17/2015 10:00 11/24/2015 17:00 No
Lunchbreak Periodic weekday 12:00 - 13:00 No
Lunchbreak1 Periodic daily 12:00 - 13:00 No
To verify if the time range profile is enabled on an SSID:
(Instant AP)(config) # show time-profile
Time Range SSID Profile
-----------------------
Time Profile Name SSID profile Name Enable/Disable
----------------- ----------------- --------------
Lunch Break Test123 Enable
The following example creates an absolute time range profile :
(Instant AP)(config) # time-range timep1 absolute start 10/20/2013 10:40 end 10/20/2015 10:50
The following example creates a periodic time range profile that executes on the specified day of the week:
(Instant AP)(config) # time-range timep2 periodic monday 10:40 to tuesday 10:50
The following example creates a periodic time range profile that executes daily:
(Instant AP)(config) # time-range testhshs12 periodic daily 10:20 to 10:35
The following example creates a periodic time range profile that executes during the weekday:
(Instant AP)(config) # time-range timep3 periodic weekday 10:20 to 10:35
The following example creates a periodic time range profile that executes during the weekend:
(Instant AP)(config) # time-range timep4 periodic weekend 10:20 to 10:30
The following example removes the time range configuration:
(Instant AP)(config) # no time-range testhshs12