time-range

time-range {absolute start | periodic { daily | weekday |weekend} to } to }

no time-range

Description

This command allows you to create time range profiles on anInstant APto enable or disable access to an SSID during a specific period of time. Use this command to create a time range profile using theInstantCLI. You can create an absolute time profile to execute once during a specific date and time configured in the profile or create a periodic profile to execute at regular intervals based on the periodicity specified in the configuration. These time based profiles can be applied to existing SSIDs in theInstant AP.

Parameter

Description

name

Enter the profile name for the time range profile.

absolute start { } end { }

The SSID is made available only during the specified date and time range. Configure the following time range parameters:

  • startday—Enter the start date in the mm/dd/yyyy format.
  • starttime—Enter the start time in the hh:mm format.
  • endday—Enter the end date in the mm/dd/yyyy format.
  • endtime—Enter the end time in the hh:mm format.

periodic { } to { }

The availability of the SSID will be periodically changed based on the time range set in the profile. Configure the following time range parameters:

  • startday—Specify any day of the week from Monday to Sunday
  • starttime—Enter the start time in the hh:mm format.
  • endday—Enter the end day for the time range profile.
  • endtime—Enter the end time in the hh:mm format.

周期<每日>(<开始时间>,< endtime >]

  • daily—The time range profile is applied on the SSID on a daily basis.
  • starttime—Enter the start time in the hh:mm format.
  • endtime—Enter the end time in the hh:mm format.

periodic [ to ]

  • weekday—The time range profile is applied only during the weekday
  • starttime—Enter the start time in the hh:mm format.
  • endtime—Enter the end time in the hh:mm format.

periodic [ to ]

  • weekend—The time range profile is applied only during the weekend.
  • starttime—Enter the start time in the hh:mm format.
  • endtime—Enter the end time in the hh:mm format.

no time-range

Removes the time range configuration.

Example

The following example creates an absolute time range profile :

(Instant AP) (config) # time-range test1234 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 test1234 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 test123 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 test12 periodic weekend 10:20 to 10:30

The following example removes the time range configuration:

(Instant AP) (config) # no time-range testhshs12

Related Commands

Command

Description

show time-range

Displays the list of configured time range profiles in theInstant AP.

show time-profile

Displays the information of time range profiles used by variousInstant APfunctions.

Command History

Release

Modification

ArubaInstant8.3.0.0

Command introduced.

Command Information

Platforms

Command Mode

All platforms

Configuration mode.