Adjusting the Interval for PIM to Send Trap Messages
Context
After Protocol Independent Multicast (PIM) is enabled on the routers, you can configure PIM management information base (MIB) notifications to set the interval for sending PIM events. Therefore, you can know the current status of various PIM events on the routers in real time. The PIM events include neighbor loss, neighbor addition, receiving invalid Join/Prune messages, RP-mapping change, interface being elected as the designated router (DR), the failure in joining multicast groups because the number of PIM entries reaches the upper limit and the event of receiving invalid Register messages.
Perform the following steps on the router managed by the network management system.
Procedure
- Run system-view
The system view is displayed.
- Run multicast-mib
The multicast MIB view is displayed.
- Run pim mib-notification interval { interface-election-dr election-value | invalid-join-prune jp-value | invalid-register register-value | neighbor-loss loss-value | new-neighbor new-value | rp-mapping-change change-value | mrt-limit mrt-value }
The interval for PIM to send trap messages is set.
By default, the interval for sending trap messages for neighbor lost and neighbor addition is 0 seconds. That is, once the event occurs, PIM reports it immediately.
The default interval for sending the trap of event of receiving invalid Join/Prune messages, the RP-mapping change event, the event of the interface being elected as the DR, the failure in joining multicast groups because the number of PIM entries reaches the upper limit or the event of receiving invalid Register messages is 65535 seconds. After the events of these types occur, PIM does not report them.
To configure PIM to report these events, you can run the pim mib-notification interval command to set an interval smaller than 65535 seconds.