15-4
Cisco Intrusion Prevention System Sensor CLI Configuration Guide for IPS 7.2
OL-29168-01
Chapter 15 Configuring SNMP
Configuring SNMP Traps
-----------------------------------------------
-----------------------------------------------
error-filter: error|fatal <defaulted>
enable-detail-traps: false <defaulted>
enable-notifications: false <defaulted>
enable-set-get: true default: false
snmp-agent-port: 161 default: 161
snmp-agent-protocol: udp default: udp
read-only-community: PUBLIC1 default: public
read-write-community: PRIVATE1 default: private
trap-community-name: public <defaulted>
system-location: AUSTIN default: Unknown
system-contact: BUSINESS default: Unknown
sensor(config-not)#
Step 6
Exit notification submode.
sensor(config-not)# exit
Apply Changes:?[yes]:
Step 7
Press Enter to apply the changes or enter
no
to discard them.
For More Information
For the procedure for assigning actions to signatures, see Assigning Ac tions to Signatures, page 7-15.
Configuring SNMP Traps
Caution
To have the sensor send SNMP traps, you must also select request-snmp-trap as the event action when
you configure signatures.
Configure the SNMP traps in the service notification submode.
The following options apply:
enable-detail-traps {true | false}—Enables the sending of detailed traps with no size limit.
Otherwise traps are sent in sparse mode (less than 484 bytes).
enable-health-traps {true | f alse} —Enables the sending of both heartbeat and health metric
change traps.
Note
To receive sensor health information through SNMP traps, you must have the sensor health
metrics enabled. Use the heartbeat-events enable command in service health monitor
submode to enable sensor health metrics.
enable-notifications {true | false}—Enables event notifications.
error-filter {warning | error | fatal}—Determines which errors ge nerate an SNMP trap. An SNMP
trap is generated for every evError event that matches the filter. The default is error and fatal.
trap-community-name—Specifies the community name used when sending traps if no name is
specified when defining the trap destinations.