Cisco Unified Serviceability Administration Guide Release 9.0(1)
SNMP v1 and v2c configuration
Downloads: This chapterpdf (PDF - 288.0KB) The complete bookPDF (PDF - 1.96MB) | Feedback

SNMP v1 and v2c configuration

This chapter describes how to configure SNMP versions 1 and 2c, so that the network management system can monitor both Unified CCX and Unified Communications platform.


Tip


If you use SNMP version 3, see the SNMP v3 configuration.


This chapter contains the following topics:

Find community string


Tip


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


To find a community string, perform the following procedure:

Procedure
    Step 1   Choose SNMP > V1/V2c > Community String.

    The Find/List window displays.

    Step 2   From the Find Community Strings where Name drop-down list box, choose the specific search criteria that you want to use for the community string.
    Step 3   Enter the community string for which you want to search.
    Step 4   In the Server field, enter the hostname or IP address of the server where the community string exists.
    Step 5   Click Find.

    The Add New button displays. After the search results display, the Apply to All Nodes check box displays.

    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 check box next to the name of the option and check the Apply to All Nodes check box.
    Step 7   From the list of results, click the community string that you want to view.
    Step 8   To add or update a community string, see the Configure community string.

    Configure community string

    Change the community string to limit access to the Cisco Unified CCX system. To add, modify, and delete community strings, access the SNMP Community String configuration window.

    Procedure
      Step 1   Perform the procedure in Find community string.
      Step 2   Perform one of the following tasks:
      1. To add a new community string, click Add New and go to step 3.
      2. To modify an existing community string, locate the community string, as described in Find community string; click the name of the community string that you want to edit and go to step 3.

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

      3. To delete a community string, see Delete community string.
      Step 3   Enter the configuration settings, as described in community string configuration settings.
      Tip   

      Before you save the configuration, you can click Clear All at any time to delete all information that you entered for all settings in the window.

      Step 4   After you complete the configuration, click Add New to save a new community string or click Save to save changes to an existing community string.
      Step 5   A message indicates that changes will not take effect until you restart the SNMP master agent. To continue the configuration without restarting the SNMP master agent, click Cancel. To restart the SNMP master agent service, click OK.
      Note   

      Cisco recommends that you wait until you finish all the SNMP configuration before you restart the SNMP master agent service. For information on how to restart the service, see the Services configuration.

      The system refreshes and displays the SNMP Community String Configuration window. The community string that you created displays in the window.


      Community string configuration settings

      The table below 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 specified the server choice when you performed the procedure in the Find community string.

      To change the server for the community string, perform the procedure in the Find community string.

      Community String

      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    Choose 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, click this radio button.

      Accept SNMP Packets only from these hosts

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

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

      Access Privileges

      From the drop-down list box, choose 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 messages.
      • NotifyOnly—The community string can only send MIB object values for a trap messages.
      • ReadNotifyOnly—The community string can read values of MIB objects and also send the values for trap messages.
      • None—The community string cannot read, write, or send trap information.
        Tip    To change the trap configuration parameters, you need to configure a community string with NotifyOnly, ReadNotifyOnly, or ReadWriteNotify privileges.

      Unified CM clusters only:

      Apply To All Nodes

      To apply the community string to all nodes in the cluster, check this check box.

      Delete community string

      To delete a community string, perform the following procedure:

      Procedure
        Step 1   Locate the community string, as described in the Find community string.
        Step 2   From the list of matching records, check the check box next to the community string that you want to delete.
        Step 3   Click Delete Selected.
        Step 4   A message indicates that the system will delete notification entries that relate to this community string. To continue the deletion, click OK.
        Step 5   A message indicates that changes will not take effect until you restart the SNMP master agent. To continue the configuration without restarting the SNMP master agent, click Cancel. To restart the SNMP master agent service, click OK.
        Tip   

        Cisco recommends that you wait until you finish all the SNMP configuration before you restart the SNMP master agent service. For information on how to restart the service, see Manage services in Control Center.

        After the window refreshes, the string that you deleted no longer displays in the results.


        Find notification destination for SNMP v1 and v2c


        Tip


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


        To find a notification destination for V1/V2c, perform the following procedure:

        Procedure
          Step 1   Choose SNMP > V1/V2c > Notification Destination.

          The Find/List window displays.

          Step 2   From the Find Notification where Destination IP drop-down list box, choose the specific search criteria that you want to use to find the notification destination.
          Step 3   Enter the notification destination for which you want to search.
          Step 4   In the Server field, enter the hostname or IP address of the server that supports the notification destination.
          Step 5   Click Find.

          The Add New button displays. After the search results display, the Apply to All Nodes check box displays.

          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 check box next to the name of the option and check the Apply to All Nodes check box.
          Step 7   To view the configuration for one of the items in the search results, click the item.
          Step 8   To add or update a notification string, see the Configure notification destination for SNMP v1 and v2c.

          Configure notification destination for SNMP v1 and v2c

          To configure the notification destination (trap receiver) for V1/V2c, perform the following procedure.

          Procedure
            Step 1   Perform the procedure in Find notification destination for SNMP v1 and v2c.
            Step 2   Perform one of the following tasks:
            1. To add a new SNMP notification destination, click Add New and go to step 3.

              You configure the notification destination for the server that you choose in the Server drop-down list box in the Find/List window.

            2. To modify an existing SNMP notification destination, locate the notification destination, as described in Find notification destination for SNMP v1 and v2c; click the name of the SNMP notification destination that you want to edit and go to step 3.
            3. To delete an SNMP notification destination, see the Delete notification destination for SNMP v1 and v2c.
            Step 3   Enter the configuration settings, as described in notification destination configuration settings for V1/​V2.
            Tip   

            Before you save the configuration, you can click Clear at any time to delete all information that you entered for all settings in the window.

            Step 4   To save a notification destination, click Insert, or click Save to save changes to an existing notification destination.
            Step 5   A message indicates that changes will not take effect until you restart the SNMP master agent. To continue the configuration without restarting the SNMP master agent, click Cancel. To restart the SNMP master agent, click OK.
            Note   

            Cisco recommends that you wait until you finish the SNMP configuration before you restart the SNMP master agent service. For information on how to restart the service, see the Services configuration.


            Notification destination configuration settings for SNMP v1 and v2c

            The table below describes the notification destination configuration settings for V1/V2c.

            Table 2 notification destination configuration settings for V1/V2

            Field

            Description

            Server

            This setting displays as read only because you specified the server when you performed the procedure in Find notification destination for SNMP v1 and v2c.

            To change the server for the notification destination, perform the procedure in the Find community string.

            Host IP Addresses

            From the drop-down list box, choose the Host IP address of the trap destination or choose Add New. If you choose 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, click the appropriate SNMP version radio button, either V1 or V2c, which depends on the version of SNMP that you are using.

            • If you choose V1, configure the community string setting.
            • If you choose V2c, configure the notification type setting and then configure the community string.

            Community String

            From the drop-down list box, choose the community string name to be used in the notification messages that this host generates.

            Only community strings with minimum notify privileges (ReadWriteNotify or Notify Only) display. If you have not configured a community string with these privileges, no options appear in the drop-down list box. If necessary, click Create New Community String to create a community string, as described in the Configure community string.

            Notification Type

            From the drop-down list box, choose the appropriate notification type.

            Apply To All Nodes

            To apply the notification destination configuration to all nodes in the cluster, check this check box.

            Delete notification destination for SNMP v1 and v2c

            To delete a notification destination, perform the following procedure:

            Procedure
              Step 1   Locate the notification destination, as described in Find notification destination for SNMP v1 and v2c.
              Step 2   From the list of matching records, check the check box next to the notification destination that you want to delete.
              Step 3   Click Delete Selected.
              Step 4   A message asks whether you want to delete the notification entries. To continue the deletion, click OK.
              Step 5   A message indicates that changes will not take effect until you restart the SNMP master agent. To continue the configuration without restarting the SNMP master agent, click Cancel. To restart the SNMP master agent service, click OK.
              Tip   

              Cisco recommends that you wait until you finish all the SNMP configuration before you restart the SNMP master agent service. For information on how to restart the service, see Services configuration.

              After the window refreshes, the notification destination that you deleted no longer displays in the results.