No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Fat AP and Cloud AP V200R010C00 Command Reference

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
auto-off service

auto-off service

Function

The auto-off service command enables the scheduled VAP auto-off function and sets the time range within which the VAP is disabled.

The undo auto-off service command disables the scheduled VAP auto-off function.

By default, the scheduled VAP auto-off function is disabled.

Format

auto-off service start-time start-time end-time end-time

auto-off service time-range time-range-name

undo auto-off service

Parameters

Parameter

Description

Value

start-time start-time

Specifies the time when a VAP starts to be disabled.

The time is in hh:mm:ss format. hh indicates the hour that is an integer ranging from 0 to 23. mm indicates the minute that is an integer ranging from 0 to 59. ss indicates the second that is an integer ranging from 0 to 59.

end-time end-time

Specifies the time when a VAP stops being disabled.

The time is in hh:mm:ss format. hh indicates the hour that is an integer ranging from 0 to 23. mm indicates the minute that is an integer ranging from 0 to 59. ss indicates the second that is an integer ranging from 0 to 59.

time-range time-range-name

Specifies the name of a time range when a VAP is disabled.

The value is a string of 1 to 32 case-sensitive characters and must begin with a letter. In addition, the word all cannot be specified as a time range name.

Views

VAP profile view, 2G radio profile view, 5G radio profile view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

When an enterprise does not want employees to access the internal WLAN from 01:00 to 05:00, the administrator can run the auto-off service command to enable the scheduled VAP auto-off function.

Precautions

  • After the service mode of a VAP is enabled using the undo service-mode disable command, you can run the auto-off service command to configure the scheduled VAP auto-off function. In the scheduled time, the VAP is disabled and cannot be enabled using the undo service-mode disable command. To enable the VAP, run the undo auto-off service command.

  • The scheduled VAP auto-off function takes effect in the scheduled time only after the undo service-mode disable command is executed. If the service mode of a VAP is disabled using the service-mode disable command, the VAP auto-off function does not take effect.

  • You can run the auto-off service time-range time-range-name command to set the time range when a VAP is disabled.

  • The scheduled VAP auto-off function enabled in a VAP profile view takes effect only on the APs using the VAP profile, and the scheduled VAP auto-off function enabled in a radio profile view takes effect only on the APs using the radio profile.
  • auto-off service, start-time start-time, end-time end-time, and auto-off service time-range time-range-name cannot be configured at the same time.

Example

# Configure the scheduled VAP auto-off function in the VAP profile vap1, and configure the VAP to be disabled from 1:00:00 to 7:00:00.

<Huawei> system-view
[Huawei] wlan 
[Huawei-wlan-view] vap-profile name vap1
[Huawei-wlan-vap-prof-vap1] auto-off service start-time 1:00:00 end-time 7:00:00
# Configure the scheduled VAP auto-off function in the 2G radio profile default, and configure the VAP to be disabled from 1:00:00 to 7:00:00.
<Huawei> system-view
[Huawei] time-range VAP 1:00 to 7:00 daily
[Huawei] wlan 
[Huawei-wlan-view] radio-2g-profile name default
[Huawei-wlan-radio-2g-prof-default] auto-off service time-range VAP
Translation
Download
Updated: 2019-11-21

Document ID: EDOC1100064352

Views: 195095

Downloads: 118

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Share
Previous Next