229
[SwitchA-vlan100] quit
# Configure an IPv6 multicast group filter so that the hosts in VLAN 100 can join only the IPv6
multicast group FF1E::101.
[SwitchA] acl ipv6 number 2001
[SwitchA-acl6-basic-2001] rule permit source ff1e::101 128
[SwitchA-acl6-basic-2001] quit
[SwitchA] mld-snooping
[SwitchA–mld-snooping] group-policy 2001 vlan 100
[SwitchA–mld-snooping] quit
Verifying the configuration
# Send MLD reports from Host A and Host B to join the IPv6 multicast groups FF1E::101 and FF1E::202.
(Details not shown.)
# Display information about the dynamic MLD snooping forwarding entries in VLAN 100 on Switch A.
[SwitchA] display mld-snooping group vlan 100
Total 1 entries.
VLAN 100: Total 1 entries.
(::, FF1E::101)
Host slots (0 in total):
Host ports (2 in total):
XGE1/1/7 (00:03:23)
XGE1/1/8 (00:04:10)
The output shows the following:
• Host A and Host B have joined the IPv6 multicast group FF1E::101 through the member ports
Ten-GigabitEthernet 1/1/8 and Ten-GigabitEthernet 1/1/7 on Switch A, respectively.
• Host A and Host B have failed to join the multicast group FF1E::202.
Static port configuration example
Network requirements
As shown in Figure 71:
• Router A runs MLDv1 and serves as the MLD querier, and Switch A, Switch B, and Switch C run
MLDv1 snooping.
• Host A and Host C are permanent receivers of the IPv6 multicast group FF1E::101. Configure
Ten-GigabitEthernet 1/1/7 and Ten-GigabitEthernet 1/1/9 on Switch C as static member ports for
the IPv6 multicast group FF1E::101 to enhance the reliability of IPv6 multicast traffic transmission.
• Suppose the STP runs on the network. To avoid data loops, the forwarding path from Switch A to
Switch C is blocked under normal conditions, and IPv6 multicast data flows to the receivers
attached to Switch C only along the path of Switch A—Switch B—Switch C. When this path is
blocked, at least one MLD query-response cycle must be completed before multicast data flows to
the receivers along the path of Switch A—Switch C. In this case, the multicast delivery is interrupted
during the process. For more information about the STP, see Layer 2—LAN Switching Configuration
Guide.