On a multicast network, if multicast devices are attacked by forged PIM messages, multicast data forwarding between multicast devices will be interrupted. To protect multicast devices against such attacks, configure PIM IPSec on the multicast devices to encrypt and authenticate PIM protocol messages they send and receive.
When a Huawei device connects to a non-Huawei device that can only encrypt and authenticate PIM Hello messages, configure the Huawei device to encrypt and authenticate only PIM Hello messages.
If PIM IPSec is not configured on a device, the device drops PIM protocol messages that are protected by IPSec.
PIM IPSec can be configured in the PIM view or interface view. The configuration made in the PIM view takes effect globally, and the configuration made in the interface view takes effect only on that interface. If PIM IPSec is configured in both the PIM view and interface view, the configuration in the interface view takes precedence. If PIM IPSec is not configured on an interface, the interface uses the configuration made in the PIM view.
To ensure normal multicast service forwarding, configure PIM IPSec on all PIM devices.
After PIM IPSec is enabled on a switch, all PIM packets sent from the switch are encrypted. The intermediate devices, including those running IGMP snooping, cannot interpret these PIM packets.