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
[-remote-switch-ipaddress <IP Address>] - Remote Switch IP Address
If this parameter is specified, the command displays information only about the remote SNMP user or users that belong to the specified remote switch.
[-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  Remote
Vserver  UserName   AuthMethod EngineId         Auth Priv Group     Switch IP
-------- ---------- ---------- ---------------- ---- ---- --------- -----------
cluster1 comm1      community  8000031504312d38302d313233343536     -
                                                -    -    readwrite 
cluster1 private    community  8000031504312d38302d313233343536	    -				   
                                                -    -    readwrite
cluster1 snmpuser1  usm        80000634b21000000533296869
                                                -    -    readwrite 172.2.20.91
vs1      snmpuser2  community  8000031504312d38302d31323334353632					   
                                                -    -    readwrite - 					   
vs1      snmpuser3  usm        8000031504312d38302d31323334353632							   
                                                -    -    readwrite -