If the BFD module is enabled with the SNMP alarm function, the NMS will receive BFD Up or Down messages. If the BFD session flaps, the NMS receives a large number of traps. In this case, BFD traps need to be suppressed. Run the snmp-agent bfd trap-interval command to set the interval at which traps are sent to prevent overflow of traps.