In network management, Trap is a message sent by an agent to indicate a fault, an exception or an attribute value change. There are two kind of traps – 1) Generic Trap and 2) Specific Trap.
These are the pre-defined traps and are implemented by most of the agents. Six Generic traps are defined as follows:
- Cold Start – This trap indicates that sending device is re-initializing itself such that the agent’s configuration may be altered.
- Warm Start – This trap indicates that sending device is re-initializing itself such that the agent’s configuration is not altered.
- Link Down – This trap indicates an interface has gone from up state to down state. The first variable in variable bindings identifies the interface.
- Link Up – This trap indicates an interface has changed to up state. The first variable in variable bindings identifies the interface.
- Authentication Failure – This trap indicates an SNMP message has been received which failed authentication e.g. a bad community name.
- EgpNeighbour Loss – This trap indicates and EGP neighbor has transitioned to down state. First variable has IP address of EGP neighbor.
These could be device specific trap and varies from vendor to vendor.
Hope you find the information presented here useful. Please leave your footprints in the comments section below for any queries, feedback or suggestions…!!