igmp-snooping ip-policy (VSI E-Tree view)

Function

The igmp-snooping ip-policy command configures a policy for filtering Report or Leave messages sent by hosts. This means that you can limit users that can enjoy multicast services.

The undo igmp-snooping ip-policy command restores the default setting.

By default, no policy is configured for filtering Report or Leave messages sent by hosts. This means that any user can enjoy multicast services.

Format

igmp-snooping ip-policy { acl-number | acl-name acl-name }

undo igmp-snooping ip-policy

Parameters

Parameter Description Value
acl-number

Specifies the basic or advanced ACL.

The number of a basic ACL is an integer that ranges from 2000 to 2999. The number of an advanced ACL ranges from 3000 to 3999.

acl-name acl-name

Specifies the name of an 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

VSI-AUTO view, VSI-BD view, VSI-DEFAULT view, VSI-STATIC view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
l2mc write

Usage Guidelines

Usage Scenario

To improve multicast service deployment security, configure a policy to filter out IGMP Report or Leave messages sent by specific hosts.

If a basic ACL is specified in the igmp-snooping ip-policy command, IGMP Report or Leave messages with specified source IP addresses are accepted or rejected. If an advanced ACL is specified in this command, IGMP Report or Leave messages with specified source and destination IP addresses are accepted or rejected.

Example

# Prevent the user host with the source IP address 10.0.0.1 in VSI vsia auto from joining multicast group 225.0.0.1.
<HUAWEI> system-view
[~HUAWEI] acl 3000
[*HUAWEI-acl4-advance-3000] rule deny ip destination 225.0.0.1 0 source 10.0.0.1 0
[*HUAWEI-acl4-advance-3000] rule permit ip
[*HUAWEI-acl4-advance-3000] quit
[*HUAWEI] mpls
[*HUAWEI-mpls] quit
[*HUAWEI] mpls l2vpn
[*HUAWEI-l2vpn] quit
[*HUAWEI] vsi vsia auto
[*HUAWEI-vsi-vsia] pwsignal ldp
[*HUAWEI-vsi-vsia-ldp] vsi-id 200
[*HUAWEI-vsi-vsia-ldp] quit
[*HUAWEI-vsi-vsia] igmp-snooping ip-policy 3000
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >