security snmpusers

Show SNMP users

Availability: This command is available to cluster administrators at the admin privilege level.

Description

The security snmpusers displays the following information about SNMP users:

Parameters

{ [-fields <fieldname>, ...]
If you specify the -fields <fieldname>, ... parameter, the command output also includes the specified field or fields. You can use '-fields ?' to display the fields to specify.
| [-instance ]}
If you specify the -instance parameter, the command displays detailed information about all fields.
[-vserver <Vserver Name>] - Vserver
If this parameter is specified, the command displays information only about the SNMP user or users that belong to the specified Vserver.
[-username <text>] - User Name
If this parameter is specified, the command displays information only about the SNMP user with the specified user name.
[-authmethod <text>] - Authentication Method
If this parameter is specified, the command displays information only about the SNMP user or users that use the specified authentication method. Possible values include the following:
  • community-SNMP community strings
  • usm-SNMP user security model
[-engineid <Hex String>] - Engine Id
If this parameter is specified, the command displays information only about the SNMP user or users that use the specified engine ID, specified in hexadecimal format.
[-authprotocol <text>] - Authentication Protocol
If this parameter is specified, the command displays information only about the SNMP user or users that use the specified authentication protocol.
[-privprotocol <text>] - Privacy Protocol
If this parameter is specified, the command displays information only about the SNMP user or users that use the specified privacy protocol.
[-securitygroup <text>] - Security Group
If this parameter is specified, the command displays information only about the SNMP user or users that belong to the specified security group.

Examples

The following example displays information about all SNMP users:
cluster1::> security snmpusers
                                                           Protocols Security
Vserver    UserName       AuthMethod EngineId              Auth Priv Group
---------- -------------- ---------- --------------------- ---- ---- ---------
cluster1   comm1          community  8000031504312d38302d313233343536
                                                           -    -    readwrite
cluster1   private        community  8000031504312d38302d313233343536					   
                                                           -    -    readwrite
vs1        snmpuser1      community  8000031504312d38302d31323334353632					   
                                                           -    -    readwrite					   
vs1        snmpuser2      usm        8000031504312d38302d31323334353632							   
                                                           -    -    readwrite