rpf disable

Function

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.

Format

rpf disable { policy { advanced-acl-number | acl-name acl-name } | all }

undo rpf disable

Parameters

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.

-

Views

VPN instance PIM view, PIM view of a public network instance

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
pim write

Usage Guidelines

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.

Example

# Disable the RPF check function for the (10.0.0.1, 226.0.0.1) entry in the public network instance.
<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
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >