R0106-HP MSR Router Series IP Multicast Command Reference(V7)
126
Examples
# Configure the device to calculate the checksum based on an entire register message on the public
network.
<Sysname> system-view
[Sysname] pim
[Sysname-pim] register-whole-checksum
snmp-agent trap enable pim
Use snmp-agent trap enable pim to enable SNMP notifications for PIM.
Use undo snmp-agent trap enable pim to disable SNMP notifications for PIM.
Syntax
snmp-agent trap enable pim [ candidate-bsr-win-election | elected-bsr-lost-election | neighbor-loss ] *
undo snmp-agent trap enable pim [ candidate-bsr-win-election | elected-bsr-lost-election |
neighbor-loss ] *
Default
SNMP notifications for PIM are enabled.
Views
System view
Predefined user roles
network-admin
Parameters
candidate-bsr-win-election: Specifies SNMP notifications about winning the BSR election.
elected-bsr-lost-election: Specifies SNMP notifications about losing the BSR election.
neighbor-loss: Specifies SNMP notifications about losing neighbors.
Usage guidelines
If you do not specify any optional keyword, this command enables or disables PIM to generate SNMP
notifications.
When the SNMP notification feature is enabled, PIM generates notifications if important PIM events
occur. The notifications are sent to the SNMP module. The output rules for PIM notifications depend on
the SNMP notification configuration.
For more information about SNMP notifications, see Network Management and Monitoring
Configuration Guide.
Examples
# Disable SNMP notifications for PIM.
<Sysname> system-view
[Sysname] undo snmp-agent trap enable pim
source-lifetime (PIM view)
Use source-lifetime to set the multicast source lifetime.