29
 ftp—FTP users.
 lan-access—Users accessing the network through Ethernet, such as 802.1X users.
 portal—Portal users.
 ssh—SSH users.
 telnet—Telnet users.
 terminal—Users logging in through the console port or AUX port.
state { active | block }: Specifies local users in the state of active or blocked. A local user in the active
state can access network services, but a local user in the blocked state cannot.
user-name user-name: Specifies all local users using the specified username. The username is a case-
sensitive string of 1 to 55 characters and does not contain the domain name.
vlan vlan-id: Specifies all local users in a VLAN. The VLAN ID ranges from 1 to 4094.
slot slot-number: Specifies the member number of the switch in the IRF fabric, which you can display with
the display irf command. The value range for the slot-number argument depends on the number of
members and numbering conditions in the current IRF fabric. If no IRF fabric exists, the slot-number
argument is the current device number.
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see the Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Description
Use the display local-user command to display information about local users.
Related commands: local-user.
Examples
# Display the information of local user bbb on slot 1.
<Sysname> display local-user user-name bbb slot 1
Slot: 1
The contents of local user bbb:
State: Active
ServiceType: ftp
Access-limit: Enable Current AccessNum: 0
Max AccessNum: 300
User-group: system
Bind attributes:
IP address: 1.2.3.4
Bind location: 1/4/1 (SLOT/SUBSLOT/PORT)
MAC address: 0001-0002-0003
Vlan ID: 100
Authorization attributes:
Idle TimeOut: 10(min)
Work Directory: flash:/
User Privilege: 3