36
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
class: Specifies the local user type.
• manage: Device management user.
• network: Network access user.
idle-cut { disable | enable }: Specifies local users with the idle cut function disabled or enabled.
service-type: Specifies the local users who use a specific type of service.
• ftp: FTP users.
• lan-access: LAN users who typically access the network through an Ethernet, such as 802.1X users.
• portal: Portal users.
• ppp: PPP users.
• ssh: SSH users.
• telnet: Telnet users.
• terminal: Terminal users who log in through console ports, AUX ports, or async ports.
state { active | block }: Specifies local users in active or blocked state. A local user in active state can
access network services, but a local user in blocked state cannot.
user-name user-name: Specifies all local users using the specified username. The username must be a
case-sensitive string of 1 to 55 characters that does not contain the domain name.
vlan vlan-id: Specifies all local users in a VLAN. The value range for the vlan-id argument is 1 to 4094.
Usage guidelines
If you do not specify any parameters, the command displays information about all local users.
Examples
# Display information about all local users.
<Sysname> display local-user
Total 2 local users matched.
Device management user root:
State: Active
Service Type: SSH/Telnet/Terminal
Access limit: Enabled Max access number: 3
Current access number: 1
User Group: system
Bind Attributes:
Authorization Attributes:
Work Directory: flash:
User Role List: network-admin
Password control configurations: