< Home

static-user password

Function

The static-user password command sets the password for a static user in authentication.

The undo static-user password command restores the default password for the static user.

By default, the password for a static user in authentication not set.

Format

static-user password cipher password

undo static-user password

Parameters

Parameter

Description

Value

cipher

Displays a password in cipher text.

-

password

Specifies the password of a static user.

The value is a case-sensitive string without question marks (?) or spaces. The password contains 1 to 128 characters in plain text or 48 to 188 characters in cipher text.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

When a static user triggers authentication through an ARP packet, you can run the static-user password command to set the password for the static user. The access device then sends the password to the authentication server.

Precautions

To improve security, change the default password immediately and update the password periodically. It is recommended that the new password contains at least two types of lower-case letters, upper-case letters, numerals, and special characters, and contains at least 6 characters.

This function takes effect only for users who go online after this function is successfully configured.

Example

# Configure the password huawei@123 for static users.

<HUAWEI> system-view
[HUAWEI] static-user password cipher huawei@123
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >