display local-user(All views)

Function

The display local-user command displays the attributes of local users.

Format

For NetEngine 8000 F1A:

display local-user [ username user-name | domain domain-name | service-type { ftp | ppp | ssh | telnet | terminal | mml | qx | snmp | vlan-binding | vlan-web | 802.1x | x25-pad | tunnel | http } | user-group user-groupname | state { active | block } | locked ]

For NetEngine 8000 F2A:

display local-user [ username user-name | domain domain-name | service-type { ftp | ppp | ssh | telnet | terminal | mml | qx | snmp | http } | user-group user-groupname | state { active | block } | locked ]

Parameters

Parameter Description Value
username user-name

Specifies the user name.

The value is a string of 1 to 253 case-sensitive characters, spaces not supported.

domain domain-name

Specifies the domain name for the local user.

The value is a string of 1 to 64 case-sensitive characters, spaces not supported.

service-type

Displays user information of a specified service type.

-

ppp

Indicates PPP users.

-

ssh

Indicates SSH users.

-

telnet

Indicates Telnet users.

-

http

Displays information about HTTP users.

-

user-group user-groupname

Displays user information of a specified user group.

To configure a user group, run the user-group command. By default, four user groups (manage-ug, system-ug, monitor-ug, and visit-ug) are available.

The value is a string of 1 to 32 case-sensitive characters, spaces not supported.

state

Displays information about users in a specified state.

-

active

Displays information about users in the Active state.

-

block

Displays information about users in the Blocked state.

-

locked

Displays information about users in the Locked state. A locked user is still in the Active state and can successfully log in after the locking period expires, while a blocked user cannot log in permanently.

-

ftp

Indicates FTP users.

-

terminal

Indicates Terminal users.

-

mml

Indicates MML users.

-

qx

Indicates QX users.

-

snmp

Indicates SNMP users.

-

vlan-binding

Displays information about VLAN users.

NOTE:

This parameter is supported only on the NetEngine 8000 F1A.

-

vlan-web

Displays information about web users of a VLAN.

NOTE:

This parameter is supported only on the NetEngine 8000 F1A.

-

802.1x

Displays information about 802.1X users.

NOTE:

This parameter is supported only on the NetEngine 8000 F1A.

-

x25-pad

Displays information about x25-pad users.

NOTE:

This parameter is supported only on the NetEngine 8000 F1A.

-

tunnel

Displays information about tunnel users.

NOTE:

This parameter is supported only on the NetEngine 8000 F1A.

-

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
aaa-access read

Usage Guidelines

Usage Scenario

To check the attributes of local users, such as the user name, password, access type, user group to which the local user belongs, and maximum user-access number, run the display local-user command.

In VS mode, this command is supported only by the admin VS.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display information about users in the Active state.
<HUAWEI> display local-user state active
  ------------------------------------------------------------------------------------------------------------
  Username                         State   Type         Car   Access-limit   Online   AdminLevel   UsergroupId
  ------------------------------------------------------------------------------------------------------------
  netconf                          Active  S            Dft             No        6   3            1
  root123                          Active  FTMSN        Dft             No       10   3            1
  ------------------------------------------------------------------------------------------------------------
  Total 2,2 printed
# Display information about FTP users.
<HUAWEI> display local-user service-type ftp
  ------------------------------------------------------------------------------------------------------------
  Username                         State   Type         Car   Access-limit   Online   AdminLevel   UsergroupId
  ------------------------------------------------------------------------------------------------------------
  ftp_r18_321                      Active  FS           Dft             No        0   3            -
  ------------------------------------------------------------------------------------------------------------
  Total 1,1 printed
# Display detailed information about local user aaa.
<HUAWEI> display local-user username aaa
----------------------------------------------------------------------------
  Username          : aaa
  Password          : ******
  Original password : No
  Password set time : 2004-11-17 11:35:17
  Password expired  : - 
  User aged         : -
  Aging start time  : -
  User expired      : -
  Continue failed   : 0
  Continue period   : 0
  Fail times        : 3
  Block interval    : 5 (minutes)
  Reactive left mins: 0
  Last used         : -
  Last IpAddr       : -
  Latest failed     : 0
  State             : Active
  User locked       : No
  Service type      : All
  ACL-number        : -  
  User-CAR          : -
  Idle-cut          : Yes
  Access-limit      : No
  Online-number     : 0
  MAC-address       : - 
  User-level        : -  
  User group name   : manage-ug
  FTP-directory     : - 
  Call-number       : - 
  Callback-check    : Yes
  Callback-number   : - 
  QOS-Profile       : -
  ----------------------------------------------------------------------------
# Display information about users in the Locked state.
<HUAWEI> display local-user locked
------------------------------------------------------------------------------------------------------------
Username                         State   Type         Car   Access-limit   Online   AdminLevel   UsergroupId
------------------------------------------------------------------------------------------------------------
netconf                          Active  All          Dft             2        0    3            -
------------------------------------------------------------------------------------------------------------
Total 1,1 printed
# Display brief information about all local users.
<HUAWEI> display local-user
------------------------------------------------------------------------------------------------------
Username                         State   Type   Car   Access-limit   Online   AdminLevel   UsergroupId
------------------------------------------------------------------------------------------------------
wxp123                           Active  TS     Dft             No        0   -            -            

test123                          Active  TS     Dft             No        0   -            -            
------------------------------------------------------------------------------------------------------  
Total 2, 2 printed
Table 1 Description of the display local-user(All views) command output
Item Description
Username

Name of a local user.

Password

Password of the local user.

Password set time

Setting time of the password.

Password expired

Expire time of the password.

Original password

Whether the password is the original password.

User group name

Name of a user group name to which the local user belongs.

User aged

Whether the local user ages out.

User expired

Whether the configuration of the local user is expired.

User locked

Whether the local user is locked.

Aging start time

Time when the local user starts aging out.

Continue failed

Continuous failed times of the user name.

Continue period

Collecting statistics about failed times of the user name.

Fail times

Number of authentication failures allowed for the local user, displayed only when the user status is Block.

Block interval

Blocking interval.

Reactive left mins

Remaining time for the local user to re-activate, in minutes.

Last used

Last used time of the user name.

Last IpAddr

Last IP address of the user name.

Latest failed

Latest failed times of the user name.

State

Status of the local user.

ACL-number

Filter criteria for local user access.

User-CAR

Traffic control level of the local user.

Idle-cut

Whether the local user is configured with idle-cut.

Access-limit

Maximum number of user accesses.

Online-number

Number of online local users.

MAC-address

MAC address of the local user.

User-level

Level of the local user.

FTP-directory

FTP directory for the local user.

Call-number

ISDN caller number of the local user.

Callback-check

Callback authentication attribute of the local user.

Callback-number

Callback number of the local user.

QOS-Profile

QoS template name of the local user.

Type

Access type of the local user.

Car

Traffic control level of the local user.

Online

Number of online users.

AdminLevel

User priority.

UsergroupId

User group ID.

Total

Total number of local users.

Service type

Access type of the local user:

  • ftp: FTP users.
  • ssh: SSH users.
  • snmp: SNMP users.
  • telnet: Telnet users, which usually refer to administrators.
  • http: HTTP users.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >