369
•
VOD streams are sent to receiver hosts in multicast. Receiver hosts of different organizations
form stub networks N1 and N2. Host A and Host C are multicast receiver hosts in N1 and N2,
respectively.
•
MLDv1 runs between Switch A and N1, and between the other two switches (Switch B and
Switch C) and N2.
•
Switch A acts as the MLD querier in N1. Switch B acts as the MLD querier in N2 because it has
a lower IPv6 address.
Configure the switches to meet the following requirements:
•
The hosts in N1 can join only IPv6 multicast group FF1E::101.
•
The hosts in N2 can join any IPv6 multicast groups.
Figure 109 Network diagram
Configuration procedure
1.
Assign an IPv6 address and prefix length to each interface, as shown in
. (Details not
shown.)
2.
Configure OSPFv3 on the switches in the IPv6 PIM-DM domain. (Details not shown.)
3.
Enable the IPv6 multicast routing, MLD, and IPv6 PIM-DM:
# On Switch A, enable IPv6 multicast routing.
<SwitchA> system-view
[SwitchA] ipv6 multicast routing
[SwitchA-mrib6] quit
# Enable MLD on VLAN-interface 100.
[SwitchA] interface vlan-interface 100
[SwitchA-Vlan-interface100] mld enable
[SwitchA-Vlan-interface100] quit
# Enable IPv6 PIM-DM on VLAN-interface 101.
[SwitchA] interface vlan-interface 101
[SwitchA-Vlan-interface101] ipv6 pim dm
[SwitchA-Vlan-interface101] quit
Switch A
Switch B
Switch C
Querier
Ethernet
Ethernet
N1
N2
Receiver
Receiver
Host A
Host B
Host C
Host D
Vlan-int100
3000::12/64
Vlan-int200
3001::10/64
Vlan-int200
3001::12/64
Vlan
-int101
Vlan
-int201
Vlan
-int202
IPv6 PIM-DM