R2511-HP MSR Router Series Network Management and Monitoring Command Reference(V5)

11
Related commands
snmp-agent trap enable
display snmp-agent usm-user
Use display snmp-agent usm-user to display SNMPv3 user information.
Syntax
display snmp-agent usm-user [ engineid engineid | username user-name | group group-name ] * [ |
{ begin | exclude | include } regular-expression ]
Views
Any view
Default command level
1: Monitor level
Parameters
engineid engineid: Displays SNMPv3 user information for the SNMP engine ID identified by engineid.
When an SNMPv3 user is created, the system records the local SNMP entity engine ID. The user
becomes invalid when the engine ID changes and becomes valid again when the recorded engine ID is
restored.
username user-name: Displays information about the specified SNMPv3 user. The username is
case-sensitive.
group group-name: Displays SNMPv3 user information for an SNMP group. The group name is
case-sensitive.
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see 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.
Usage guidelines
This command displays only SNMPv3 users that you have created by using the snmp-agent usm-user v3
command. To display SNMPv1 or SNMPv2c users created by using the snmp-agent usm-user { v1 | v2c }
command, use the display snmp-agent community command.
Examples
# Display information about SNMPv3 users.
<Sysname> display snmp-agent usm-user
User name: userv3
Group name: mygroupv3
Engine ID: 800063A203000FE240A1A6
Storage-type: nonVolatile
UserStatus: active
User name: userv3code