To set up the SNMP servers, perform the following subtasks:
Add the SNMP servers
Configure the SNMP servers
Enable the CLI configuration mode:
hostname > enablehostname # configure terminalEnable SNMP notifications:
hostname (config) # fenotify snmp enableSpecify the name of the SNMP server (for example, AX5400) for SNMP notifications:
hostname (config) # fenotify snmp trap-sink sink_nameSpecify which servers will receive SNMP notifications (one server per command):
hostname (config) # fenotify snmp trap-sink sink_name enableSpecify the IP address or DNS address of the SNMP server to receive the notifications:
hostname (config) # fenotify snmp trap-sink sink_name address ip addressSave the configuration:
hostname (config) # write memory
Enable the CLI configuration mode:
hostname > enablehostname # configure terminalEnable SNMP notifications:
hostname (config) # fenotify snmp enableSpecify the SNMP community string:
hostname (config) # fenotify snmp trap-sink sink_name community community_nameSpecify 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-eventSave the configuration:
hostname (config) # write memory