< Home

username password

Function

The username password command configures the user name and password for logging in to the PM server.

The undo username command deletes the user name and password for logging in to the PM server.

By default, no user name and password for logging in to the PM server are configured.

Format

username user-name password password

undo username

Parameters

Parameter Description Value
user-name Specifies the user name for logging in to a PM server. The name is a string of 1 to 255 case-sensitive characters without spaces.
password Specifies the password for logging in to a PM server.
The value is a string of 1 to 128 characters or a string of 32 to 200 characters. The password can be in plain or cipher text.
  • The password in plain text is a string of 1 to 128 case-sensitive characters without spaces.
  • The password in cipher text is a string of 32 to 200 characters.

The password is displayed in ciphertext in the configuration file regardless of whether it is input in plain or cipher text.

NOTE:

A 24-character ciphertext password configured in an earlier version is also supported in this version.

Views

PM server view

Default Level

2: Configuration level

Usage Guidelines

To log in to a PM server for upload performance statistics files to the PM server, run the username password command to configure the user name and password.

Example

# Configure the user name and password for logging in to the PM server.

<HUAWEI> system-view
[HUAWEI] pm
[HUAWEI-pm] pm-server server1
[HUAWEI-pm-server-server1] username admin password Pwd@123
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic