< Home

state (administrator view)

Function

The state command specifies the status of an administrator account.

Format

state { active | block }

Parameters

Parameter Description Value
active Indicates that an administrator account is available. -
block Indicates that an administrator account is unavailable. -

Views

Administrator view

Default Level

2: Configuration level

Usage Guidelines

The state block command only prevents subsequent administrators from logging in to the FW. This command can be used to block an administrator account temporarily.

The default administrator account is active.

Example

# Block an administrator account named abc.

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