Question: How do I deny access to the wireless network based on the time range?
Product and Software: This article applies to all Aruba Mobility Controllers and ArubaOS 3.x and later.
Based on the time ranges configured on the controller, you can deny access to the particular virtual AP profile, so that the AP will deny access to the user.
We can configure a time range to deny access to the network during the night hours of each day.
Using the CLI:
To configure the time-range, issue these commands:
time-range "Nighthours" periodic Daily 21:00 to 23:59
time-range "Nighthours" periodic Daily 00:00 to 07:00
To deny access to a virtual AP:
wlan virtual-ap "Virtual-AP"
Using the GUI:
To configure the time-range, follow these steps:
1) Navigate to Configuration > Security > Access control > Time ranges.
2) Click Add.
3) Enter the Name as Nighthours.
4) Select the type as Periodic if you need the time-range on periodic basis, or select Absolute and then click Add.
5) Click the radio-button daily.
6) Enter the Start time as 21:00 and End time as 23:59. If 07:00 is directly entered, then it will prompt for an error that the End time should not be less than the start time.
7) Click Done and then click Add to have a time range between 00:00 to 07:00 to complete the whole night.
8) Click Apply.
To deny access to a virtual AP, follow these steps:
1) Navigate to Configuration > Wireless > AP configuration > AP group.
2) Select the AP group and click Edit.
3) Click Wireless LAN, expand Virtual AP, and click the particular virtual AP that you want to deny access.
4) From the "deny time range" field, choose Nighthours.
5) Apply and save the configuration.