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).
state (AAA domain view)

state (AAA domain view)

Function

The state command configures the state of a domain.

The undo state command restores the state of a domain.

By default, a domain is in active state after being created.

Format

state { active | block [ time-range time-name &<1-4> ] }

undo state [ block time-range [ time-name &<1-4> ] ]

Parameters

Parameter

Description

Value

active

Sets the domain state to active.

-

block

Sets the domain state to blocking.

-

time-range time-name

Indicates the block time range of the domain.

time-name specifies the name of the block time range. If this parameter is not specified, the domain is always blocked.

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

AAA domain view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

If exceptions occur during service configuration, set the domain in blocking state to block access of new users. After the service configuration is complete, set the domain in active state.

Prerequisite

Before specifying the time-name parameter, ensure that the time range has been created using the time-range command.

Precautions

After the state block command is run to set the domain state to block, online users in the domain are not affected.

After the state block time-range command is run to set the state of a domain including online users to block, the domain state turns from active to block within the specified time range, and online users are forced to go offline.

Example

# Set the state of the domain vipdomain to blocking.

<Huawei> system-view
[Huawei] aaa
[Huawei-aaa] domain vipdomain
[Huawei-aaa-domain-vipdomain] state block

# Set the name of the time range in which the vipdomain domain state turns to block to tim.

<Huawei> system-view
[Huawei] aaa
[Huawei-aaa] domain vipdomain
[Huawei-aaa-domain-vipdomain] state block time-range tim
Warning: This operation may cause online users to go offline. Continue? [Y/N]Y
Related Topics
Translation
Download
Updated: 2019-11-21

Document ID: EDOC1100064352

Views: 199142

Downloads: 122

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