System information
Configuring SNMP
4-23
Configuring SNMP Traps
SNMP traps are generated according to standard and enterprise MIB specifications.
Traps are sent to IP hosts configured in a proprietary Trap Host Table that the SNMP
Agent maintains. This section provides information for:
• Enabling trap generation
• Configuring trap destinations
• Restricting trap rates
Enabling Traps
1. Use the snmp-server enable traps command in Global Configuration mode to
enable SNMP traps, as shown below. This command configures the BSR to send
SNMP traps. If you do not specify the trap type, all trap types are enabled.
MOT(config)#snmp-server enable traps [<trap-type>]
where:
trap-type is the trap type; valid type entries are bgp, ospf, snmp, or vrrp.
2. Use the no snmp-server enable traps command to disable SNMP notifications.
Configuring a Trap Destination
Traps are sent to IP hosts configured in a proprietary Trap Host Table that the SNMP
Agent maintains. Each entry in the table contains:
• The IP address of the trap destination
• The community or user name to send in the trap message
• The host destination configured to receive specific trap types
• The SNMP format (v1, v2c, or v3) of the trap PDU to use for that destination
Note: For a host to receive a trap, you must configure an snmp-server host
command for that host and globally enable the trap through the snmp-server
enable traps command.