You can configure the trap function for the device to send traps of specific features to the NMS, which will help you to locate important problems. In addition, you can set trap sending parameters to improve trap sending reliability.
system-view
snmp-agent trap enable
snmp-agent trap enable feature-name feature-name trap-name trap-name
This means that a trap of a specific feature can be sent to the NMS.
To disable the trap functions of all modules, run the snmp-agent trap disable command.
To restore the trap functions of all modules to the default status, run the undo snmp-agent trap enable or undo snmp-agent trap disable command.
To disable the trap function of a specific module, run the undo snmp-agent trap enable feature-name command.
To delete trap configurations related to one or all functions in a batch, run the clear configuration snmp-agent trap enable feature-name feature-name command.
If traps are used, follow the procedure described in Configuring trap parameters; if informs are used, follow the procedure described in Configuring inform parameters.
Configuring inform parameters: