Retrieving SNMP data using event OIDs

Prev Next

You can retrieve SNMP data using event object IDs (OIDs) after the MIB file has been downloaded.

Prerequisites
To retrieve SNMP data using event OIDs:
  1. Go to CLI configuration mode:

    hostname > enable
    hostname # configure terminal
                         
  2. SNMP is enabled by default. Verify that it is enabled:

    hostname (config) # show snmp
                         

    If the output shows SNMP enabled: no, enter the snmp-server enable command.

  3. Enable the appliance to send notifications to the SNMP manager:

    hostname (config) # snmp-server enable notify
                         
  4. Specify the IP address of the SNMP manager:

    hostname (config) # snmp-server host <IPAddress> traps public
                         
  5. Enable SNMP communities:

    hostname (config) # snmp-server enable communities
                         
  6. Add an SNMP community:

    hostname (config) # snmp-server community <community>
                         

    where <community> is the string needed by the SNMP server to query the appliance. The default community string is public.

  7. Limit SNMP access to the listen interface called ether1:

    hostname (config) # snmp-server listen interface ether1
                         
  8. Enable access to the listen interface:

    hostname (config) # snmp-server listen enable
                         
  9. Save your changes:

    hostname (config) # write memory