< Home

user (VPN Database View)

Function

The user command adds a user.

The undo user command deletes a user.

Format

user user-name

undo user user-name

Parameters

Parameter Description Value
user-name Specifies the user name.

If the login name does not contain any space, its length ranges from 1 to 128. If the login name contains spaces, its length ranges from 3 to 130, and you must enclose the name with double quotation marks ("), for example, "user for test". The name cannot start or end with any spaces.

When a user in a non-default authentication domain is specified, the user name must carry "@authentication-domain-name." For example, user1@test indicates user1 in the test authentication domain.

Views

VPN database view

Default Level

2: Configuration level

Usage Guidelines

None

Example

# Add a user named aa.

<sysname> system-view
[sysname] v-gateway gateway
[sysname-gateway] vpndb
[sysname-gateway-vpndb] user aa
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >