26pim: Enables SNMP traps for the PIM module.• candidatebsrwinelection: Traps for the winning of a candidate-bootstrap router (C-BSR) inbootstrap router (BSR) election.• electedbsrlostelection: Traps for losing the BSR election.• interfaceelection: Traps for the election of a new DR or DF on an interface.• invalidjoinprune: Traps for receiving invalid join or prune packets.• invalidregister: Traps for receiving invalid registration packets.• neighborloss: Traps for the lost of a neighbor.• rpmappingchange: Traps for the change of the current RP-set.• nexthop-unreachable: Sends traps when the next-hop is unreachable.standard: Standard traps.• authentication: Enables sending authentication failure traps in the event of authentication failure.• coldstart: Sends coldstart traps when the device restarts.• linkdown: Globally enables sending linkDown traps when the link of a port goes down.• linkup: Globally enables sending linkUp traps when the link of a port goes up.• warmstart: Sends warmstart traps when the SNMP restarts.system: Enables system event (private MIB) traps.vrrp: Enables traps for the VRRP module.• authfailure: VRRP authentication failure traps.• newmaster: VRRP newmaster traps, which are sent when the device becomes the master.Usage guidelinesAfter you globally enable a trap function for a module, whether the module generates traps also dependson the configuration of the module. For more information, see the sections for each module.To generate linkUp or linkDown traps when the link state of an interface changes, you must enable thelinkUp or linkDown trap function globally by using the snmp-agent trap enable [ standard [ linkdown |linkup ] * ] command and on the interface by using the enable snmp trap updown command.Examples# Enable the SNMP agent to send SNMP authentication failure traps to 10.1.1.1 in the community public. system-view[Sysname] snmp-agent target-host trap address udp-domain 10.1.1.1 params securitynamepublic[Sysname] snmp-agent trap enable standard authenticationRelated commands• snmp-agent target-host• enable snmp trap updownsnmp-agent trap if-mib link extendedUse snmp-agent trap if-mib link extended to configure the SNMP agent to send extendedlinkUp/linkDown traps.Use undo snmp-agent trap if-mib link extended to restore the default.