trap-code

This command adds an event code to the trap list.

Syntax

trap-code code

no trap-code code

Parameters

code
Specifies the hex identifier of an event code.

Guidelines

The trap-code command specifies individual event codes to add to the trap list. Run this command for each event to add to the list.

Use the no trap-code command to delete a previously configured code from the trap list.

The following is a list of the event subscriptions that cannot be deleted. Even if you delete one or more these subscriptions, the are added after the next restart.
  • 0x00030002 (Out of memory)
  • 0x00230003 (Unable to allocate execution resources)
  • 0x00330002 (Memory full)
  • 0x00b30014 (Duplicate IP address)
  • 0x00e30001 (NTP - Cannot Resolve Server Name)
  • 0x00e40008 (NTP Timeout Error)
  • 0x00f30008 (File is expired)
  • 0x01530001 (Time zone config mismatch.)
  • 0x01a2000e (Installed battery is nearing end of life.)
  • 0x01a40001 (Throttling connections due to low memory)
  • 0x01a40005 (Throttling connections due to low temporary file space)
  • 0x01a40008 (Throttling connections due to low number of free ports)
  • 0x01b10009 (uncertified HSM firmware detected)
  • 0x01b20002 (HSM is uninitialized)
  • 0x01b20004 (HSM PED login failed)
  • 0x01b20008 (HSM password login failed)
  • 0x02220001 (Power supply failure.)
  • 0x02220003 (Internal cooling fan has stopped.)
  • 0x02240002 (Internal cooling fan has slowed)
Note: The File is expired event refers to the file associated with the certificate aliases on the appliance.

This command is relevant when the trap-default-subscriptions property is enabled.

Examples

Add the Out of memory parser event with hex code 0x00030002 to the list.
# trap-code 0x00030002