vlan 3
mld-snooping enable
mld-snooping group-policy 3000
multicast drop-unknown
#
acl ipv6 number 3000
rule 5 permit ipv6 source FF32::3/128
rule 10 permit ipv6 source FF32::4/128
rule 15 permit ipv6 source FF32::5/128
rule 20 permit ipv6 source FF32::6/128
#
interface Gigabitethernet 1/0/5
port link-type trunk
port trunk allow-pass vlan 3
#
interface Gigabitethernet 1/0/6
port link-type trunk
port trunk allow-pass vlan 3
#
return
11.9.2 Example for Configuring Prompt Leave of Interfaces in a
VLAN
Networking Requirements
As shown in Figure 11-2, GE 1/0/3 and GE 1/0/4 on of Switch A are connected to only one
receiver respectively. Other hosts connected to GE 1/0/3 and GE 1/0/4 do not need to receive
multicast packets. Therefore, when receiving MLD Leave messages from the two interfaces,
Switch A deletes the forwarding entries of the multicast groups that the hosts leave without
waiting for the timeout of the aging timer. This saves the bandwidth and system resources.
Figure 11-2 Networking diagram for configuring prompt leave of interfaces in a VLAN
multicast source
VLAN 3
Host 3 Host 4 Host 5
DHCP server
IP/MPLS
core
GE1/0/3
GE1/0/5
SwitchA
GE1/0/4
Host1 Host2
Quidway S7700 Smart Routing Switch
Configuration Guide - Multicast 11 MLD Snooping Configuration
Issue 01 (2011-07-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
407