Prepare the Device for Operation
Chapter 3. Configuration
33
1. At the
config>
prompt, View the available trap types and their current
settings; enter this command:
snmp-server trap list
2. To enable traps, enter this command:
snmp-server trap enable {all | criticalError | fanStatus | generic
| IPSecPeer | login}
3. Specify a host and the traps to send to it by entering this command:
snmp-server trap host <
ip address
> {all | criticalError |
fanStatus | generic | IPSecPeer | login}
where
<
ipAddress
>
is the address of the destination host.
4. To enter additional trap destinations, repeat step 1.
Examples
z
Enable logon and fanStatus traps:
config>
snmp-server trap enable "login fanStatus"
z
Enable all traps:
config>
snmp-server trap enable all
z
Send logon traps to host 192.168.10.10 and all traps to host 192.168.10.15:
config>
snmp-server trap host 192.168.1.10 login
config>
snmp-server trap host 192.168.1.15 all
Table 3-1 SNMP Trap Types
Trap
Reports on this information
login
Successful and unsuccessful log on attempts and log offs.
fanStatus
Operational status changes of the HA4000 gateway’s two fans.
generic
Link up, link down, and cold start (reboot).
criticalError
Critical errors, such as failure of the control board to respond to
watchdog errors, which indicates that a reboot has been initiated but is
not yet complete.
IPSecPeer
Dead IPSec peers in a negotiated IPSec tunnel. For the HA4000 to
send a trap when it detects a dead peer, these two conditions must be
met:
• The IPSecPeer trap must be enabled.
• The Dead Peer Detection option must be enabled in the Negotiated
IPSec policy configuration.