Setting up SNMP servers

Prev Next

To set up the SNMP servers, perform the following subtasks:

  • Add the SNMP servers

  • Configure the SNMP servers

To add an SNMP server:
  1. Enable the CLI configuration mode:

    hostname > enable

    hostname # configure terminal

  2. Enable SNMP notifications:

    hostname (config) # fenotify snmp enable

  3. Specify the name of the SNMP server (for example, AX5400) for SNMP notifications:

    hostname (config) # fenotify snmp trap-sink sink_name

  4. Specify which servers will receive SNMP notifications (one server per command):

    hostname (config) # fenotify snmp trap-sink sink_name enable

  5. Specify the IP address or DNS address of the SNMP server to receive the notifications:

    hostname (config) # fenotify snmp trap-sink sink_name address ip address

  6. Save the configuration:

    hostname (config) # write memory

To configure the SNMP servers:
  1. Enable the CLI configuration mode:

    hostname > enable

    hostname # configure terminal

  2. Enable SNMP notifications:

    hostname (config) # fenotify snmp enable

  3. Specify the SNMP community string:

    hostname (config) # fenotify snmp trap-sink sink_name community community_name

  4. Specify the SNMP version used for notifications:

    • To use SNMP version 1, enter:

      hostname (config) # fenotify snmp trap-sink sink_name version 1

    • To use SNMP version 2c, enter:

      hostname (config) # fenotify snmp trap-sink sink_name version 2c

  5. Specify that a notification is sent each time a malware object is detected:

    hostname (config) # fenotify snmp trap-sink sink_name prefer message delivery per-event

  6. Save the configuration:

    hostname (config) # write memory