Configuring Snmp Traps; Enabling Snmp Traps - HP MSR Series Configuration Manual

Msr router series network management and monitoring
Hide thumbs Also See for MSR Series:
Table of Contents

Advertisement

Configuring SNMP traps

The SNMP agent sends traps to inform the NMS of important events, such as a reboot.
Traps include generic traps and vendor-specific traps. Available generic traps include authentication,
coldstart, linkdown, linkup and warmstart. All other traps are vendor-defined.
SNMP traps generated by a module are sent to the information center. You can configure the information
center to enable or disable outputting the traps from a module by severity and set output destinations. For
more information about the information center, see "Configuring the information center."

Enabling SNMP traps

Enable SNMP traps only if necessary. SNMP traps are memory-intensive and might affect device
performance.
To generate linkUp or linkDown traps when the link state of an interface changes, enable the linkUp or
linkDown trap function both globally by using the snmp-agent trap enable [ standard [ linkdown |
linkup ] * ] command and on the interface by using the enable snmp trap updown command.
After you enable a trap function for a module, whether the module generates traps also depends on the
configuration of the module. For more information, see the configuration guide for each module.
To enable traps:
Step
1.
Enter system view.
2.
Enable traps
globally.
3.
Enter interface view.
4.
Enable link state
traps.
Command
system-view
snmp-agent trap enable [ acfp [ client | policy | rule |
server ] | bfd | bgp | configuration | default-route |
flash | fr | isdn [ call-clear | call-setup | lapd-status ] |
mpls | ospf [ process-id ] [ ifauthfail | ifcfgerror |
ifrxbadpkt | ifstatechange | iftxretransmit |
lsdbapproachoverflow | lsdboverflow | maxagelsa |
nbrstatechange | originatelsa | vifcfgerror | virifauthfail
| virifrxbadpkt | virifstatechange | viriftxretransmit |
virnbrstatechange ] * | pim [ candidatebsrwinelection |
electedbsrlostelection | interfaceelection |
invalidjoinprune | invalidregister | neighborloss |
rpmappingchange ] * | posa | standard [ authentication
| coldstart | linkdown | linkup | warmstart ] * | system
| voice dial | vrrp [ authfailure | newmaster ] | wlan ]
interface interface-type interface-number
controller { cpos | e1 | e3 | e-cpos | t1 | t3 } number
enable snmp trap updown
6
Remarks
N/A
By default, the trap
function of the voice
module is disabled
and the trap functions
of all the other modules
are enabled.
Use either command
depending on the
interface type.
By default, the link
state traps are
enabled.

Advertisement

Table of Contents
loading

Table of Contents