By configuring the trap function on an LSP, you can notify the NMS of the changes in the LSP status.
Run the following commands in the system view to notify the Network Management System (NMS) of LSP status changes.
Access the system view.
system-view
Enable the trap function for the LSPM module.
snmp-agent trap enable feature-name mpls_lspm trap-name trapname
Set the interval for suppressing excess LSP traps.
snmp-agent trap suppress feature-name lsp trap-name { mplsxcup | mplsxcdown } trap-interval trap-interval [ max-trap-number max-trap-number ]
By default, the interval for suppressing excess LSP traps is 60 seconds.