6.2 Network Management  
  6.2.7 Configuring SNMP   
In order to have the NMS communicate with networked devices, the devices must have SNMP enabled and the SNMP community strings configured. These devices are configured using the command line syntax described in the following paragraphs.

More than one read-only string is supported. The default on most systems for this community string is public. It is not advisable to use the default value in an enterprise network. To set the read-only community string used by the agent, use the following command:

Router(config)#snmp-server community string ro

  • String – Community string that acts like a password and permits access to the SNMP protocol
  • ro – (Optional) Specifies read-only access. Authorized management stations are only able to retrieve MIB objects.

More than one read-write string is supported. All SNMP objects are available for write access. The default on most systems for this community string is private. It is not advisable to use this value in an enterprise network. To set the read-write community string used by the agent, use the following command:

Router(config)#snmp-server community string rw

  • rw – (Optional) Specifies read-write access. Authorized management stations are able to both retrieve and modify MIB objects

There are several strings that can be used to specify location of the managed device and the main system contact for the device.

Router(config)#snmp-server location text
Router(config)#snmp-server contact text

  • text – String that describes the system location information

These values are stored in the MIB objects sysLocation and sysContact.

 

Web Links

Configuring SNMP

http://www.cisco.com/en/US/products/hw/ switches/ps628/products_configuration_ uide_chapter09186a00800d84c7.html