The rpf disable command disables the reverse path forwarding (RPF) check function for multicast entries.
The undo rpf disable command enables the RPF check function for multicast entries.
By default, the RPF check function is enabled for all multicast entries.
Parameter | Description | Value |
---|---|---|
policy |
Specifies a policy for specifying a range of multicast entries for which the RPF check function is disabled. |
- |
advanced-acl-number |
Specifies the number of an advanced ACL. |
The value is an integer ranging from 3000 to 3999. |
acl-name acl-name |
Specifies the name of a named ACL. |
The value is a string of 1 to 64 case-sensitive characters, spaces not supported. |
all |
Disables the RPF check function for all multicast entries. |
- |
Usage Scenario
When a point-to-multipoint (P2MP) traffic engineering (TE) tunnel is used to carry multicast services, PIM does not need to be enabled on the transit nodes of the tunnel. When a leaf node performs RPF check for a matching multicast entry upon the receipt of a multicast packet, the RPF check fails. As a result, the multicast packet cannot be forwarded to the next hop. To address this problem, run the rpf disable command to disable the leaf node from performing RPF check.
Precautions
If the rpf disable command is run more than once, the latest configuration overrides the previous one.
If RPF check is disabled for the multicast forwarding entry of a received multicast data packet, the device directly forwards the packet because it cannot determine whether the inbound interface of the packet is correct. As a result, RPF check may be disabled for multicast packets that are transmitted over a non-P2MP TE tunnel. To address this problem, you can configure policy to specify the range of multicast entries for which RPF check is disabled.<HUAWEI> system-view [~HUAWEI] acl number 3000 [*HUAWEI-acl4-advance-3000] rule permit ip source 10.0.0.1 0 destination 226.0.0.1 0 [*HUAWEI-acl4-advance-3000] quit [*HUAWEI] multicast routing-enable [*HUAWEI] pim [*HUAWEI-pim] rpf disable policy 3000