A Join/Prune message received by an interface may contain
both join information and prune information. You can configure the
interface to filter join information based on ACL rules. The device
then creates PIM entries for only the join information matching ACL
rules.
Context
ACL rules can be configured
on interfaces to filter received Join packets. This can prevent attacks
that are conducted through malicious Join packets. When there are
a large number of malicious Join packets, configure rules on interfaces
so that the interfaces allow only specified Join packets and discard
malicious Join packets.
Procedure
- Perform the following steps on the FW enabled with PIM-SM:
- Access the system view.
system-view
- Configure a basic or an advanced ACL as needed.
- Return to the system view.
quit
- Access the interface view.
interface interface-type interface-number
- Configure Join information filtering.
pim join-policy { asm basic-acl-number | ssm advanced-acl-number | advanced-acl-number }
If asm is specified, run the rule command in the basic ACL view and set the source parameter to the multicast group address range
of join information.
If ssm is specified,
run the rule command in the advanced ACL view,
set the source parameter to the multicast
source address range of join information, and set the destination parameter to the multicast group address
range of join information.
- If a Join message's join information matches an ACL rule and the
action is permit, the device permits this message.
- If a Join message's join information matches an ACL rule and the
action is deny, the device denies this message.
- If a Join message's join information does not match any ACL rule,
the device denies this message.
- If a specified ACL does not exist or does not contain rules, the
device denies all Join messages that contain join information.