SANtricity 11.8 Commands ( CA08871-194 ~ 196 )

Show SNMP communities

The show allSnmpCommunities command returns information about the Simple Network Management Protocol (SNMP) communities defined for the storage system. SNMP communities are collections of devices, such as routers, switches, printers, storage devices, grouped together to manage and monitor the devices.

Supported Series

This command applies to an individual HB2100/HB2200/HB2300, HB5100/HB5200, AB6100 or AB3100 storage system.

Roles

To execute this command on an HB2100/HB2200/HB2300, HB5100/HB5200, AB6100, or AB3100 storage system, you must have the Storage Admin or Support Admin or Storage Monitor role.

Context

Information returned includes the following:

  • The total number of communities

  • The total number of trap destinations

  • The names of the SNMP communities

Syntax

show (allSnmpCommunities |
snmpCommunity communityName="snmpCommunityName" |
snmpCommunities [snmpCommunityName1 ... snmpCommunityNameN])
[summary]

Parameters

Parameter Description

allSnmpCommunities

This parameter returns information about all of the SNMP communities in the storage system.

communityName

The name of the SNMP community for which you want to retrieve information. Enclose the SNMP community name in double quotation marks (" ").

snmpCommunities

The names of several SNMP communities for which you want to retrieve information. Enter the names of the SNMP communities using these rules:

  • Enclose all of the names in square brackets ([ ]).

  • Enclose each of the names in double quotation marks (" ").

  • Separate each of the names with a space.

summary

This parameter returns a list of the total number of SNMP communities and the total number of SNMP trap destinations. When you use this parameter, all of the detail information is omitted.

Notes

SNMP supports one or more communities to which managers and managed devices belong. SNMP requests contain a community string in the data packets passed over the network that acts as a crude password. SNMP agents can reject GET or SET requests with an unrecognized community string. A community string is also included in TRAP notifications sent from agent to manager as well.

The embedded SNMP agent supports both IPV4 and IPV6.

This command returns SNMP community information similar to this example.

SNMP COMMUNITIES------------------------------
SUMMARY
   Total SNMP Communities: 2
   Total SNMP Trap Destinations: 1
DETAILS
   SNMP Community: TestComm1
   SNMP Permission: Read Only
      Associated Trap Destination:
      Trap Receiver IP Address: 10.113.173.133
      Send Authentication Failure Traps: true
   SNMP Community: Test2
   SNMP Permission: Read Only
      Associated Trap Destination:
Top of Page