< Home

state (aaa domain view)

Function

The state command sets the status of an authentication domain.

The undo state command restores the state of a domain.

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

Format

state { active | block }

undo state

Parameters

Parameter Description Value
active Sets the authentication domain to be in active state. -
block Sets the authentication domain to be in block state. -

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.

An authentication domain can be in active or block state. Users cannot access the authentication domain in block state.

Precautions

Online users are not affected when the domain state is set to blocking.

Example

# Set an authentication domain to be in block state.

<sysname> system-view
[sysname] aaa
[sysname-aaa] domain domain1
[sysname-aaa-domain-domain1] state block
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >