Cisco Unified Serviceability Administration Guide, Release 9.0(1)
SNMP V1/V2c setup
Downloads: This chapterpdf (PDF - 395.0KB) The complete bookPDF (PDF - 4.6MB) | Feedback

SNMP V1/V2c setup

SNMP V1/V2c setup

SNMP community strings

This section describes how to set up, find and delete community strings.

Set up community string

Because the SNMP agent provides security by using community strings, you must configure the community string to access any management information base (MIB) in an IM and Presence system. Change the community string to limit access to the IM and Presence system. To add, modify, and delete community strings, access the SNMP Community String Configuration window.

The following table describes the community string configuration settings:

Table 1 Community String Configuration Settings

Field

Description

Server

This setting in the Community String Configuration window displays as read only because you already specified your choice of server.

Community String Name

Enter a name for the community string. The name can contain up to 32 characters and can contain any combination of alphanumeric characters, hyphens (-), and underscore characters (_).

Tip    Select community string names that will be hard for outsiders to figure out.

When you edit a community string, you cannot change the name of the community string.

Accept SNMP Packets from any host

To accept SNMP packets from any host, select this radio button.

Accept SNMP Packets only from these hosts

To accept SNMP only from specified hosts, select this radio button.

Tip    In the Host IP Address field, enter a host from which you want to accept packets and select Insert. Repeat this process for each host from which you want to accept packets. To delete a host, select that host from the Host IP Addresses list box and select Remove.

Access Privileges

From the list box, select the appropriate access level from the following list:

  • ReadOnly—The community string can only read the values of MIB objects.
  • ReadWrite—The community string can read and write the values of MIB objects.
  • ReadWriteNotify—The community string can read and write the values of MIB objects and send MIB object values for a trap and inform messages.
  • NotifyOnly—The community string can only send MIB object values for a trap and inform messages.
  • ReadNotifyOnly—The community string can only read the values of MIB objects, send MIB object values for a trap, and inform messages.
  • None—The community string cannot read, write, or send trap information.
    Tip    To change the IM and Presence trap configuration parameters, you need to use a community with NotifyOnly or ReadWriteNotify privileges.

Apply To All Nodes

Check to apply the community string to all nodes in the cluster.

Before You Begin

Review the tasks in the procedure to set up SNMP.

Procedure
    Step 1   Select Snmp > V1/V2c > Community String.
    Step 2   Select the required server from the Server list box, and then select Find.
    Step 3   To add a new community string, select Add New and enter the community string configuration settings as outlined in the table above.
    Tip   

    The Add New button does not display in the SNMP Community String Configuration window until you select the Find button. If no community strings exist and you want to add want a community string, select the Find button and wait for the window to refresh. The Add New button displays.

    If you are adding a new community string, you can select Clear All at any time to delete all information that you entered for all settings.

    Step 4   To modify an existing community string, search for the community string, select it and enter the community string configuration settings as outlined in the table above.
    Note   

    You cannot change the name of the community string or the server for the community string.

    Step 5   After you complete the configuration, select Save.
    Step 6   Perform one of the following actions:
    1. Select OK to restart the SNMP master agent service and effect the changes.

      Cisco recommends that you wait until you finish all the SNMP configuration before you restart the SNMP master agent service.

    2. Select Cancel to continue the configuration without restarting the SNMP master agent.
      Tip   

      If you are adding a new community string, you can select Clear All at any time to delete all information that you entered for all settings.


    Related References

    Find community string

    Before You Begin

    Review the tasks in the procedure to set up SNMP.

    If you use SNMP version 3, see topics related to setting up SNMP v3 in Cisco Unified IM and Presence Serviceability.

    Procedure
      Step 1   Select Snmp > V1/V2c > Community String.
      Step 2   Select the specific search criteria that you want to use for the community string from the Find Community Strings where Name list box.
      Step 3   Enter the community string for which you want to search.
      Step 4   Select the hostname or IP address of the server where the community string exists in the Server list box.
      Step 5   Select Find.
      Step 6   If you want to apply the configuration from one of the options in the search results to all nodes in the cluster, check the name of the option and check Apply to All Nodes.
      Step 7   Select the community string that you want to view from the list of results.
      Tip   

      The Add New button does not display in the SNMP Community String Configuration window until you select the Find button. If no community strings exist and you want to add want a community string, select the Find button and wait for the window to refresh. The Add New button displays.


      Delete community string

      Before You Begin

      Review the SNMP configuration checklist.

      Procedure
        Step 1   Locate the community string.
        Step 2   Check the community string that you want to delete from the list of matching records.
        Step 3   Select Delete Selected. A message indicates that the system will delete notification entries that relate to this community string.
        Step 4   Select OK to continue the deletion. A message indicates that changes will not take effect until you restart the SNMP master agent.
        Step 5   Perform one of the following actions:
        1. Select Cancel to continue the configuration without restarting the SNMP master agent.
        2. Select OK to restart the SNMP master agent service.
          Note   

          We recommend that you wait until you finish all the SNMP configuration before you restart the SNMP master agent service.


        Related Tasks

        SNMP notification destinations

        The procedures to configure SNMP notification destination depend on the SNMP version that you support.

        Configure notification destination for SNMP V1/V2c

        You can configure the notification destination (trap/inform receiver) for V1/V2c. The following table describes the notification destination configuration settings for SNMP V1/V2c.

        Table 2 Notification Destination Configuration Settings for SNMP V1/V2

        Field

        Description

        Server

        This setting displays as read only because you already specified the server.

        Host IP Addresses

        From the list box, select the Host IP address of the trap destination or select Add New. If you select Add New, enter the IP address of the trap destination.

        For existing notification destinations, you cannot modify the host IP address configuration.

        Port Number

        In the field, enter the notification-receiving port number on the destination server that receives SNMP packets.

        V1 or V2C

        From the SNMP Version Information pane, select the appropriate SNMP version radio button, either V1 or V2C, which depends on the version of SNMP that you are using.

        • If you select V1, configure the community string setting.
        • If you select V2C, configure the notification type setting and then configure the community string.

        Community String

        From the list box, select the community string name to be used in the notification messages that this host generates.

        Only community strings with minimum notify privileges (ReadWriteNotify, ReadNotifyOnly, or Notify Only) display. If you have not configured a community string with these privileges, no options appear in the list box. If necessary, select the Create New Community String button to create a community string.

        Apply To All Nodes

        Check to apply the notification destination configuration to all nodes in the cluster.

        Before You Begin

        Review the tasks in the procedure to set up SNMP.

        Procedure
          Step 1   Select Snmp > V1/V2c > Notification Destination.
          Step 2   Select the required server from the Server list box.
          Step 3   Select Find.
          Step 4   To add a new SNMP notification destination, select Add New and enter the configuration settings as described in the table above.

          You configure the notification destination for the server that you select in the Server list box in the Find/List window.

          You can select Clear at any time to delete all information that you entered for all settings.

          Note   

          The Add New button does not display in the SNMP Notification Destination Configuration window until you select the Find button. If no notification destinations exist and you want to add want a notification destination, select the Find button and wait for the window to refresh. The Add New button displays.

          Step 5   To modify an existing SNMP notification destination, locate the notification destination and select the name of the SNMP notification destination that you want to edit. Enter the configuration settings as described in the table above.
          Step 6   Perform one of the following actions:
          1. Select Insert to save a notification destination.
          2. Select Save to save changes to an existing notification destination. A message indicates that changes will not take effect until you restart the SNMP master agent.
          Step 7   Select OK to restart the SNMP master agent or select Cancel to continue the configuration without restarting the SNMP master agent.
          Note   

          Cisco recommends that you wait until you finish the SNMP configuration before you restart the SNMP master agent service.


          Related References

          Find notification destination for SNMP V1/V2c

          Before You Begin

          Review the SNMP configuration checklist.

          Procedure
            Step 1   Select Snmp > V1/V2c > Notification Destination.
            Step 2   Select the specific search criteria that you want to use to find the notification destination from the Find Notification where Destination IP list box.
            Step 3   Enter the notification destination for which you want to search.
            Step 4   Select the hostname or IP address of the server that supports the notification destination in the Server list box.
            Step 5   Select Find.
            Step 6   Perform one or more of the following actions:
            1. To apply the configuration from one of the options in the search results to all nodes in the cluster, check the name of the option and check Apply to All Nodes.
            2. Select an item in the search results to view the configuration for that item.
            Note   

            The Add New button does not display in the SNMP Notification Destination Configuration window until you select the Find button. If no notification destinations exist and you want to add want a notification destination, select the Find button and wait for the window to refresh. The Add New button displays.


            Delete notification destination for SNMP V1/V2c

            Before You Begin

            Review the tasks in the procedure to set up SNMP.

            Procedure
              Step 1   Locate the notification destination.
              Step 2   Check the notification destination that you want to delete from the list of matching records.
              Step 3   Select Delete Selected. A message asks whether you want to delete the notification entries.
              Step 4   Select OK to continue the deletion. A message indicates that changes will not take effect until you restart the SNMP master agent.
              Step 5   Select OK to restart the SNMP master agent service, or select Cancel to continue the configuration without restarting the SNMP master agent.
              Note   

              Cisco recommends that you wait until you finish all the SNMP configuration before you restart the SNMP master agent service.


              Related Tasks