The mld-snooping group-policy qinq pe-vid ce-vid command sets the range of multicast groups that hosts can join.
The undo mld-snooping group-policy qinq pe-vid ce-vid command cancels the configuration.
By default, interfaces can join any multicast groups.
Parameter | Description | Value |
---|---|---|
acl-number | Specifies an ACL6 number. |
The value is an integer ranging from 2000 to 3999. |
acl6-name acl-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). |
version number | Specifies an MLD version. |
The value can be 1 or 2. |
vlan-id | Specifies an outer VLAN ID for a QinQ termination sub-interface. |
The value is an integer ranging from 1 to 4094. |
vid1 | Specifies the start VLAN ID. |
The value is an integer ranging from 1 to 4094. |
to vid2 | Specifies the end VLAN ID. |
The value is an integer ranging from 1 to 4094. vid2 must be greater than vid1. vid2 and vid1 specify a VLAN range. |
Usage Scenario
To limit the range of multicast groups that hosts can join, run the mld-snooping group-policy command.
Prerequisites
MLD snooping has been enabled globally.
Rules have been configured in the specified ACL6.Configuration Impact
After the mld-snooping group-policy command is run, hosts cannot join multicast groups out of the configured multicast group range. If the mld-snooping group-policy command is run more than once in the same view, the latest configuration overrides the previous one.
Precautions
If an MLD version is not set, the device will apply the configured group policy to all MLDv1 and MLDv2 messages. The ACL6 configured for the group policy must be a basic ACL6.
<HUAWEI> system-view [~HUAWEI] acl ipv6 2008 [*HUAWEI-acl6-basic-2008] rule permit source ff15::1 128 [*HUAWEI-acl6-basic-2008] quit [*HUAWEI] mpls [*HUAWEI-mpls] quit [*HUAWEI] mpls l2vpn [*HUAWEI-l2vpn] quit [*HUAWEI] vsi vsi1 [*HUAWEI-vsi1] pwsignal ldp [*HUAWEI-vsi1-ldp] vsi-id 1 [*HUAWEI-vsi1-ldp] quit [*HUAWEI-vsi1] quit [*HUAWEI] mld-snooping enable [*HUAWEI] interface GigabitEthernet 0/1/1.1 [*HUAWEI-GigabitEthernet0/1/1.1] l2 binding vsi vsi1 [*HUAWEI-GigabitEthernet0/1/1.1] mld-snooping group-policy 2008 qinq pe-vid 10 ce-vid 20