Cisco Unified Presence, Release 7.x -- How to Configure SNMP V1/V2c in Cisco Unified Serviceability

From DocWiki

Jump to: navigation, search

Main page: Cisco Unified Presence, Release 7.x

Contents

Previous Topic




How to Work with SNMP Community Strings


Configuring a 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 a Cisco Unified Presence system. Change the community string to limit access to the Cisco Unified Presence system. To add, modify, and delete community strings, access the SNMP Community String Configuration window.


Before You Begin

Review the SNMP configuration checklist.


Procedure

1. Perform one or more of the following actions:

If you want to: Action

Add a new community string

  1. Click Add New

Modify an existing community string

  1. Locate the community string.
  2. Click the name of the community string that you want to edit.
Note: You cannot change the name of the community string or the server for the community string.

2. Enter the community string configuration settings, as described in the table below.

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

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, 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, select that host from the Host IP Addresses list box and click 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.
  • None-The community string cannot read, write, or send trap information.

Tip: To change the Cisco Unified 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.


3. Perform one of the following actions after you complete the configuration:

  • Click Add New to save a new community string.
  • Click Save to save changes to an existing community string.

4. Perform one of the following actions:

  • Click OK to restart the SNMP master agent service and effect the changes.
  • Click Cancel to continue the configuration without restarting the SNMP master agent.


Troubleshooting Tips
  • If you are adding a new community string, you can click Clear All at any time to delete all information that you entered for all settings.
  • Cisco recommends that you wait until you finish all the SNMP configuration before you restart the SNMP master agent service.


Related Topics


Finding a Community String

Before You Begin

Review the SNMP configuration checklist.


Procedure
  1. Select Snmp > V1/V2c > Community String.
  2. Select the specific search criteria that you want to use for the community string from the Find Community Strings where Name list box.
  3. Enter the community string for which you want to search.
  4. Enter the hostname or IP address of the server where the community string exists in the Server field.
  5. Click Find.
  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.
  7. Click the community string that you want to view from the list of results.


Troubleshooting Tips
  • The Add New button does not display in the SNMP Community String Configuration window until you click the Find button. If no community strings exist and you want to add want a community string, click the Find button and wait for the window to refresh. The Add New button displays.
  • If you use SNMP version 3, see the Configuring SNMP V3 in Cisco Unified Serviceability.


Related Topics


Deleting a Community String

Before You Begin

Review the SNMP configuration checklist.


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


Troubleshooting Tips

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


Related Topics


How to Work with SNMP Notification Destinations

The following sections apply to SNMP notification destination configuration, depending on the SNMP version that you support:



Configuring a Notification Destination for SNMP V1/V2c

You can configure the notification destination (trap/inform receiver) for V1/V2c.

Before You Begin

Review the SNMP configuration checklist.


Procedure

1. Perform one or more of the following actions:

If you want to: Action

Add a new SNMP notification destination

  1. Click Add New

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

Modify an existing SNMP notification destination

  1. Locate the notification destination.
  2. Click the name of the SNMP notification destination that you want to edit.

2. Enter the configuration settings, for V1/V2c as described in the table below.

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, click 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 or Notify Only) display. If you have not configured a community string with these privileges, no options appear in the list box. If necessary, click the Create New Community String button to create a community string.

Notification Type

Select the appropriate notification type from the list box.

Apply To All Nodes

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


3. Perform one of the following actions:

  • Click Insert to save a notification destination.
  • Click 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.

4. Perform one of the following actions:

  • Click OK to restart the SNMP master agent.
  • Click Cancel to continue the configuration without restarting the SNMP master agent.


Troubleshooting Tips
  • If you are adding a new notification destination, you can click Clear at any time to delete all information that you entered for all settings.
  • Cisco recommends that you wait until you finish the SNMP configuration before you restart the SNMP master agent service.


Related Topics



Finding a Notification Destination for SNMP V1/V2c

Before You Begin

Review the SNMP configuration checklist.


Procedure
  1. Select Snmp > V1/V2c > Notification Destination.
  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.
  3. Enter the notification destination for which you want to search.
  4. Enter the hostname or IP address of the server that supports the notification destination in the Server field.
  5. Click Find.
  6. Perform one or more of the following actions:
If you want to: Action

Apply the configuration from one of the options in the search results to all nodes in the cluster

  1. Check the name of the option.
  2. Check Apply to All Nodes.

View the configuration for one of the items in the search results

Click the item.


Troubleshooting Tips

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


Related Topics


Deleting a Notification Destination for SNMP V1/V2c

Before You Begin

Review the SNMP configuration checklist.


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


Troubleshooting Tips

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


Related Topics

Rating: 0.0/5 (0 votes cast)

Personal tools