[SwitchA]mld-snooping enable
Step 3 Create an IPv6 ACL.
[SwitchA]acl ipv6 3000
[SwitchA-acl6-adv-3000] rule permit ipv6 source FF32::3 128
[SwitchA-acl6-adv-3000] rule permit ipv6 source FF32::4 128
[SwitchA-acl6-adv-3000] rule permit ipv6 source FF32::5 128
[SwitchA-acl6-adv-3000] rule permit ipv6 source FF32::6 128
[SwitchA-acl6-adv-3000] quit
Step 4 Configure a multicast group policy in VLAN 3.
[SwitchA] vlan 3
[SwitchA-vlan3] mld-snooping group-policy 3000
Step 5 Enable MLD snooping in VLAN 3.
[SwitchA-vlan3] mld-snooping enable
Step 6 Verify the configuration.
# Verify that host 3, host 4 and host 5 can join multicast groups FF32::1 to FF32::10. Send
Membership Report messages from Host 3, Host 4, or Host 5 to multicast group FF32::3, and
then run the display mld-snooping port-info on SwitchA. You can view information about the
outgoing interface of the multicast group.
[SwitchA-vlan3] display mld-snooping port-info
-----------------------------------------------------------------------
(Source, Group) Port Flag
-----------------------------------------------------------------------
VLAN 3, 1 Entry(s)
( *, FF32::3) GE1/0/5 S--
1 port(s)
-----------------------------------------------------------------------
The preceding output shows that GE 1/0/5 has joined multicast group FF32::3.
# Verify that host 3, host 4 and host 5 cannot join multicast groups out of the range of FF32::1
to FF32::10.
Send Membership Report messages from Host 15, Host 4, or Host 5 to multicast group FF32::15,
and then run the display mld-snooping port-info on SwitchA. You can view information about
the outgoing interface of the multicast group.
[Switch-vlan3] display mld-snooping port-info
Source/Group LiveTime Port-Count Port-Flag
-----------------------------------------------------------------------
Vlan 3, 1 Entry(s)
( *, FF32::3) 00:00:32 2
GigabitEthernet1/0/5 D
No information about the outgoing interface of multicast group FF32::15 is displayed. It
indicates that GE 0/0/5 does not join the multicast group FF32::15.
----End
Configuration Files
#
sysname SwitchA
#
mld-snooping enable
#
vlan batch 3
#
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.
406