To set up the SNMP servers, perform the following subtasks:
Add the SNMP servers
Configure the SNMP servers
Enable the CLI configuration mode:
hostname > enable hostname # configure terminal
Enable SNMP notifications:
hostname (config) # fenotify snmp enable
Specify the name of the SNMP server for SNMP notifications:
hostname (config) # fenotify snmp trap-sink sink_name
Specify which servers will receive SNMP notifications (one server per command):
hostname (config) # fenotify snmp trap-sink sink_name enable
Specify the IPv4 or IPv6 address, or hostname of the SNMP server to receive the notifications:
hostname (config) # fenotify snmp trap-sink sink_name address ipv4 address, ipv6 address, or hostname
Save the configuration:
hostname (config) # write memory
Enable the CLI configuration mode:
hostname > enable hostname # configure terminal
Enable SNMP notifications:
hostname (config) # fenotify snmp enable
Specify the SNMP community string:
hostname (config) # fenotify snmp trap-sink sink_name community community_name
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
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
Save the configuration:
hostname (config) # write memory