
Customizing SNMP
117362-C Rev 00
3-19
Configuring Traps on the Router
A trap is an event that the router transmits to some external network device, such
as a network management station. You can specify which log events the SNMP
agent sends to the network management station as traps, based on the following:
• Slot number: the number of the slot on which the trap will be received
• Entity number: the code assigned to the entity issuing the event that uniquely
identifies a router event
• Severity level: indicates whether the trap is a fault, warning, information,
trace, or debug message
A router never broadcasts traps on the network. Rather, it sends traps to specific IP
addresses, which you configure on the router as managers of a community. Traps
are always sent to specific managers.
Specifying a Trap Entity
A trap entity is associated with a log event. An entity is the software that generates
a message. Entities include Bay Networks software dedicated to the operation of a
software service, such as TFTP and IP. Each entity contains a specific code that
corresponds to the event you want to configure.
The entity code, together with the event code, uniquely identifies the event you
want to configure as a trap. For a complete list of entities (both their abbreviations
and full names) and associated entity codes, refer to Event Messages for Routers.
After you specify the number of the slot on which the trap will be received, you
specify the entity name for which you want to configure traps.
Using the BCC
To specify a trap entity, based on slot and protocol entity, enter the following
command at the SNMP prompt:
trap-entity entity
<
entity_number>
slot
<
slot_number>
entity_number
is the code assigned to the entity issuing the event that uniquely
identifies an event.
slot_number
is the number of the slot on which the trap will be received.
Comentarios a estos manuales