221
•
Forward MLD report and done messages to Router A.
•
Respond to MLD queries sent by Router A and forward the queries to downstream hosts.
Figure 71 Network diagram
Configuration procedure
1.
Assign an IPv6 address and subnet mask to each interface, as shown in
. (Details not
shown.)
2.
Configure Router A:
# Enable IPv6 multicast routing.
<RouterA> system-view
[RouterA] ipv6 multicast routing
[RouterA-mrib6] quit
# Enable MLD and IPv6 PIM-DM on HundredGigE 1/0/1.
[RouterA] interface hundredgige 1/0/1
[RouterA-HundredGigE1/0/1] mld enable
[RouterA-HundredGigE1/0/1] ipv6 pim dm
[RouterA-HundredGigE1/0/1] quit
# Enable IPv6 PIM-DM on HundredGigE 1/0/2.
[RouterA] interface hundredgige 1/0/2
[RouterA-HundredGigE1/0/2] ipv6 pim dm
[RouterA-HundredGigE1/0/2] quit
3.
Configure Switch A:
# Enable MLD snooping globally.
<SwitchA> system-view
[SwitchA] mld-snooping
[SwitchA-mld-snooping] quit
# Create VLAN 100, and assign HundredGigE 1/0/1 through HundredGigE 1/0/4 to the VLAN.
[SwitchA] vlan 100
[SwitchA-vlan100] port hundredgige 1/0/1 to hundredgige 1/0/4
# Enable MLD snooping and MLD snooping proxying for the VLAN.
[SwitchA-vlan100] mld-snooping enable
Source
Router A
MLD querier
Switch A
Proxy
Receiver
Receiver
Host A
Host B
Host C
1::1/64
HGE1/0/4
HGE1/0/2
HGE1/0/3
HGE1/0/1
HGE1/0/1
2001::1/64
HGE1/0/2
1::2/64
VLAN 100