display snmp-agent local-user

Function

The display snmp-agent local-user command displays local SNMP user information.

Format

display snmp-agent local-user [ username user-name ]

Parameters

Parameter Description Value
username user-name

Displays information about a local SNMP user with a specified name.

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

Views

All views

Default Level

3: Management level

Task Name and Operations

Task Name Operations
snmp read

Usage Guidelines

To view local SNMP user information, run the display snmp-agent local-user command. The command output contains the configured local SNMPv3 user name, local engine ID, authentication protocol, encryption protocol, and user status, which helps verify configurations.

Example

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

# Display all local SNMP user information.
<HUAWEI> display snmp-agent local-user
   User name: test1
       Engine ID: 800007DB0338BA8B9AAC01
       Authentication Protocol: sha2-512
       Privacy Protocol: aes256
       State: Active
# Display information about a local SNMP user named testuser1.
<HUAWEI> display snmp-agent local-user username test1
   User name: test1
       Engine ID: 800007DB0338BA8B9AAC01
       Authentication Protocol: sha2-512
       Privacy Protocol: aes256
       State: Active
Table 1 Description of the display snmp-agent local-user command output
Item Description
User name

Name of a local SNMP user.

Engine ID

Engine ID used by the local SNMP user.

Authentication Protocol

Authentication protocol configured for the local SNMP user.

Privacy Protocol

Encryption protocol configured for the local SNMP user.

State

Status of the local SNMP user.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >