72
# Configure an IPv6 multicast group policy 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
# Configure GigabitEthernet 1/0/3 and GigabitEthernet 1/0/4 as simulated member hosts to join
IPv6 multicast group FF1E::101.
[SwitchA] interface gigabitethernet 1/0/3
[SwitchA-GigabitEthernet1/0/3] mld-snooping host-join ff1e::101 vlan 100
[SwitchA-GigabitEthernet1/0/3] quit
[SwitchA] interface gigabitethernet 1/0/4
[SwitchA-GigabitEthernet1/0/4] mld-snooping host-join ff1e::101 vlan 100
[SwitchA-GigabitEthernet1/0/4] quit
Verifying the configuration
# Send MLD reports from Host A and Host B to join IPv6 multicast groups FF1E::101 and FF1E::202.
(Details not shown.)
# Display dynamic MLD snooping group entries for 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):
GE1/0/3 (00:03:23)
GE1/0/4 (00:04:10)
The output shows the following information:
•
Host A and Host B have joined IPv6 multicast group FF1E::101 (through the member ports
GigabitEthernet 1/0/4 and GigabitEthernet 1/0/3 on Switch A, respectively).
•
Host A and Host B have failed to join IPv6 multicast group FF1E::202.
Static port configuration example
Network requirements
As shown in
:
•
Router A runs MLDv1 and acts as the MLD querier, and Switch A, Switch B, and Switch C run
MLDv1 snooping.
•
Host A and Host C are permanent receivers of IPv6 multicast group FF1E::101.
Configure static ports to meet the following requirements:
•
To enhance the reliability of IPv6 multicast traffic transmission, configure GigabitEthernet 1/0/3
and GigabitEthernet 1/0/5 on Switch C as static member ports for IPv6 multicast group
FF1E::101.
•
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. IPv6 multicast data flows to the receivers