< Home

ap username

Function

The ap username command sets the user name and password for AP login.

The undo ap username command restores the default user name and password for AP login.

By default, the user name is admin and password is admin@huawei.com.

Format

ap username username password cipher

undo ap username

Parameters

Parameter

Description

Value

username

Specifies the user name for AP login.

The value is a string of 4 to 31 characters. It can contain letters, underscores, and digits, and must start with a letter.

password

Specifies the password for AP login.

-

cipher

Indicates the ciphertext password.

The password can be entered in plaintext or ciphertext:
  • In plaintext, the password is a string of 8 to 128 case-sensitive characters. It must contain at least one uppercase letter, one lowercase letter, and one digit except the question mark (?).
  • In ciphertext, the password is a string of 48 to 188 characters. It must contain at least one uppercase letter, one lowercase letter, and one digit.

Views

WLAN view

Default Level

3: Management level

Usage Guidelines

Unauthorized users may use the default user name and password to log in to APs, causing security risk to APs. You can use the ap username command to change the user name and password to improve security for APs.

It is recommended that you change the user name and password in a timely manner to ensure device security.

The password cannot be the same as the user name or the mirror user name.

Example

# Set the user name to huawei and password to Zz123456.

<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] ap username huawei password cipher
Enter the password (plain-text password of 8-128 characters or cipher-text password of 48-188 characters that must contain at least 
one lowercase letter, one uppercase letter, and one digit): 
Confirm password: 
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >