137
Enabling PIM passive mode
To guard against PIM hello spoofing, you can enable PIM passive mode on a receiver-side interface.
The PIM passive interface cannot receive or forward PIM protocol messages (excluding register,
register-stop and C-RP-Adv messages), and it acts as the DR on the subnet. In BIDIR-PIM, it also
acts as the DF.
Configuration restrictions and guidelines
When you enable PIM passive mode, follow these restrictions and guidelines:
•
This feature takes effect only when PIM-DM or PIM-SM is enabled on the interface.
•
To avoid duplicate multicast data transmission and flow loop, do not enable this feature on a
shared-media LAN with multiple PIM routers.
Configuration procedure
To enable PIM passive mode on an interface:
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter interface view.
interface
interface-type
interface-number
N/A
3.
Enable PIM passive mode on
the interface.
pim passive
By default, PIM passive mode is
disabled on an interface.
Enabling PIM NSR
This feature enables PIM to back up protocol state information and data, including PIM neighbor
information and routes, from the active process to the standby process. The standby process
immediately takes over when the active process fails. Use this feature to avoid route flapping and
forwarding interruption for PIM when an active/standby switchover occurs.
To enable PIM NSR:
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enable PIM NSR.
pim non-stop-routing
By default, PIM NSR is disabled.
Enabling SNMP notifications for PIM
To report critical PIM events to an NMS, enable SNMP notifications for PIM. For PIM event
notifications to be sent correctly, you must also configure SNMP as described in
Network
Management and Monitoring Configuration Guide
.
To enable SNMP notifications for PIM:
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enable SNMP notifications
for PIM.
snmp-agent
trap
enable
pim
[
candidate-bsr-win-election
|
elected-bsr-lost-election
|
neighbor-loss
] *
By default, SNMP notifications for
PIM are enabled.