Configure the SNMP Community String

Learn how to configure a community string to send notification of significant system issues and events.

About this task

You configure an SNMPv2 community string community string (SNMP string) to access device information via SNMP. It is important to configure the string correctly; otherwise the request for device and system information will be ignored and fail silently.
  • All SNMP access is read-only.
  • SNMP v1 and v2c is the default.

Procedure

  1. Run the configure terminal command to access Config mode.
    The command line changes to configuration mode.
    device(config)# 
  2. Run the command snmp-server community community-name to configure the SNMP v2 string, replacing the variable with the name of the community to be monitored.
    device# snmp-server community extreme03
  3. Exit configuration mode and run the show snmp server command to verify that the SNMP community you configured is listed with all supported communities in the output, as shown in the following example.
    device# show snmp server
    snmp-server community extreme03