< Home

proxy source-policy

Function

The proxy source-policy command configures an IGMP proxy-capable router to filter received multicast data packets based on source addresses or source and group addresses.

The undo proxy source-policy command restores the default configuration.

By default, an IGMP proxy-capable router does not filter received multicast data packets.

Format

proxy source-policy acl-number

undo proxy source-policy

Only the S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730-H, S6730S-H, S6730-S, and S6730S-S support this command.

Parameters

Parameter Description Value
acl-number Specifies the number of a basic ACL or an advanced ACL. The ACL defines a multicast group range. The number of a basic ACL is an integer in the range 2000 to 2999. The number of an advanced ACL is an integer in the range 3000 to 3999.

Views

IGMP view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

If an IGMP proxy-capable device needs to restrict multicast data packets sent from some multicast sources, run the proxy source-policy command to configure the device to filter multicast data packets based on source addresses or source and group addresses. This command can also be used to filter the multicast data encapsulated in Register messages.

Prerequisites

IP multicast routing has been enabled using the multicast routing-enable command.

Precautions

The proxy source-policy command takes effect only when IGMP proxy is enabled.

To reference a numbered ACL to a proxy source policy, run the proxy source-policy and acl commands together.
  • In the basic ACL view, specify the source parameter in the rule command to set a multicast group range.

  • In the advanced ACL view, specify source in the rule command to set a source address range and specify destination to set a group address range.

Named ACLs are classified into basic and advanced ACLs. The configuration rules of a named ACL are the same as that of a numbered ACL.

Example

# Configure an IGMP proxy-capable router to accept the multicast data packets from multicast source 10.10.1.2 and to discard the multicast data packets from the multicast source 10.10.1.1.
<HUAWEI> system-view
[HUAWEI] multicast routing-enable
[HUAWEI] acl number 2001
[HUAWEI-acl-basic-2001] rule permit source 10.10.1.2 0
[HUAWEI-acl-basic-2001] rule deny source 10.10.1.1 0
[HUAWEI-acl-basic-2001] quit
[HUAWEI] igmp
[HUAWEI-igmp] proxy source-policy 2001

# Configure an IGMP proxy-capable router to accept the multicast data packets sent from multicast source 10.10.1.2 to multicast group 232.1.0.0.

<HUAWEI> system-view
[HUAWEI] multicast routing-enable
[HUAWEI] acl name myacl
[HUAWEI-acl-adv-myacl] rule permit ip source 10.10.1.2 0 destination 232.1.0.0 0.0.255.255
[HUAWEI-acl-adv-myacl] quit
[HUAWEI] igmp
[HUAWEI-igmp] proxy source-policy acl-name myacl
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >