< Home

reset user-manage hash-table

Function

The reset user-manage hash-table command deletes the redundant entries in the hash table of the user management module that are not included in the database.

Format

reset user-manage hash-table { user | group | security-group }

Parameters

Parameter Description Value
user Indicates that the hash table is deleted based on users. -
group Indicates that the hash table is deleted based on user groups. -
security-group Indicates that the hash table is deleted based on security groups. -

Views

System view

Default Level

2: Configuration level

Usage Guidelines

If entries in the hash table of the memory are inconsistent with those in the database, you need to run this command delete the redundant hash entries. Otherwise, no user can be created. The entries in the hash table are inconsistent with those in the database in the following scenarios:

Scenario 1: A policy in the configuration file references user A but the database does not have the information about user A.

Scenario 2: After a user is created and referenced by a policy, the SPU is removed without saving the configuration file.

Example

# Delete the hash table based on users.

<sysname> system-view
[sysname] reset user-manage hash-table user
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >