91• 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.standard: Enables the sending of standard traps.• authentication: Enables the sending of authentication failure traps in the event of authenticationfailure.• coldstart: Sends coldstart traps when the device restarts.• linkdown: Sends linkdown traps when the port is in a linkdown status. It should be configuredglobally.• linkup: Sends linkup traps when the port is in a linkup status. It should be configured globally.• warmstart: Sends warmstart traps when the SNMP restarts.system: Sends H3C-SYS-MAN-MIB (a 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.DescriptionUse the snmp-agent trap enable command to enable traps globally.Use the undo snmp-agent trap enable command to disable traps globally.By default, traps are enabled for all modules.After 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.Related commands: snmp-agent target-host and enable snmp trap updown.Examples# Enable the device to send SNMP authentication failure traps to 10.1.1.1 in the community name public. system-view[Sysname] snmp-agent target-host trap address udp-domain 10.1.1.1 params securitynamepublic[Sysname] snmp-agent trap enable standard authenticationsnmp-agent trap if-mib link extendedSyntaxsnmp-agent trap if-mib link extendedundo snmp-agent trap if-mib link extendedViewSystem view