No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Fit AP V200R010C00 Command Reference

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
display local-user

display local-user

Function

The display local-user command displays information about local users.

NOTE:

Only branch APs support this command.

Format

display local-user [ domain domain-name | state { active | block } | username user-name ] *

Parameters

Parameter

Description

Value

domain domain-name

Displays information about local users in a specified domain.

The domain name must already exist.

state { active | block }
Displays the attributes of local users in the specified state.
  • active: indicates the active state.
  • block: indicates the blocking state.

-

username user-name

Displays information about a specified local user name.

The user name must already exist.

Views

All views

Default Level

3: Management level

Usage Guidelines

Usage Scenario

The display local-user command output helps you check the configuration of local users and isolate faults related to the local users.

Precautions

If no parameter is specified, brief information about all local users is displayed. If a parameter is specified, detailed information about the specified local user is displayed.

Low-level users cannot view information about high-level users.

Example

# Display brief information about local users.

<Huawei> display local-user
  ----------------------------------------------------------------------------
  User-name                      State  AuthMask  AdminLevel
  ----------------------------------------------------------------------------
  user-a                         A      A         0
  user-c                         A      A         0
  ----------------------------------------------------------------------------
  Total 2 user(s) 
# Display detailed information about the local user user-a.
<Huawei> display local-user username user-a
  The contents of local user(s):
  Password             : ****************
  State                : active
  Service-type-mask    : A
  Privilege level      : -
  Ftp-directory        : -
  Access-limit         : Yes
  Access-limit-max     : 4294967295
  Accessed-num         : 0
  Idle-timeout         : -
  User-group           : -
  Original-password    : No
  Password-set-time    : 2019-12-01 18:42:57+01:00 DST
  Password-expired     : No 
  Password-expire-time : - 
  Account-expire-time  : -   
# Display information about local user user1 who fails to log in to the device.
<Huawei> display local-user username user1                                                                                               
  The contents of local user(s):                                                                                                    
  Password             : ****************                                                                                           
  State                : active                                                                                                     
  Service-type-mask    : T                                                                                                          
  Privilege level      : 0                                                                                                          
  Ftp-directory        : -                                                                                                          
  HTTP-directory       : -                                                                                                          
  Access-limit         : -                                                                                                          
  Accessed-num         : 0                                                                                                          
  Idle-timeout         : -                                                                                                          
  Retry-interval       : 4 Min(s)                                                                                                   
  Retry-time-left      : 1                                                                                                          
  Original-password    : Yes                                                                                                        
  Password-set-time    : 2019-01-27 13:26:55+08:00                                                                                  
  Password-expired     : No                                                                                                         
  Password-expire-time : -                                                                                                          
  Account-expire-time  : -
# Display information about local user user1 whose initial password fails to be changed.
<Huawei> display local-user username user1
  The contents of local user(s):                                                                                                    
  Password             : ****************                                                                                           
  State                : active                                                                                                     
  Service-type-mask    : T                                                                                                          
  Privilege level      : 0                                                                                                          
  Ftp-directory        : -                                                                                                          
  HTTP-directory       : -                                                                                                          
  Access-limit         : -                                                                                                          
  Accessed-num         : 1                                                                                                          
  Idle-timeout         : -                                                                                                          
  Change password retry-interval  : 4 Min(s)                                                                                        
  Change password retry-count-left: 3                                                                                               
  Original-password    : Yes                                                                                                        
  Password-set-time    : 2019-01-27 13:26:55+08:00                                                                                  
  Password-expired     : No                                                                                                         
  Password-expire-time : -                                                                                                          
  Account-expire-time  : -
# Display information about local users in blocking state.
<Huawei> display local-user state block
  ----------------------------------------------------------------------------                                                      
  User-name                      State  AuthMask  AdminLevel  BlockTime                                                             
  ----------------------------------------------------------------------------                                                      
  test2                          B      T         0           2018-04-10 01:55:11-00:00                                             
  ---------------------------------------------------------------------------- 
  Total 1 user(s) 
# Display information about local user test2 in blocking state.
<Huawei> display local-user state block username test2
  The contents of local user(s):                                                                                                    
  Password             : ****************                                                                                           
  State                : block                                                                                                      
  Service-type-mask    : T                                                                                                          
  Privilege level      : 0                                                                                                          
  Ftp-directory        : -                                                                                                          
  HTTP-directory       : -                                                                                                          
  Access-limit         : -                                                                                                          
  Accessed-num         : 0                                                                                                          
  Idle-timeout         : -                                                                                                          
  Block-time-left      : 8 Min(s)                                                                                                   
  Original-password    : Yes                                                                                                        
  Password-set-time    : 2019-01-27 13:26:55+08:00                                                                                  
  Password-expired     : No                                                                                                         
  Password-expire-time : -                                                                                                          
  Account-expire-time  : -
Table 13-9  Description of the display local-user command output

Item

Description

User-name

Name of the local user.

State

State of the local user:

  • A: Active
  • B: Block

AuthMask

Access type of the local user.

  • T: indicates the Telnet users.
  • M: indicates the terminal users, which usually refer to the console users.
  • S: indicates the SSH users.
  • F: indicates the FTP users.
  • W: indicates the web users.
  • X: indicates the 802.1X users.
  • A: indicates all access types.
  • H: indicates the HTTP users.
  • Combination: For example, MH indicates either a terminal user or an HTTP user.

AdminLevel

Local user level.

Password

Password of the local user.

Service-type-mask

Service type of the local user. Same as the AuthMask type.

Privilege level

Local user level.

Ftp-directory

FTP directory of the local user.

Access-limit

Whether the maximum number of sessions of the local user is configured.

Access-limit-max

Maximum number of sessions of the local user.

Accessed-num

Number of established sessions.

Idle-timeout

Idle timeout interval.

User-group

Authorization information of the user group to which the local user is bound.

Original-password

Whether the password of a local user is the initial password:
  • Yes
  • No

Password-set-time

Time when the local user's password is created. The value is in format local time + DST offset.

Password-expired

Whether a local user's password has expired:
  • Yes
  • No

Password-expire-time

Time when the local user's password expires. The value is in format local time + DST offset.

Account-expire-time

Expiry time of a local user account. The value is in format local time + DST offset.

BlockTime/Block-time-left Remaining time of locked local users. (Local users are locked because the entered password is incorrect consecutively.)
Retry-interval

Login retry interval before a local user is locked.

Retry-time-left

Remaining number of login retries before a local user is locked.

Change password retry-interval

Retry interval for changing the initial password of a local user before the user is locked.

Change password retry-count-left

Remaining number of initial password change retries before a local user is locked.

Translation
Download
Updated: 2019-07-18

Document ID: EDOC1100064353

Views: 92233

Downloads: 64

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next