source-proxy enable

Function

The source-proxy enable command enables multicast source proxy.

The undo source-proxy enable command disables multicast source proxy.

By default, multicast source proxy is disabled.

Format

source-proxy enable [ policy { advanced-acl-number | acl-name acl-name } ]

undo source-proxy enable

Parameters

Parameter Description Value
policy

Specifies a policy for specifying multicast entries for which multicast source proxy is enabled.

If this parameter is not specified, multicast source proxy is enabled for all multicast entries.

-

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 without spaces. The value must start with a letter (a to z or A to Z, case sensitive).

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

If a multicast data packet for a multicast group transmitted over a point-to-multipoint (P2MP) traffic engineering (TE) tunnel is directed to the egress and the egress is not the rendezvous point (RP) to which the multicast group corresponds, the multicast data packet will not be forwarded because the egress is not directly connected to the multicast source. To enable downstream hosts to receive the multicast data packet, run the source-proxy enable command to enable multicast source proxy. Then, the egress can send a Register message to the PIM domain, so that the multicast data packet can be forwarded along the shared tree.

Prerequisites

  • PIM has been enabled and the PIM interface view has been displayed using the pim command.
  • An ACL has been configured using the acl (advanced ACL) command.

Precautions

After the source-proxy enable command is run on the device, run the rpf disable command to disable the RPF check, so that the multicast packets can be forwarded to the next hop.

After the source-proxy enable command is run on the device, run the register-source command to specify an interface using which the source's DR sends Register messages to RP. The interface and the RP can communicate with each other through unicast routes.

Example

# In the public network instance, enable multicast source proxy for the multicast entries with the source address 10.0.0.1 and multicast group address 226.0.0.1.
<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] source-proxy enable policy 3000
# Enable multicast source proxy for all multicast entries.
<HUAWEI> system-view
[~HUAWEI] multicast routing-enable
[*HUAWEI] pim
[*HUAWEI-pim] source-proxy enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >