The igmp-snooping query-ip-policy command configures an IGMP Query message filtering policy for a VLAN.
The undo igmp-snooping query-ip-policy command restores the default configuration.
By default, no IGMP Query message filtering policy is configured in a VLAN. With this default setting, all hosts in the VLAN to join multicast groups.
Parameter | Description | Value |
---|---|---|
acl-number |
Specifies the number of a basic ACL6. The ACL6 defines source addresses based on which MLD Query messages in a VLAN are permitted or denied. |
The value is an integer ranging from 2000 to 3999. |
acl-name acl-name |
Specifies the name of a named ACL6. |
The value is a string of 1 to 64 case-sensitive characters, spaces not supported. The name must start with a letter or digit, and cannot contain only digits. |
<HUAWEI> system-view [~HUAWEI] acl 2000 [*HUAWEI-acl-basic-2000] rule deny source 10.1.1.1 24 [*HUAWEI-acl-basic-2000] rule permit source any [*HUAWEI-acl-basic-2000] quit [*HUAWEI] igmp-snooping enable [*HUAWEI] vlan 11 [*HUAWEI-vlan11] igmp-snooping query-ip-policy 2000