The mld-snooping query-ip-policy command configures an MLD Query message filtering policy for a VLAN/VSI.
The undo mld-snooping query-ip-policy command restores the default configuration.
By default, no MLD Query message filtering policy is configured in a VLAN/VSI. With this default setting, all hosts in the VLAN/VSI 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/VSI are permitted or denied. |
The value is an integer ranging from 2000 to 3999. |
acl6-name acl6-name |
Specifies the name of a named ACL6. |
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). |
<HUAWEI> system-view [~HUAWEI] acl ipv6 2000 [*HUAWEI-acl6-basic-2000] rule deny source 100::1 64 [*HUAWEI-acl6-basic-2000] rule permit source any [*HUAWEI-acl6-basic-2000] quit [*HUAWEI] mld-snooping enable [*HUAWEI] vlan 11 [*HUAWEI-vlan11] mld-snooping query-ip-policy 2000