1-10
z
Switch A’s GigabitEthernet 1/0/1 belongs to VLAN 10, GigabitEthernet 1/0/2 through
GigabitEthernet 1/0/4 belong to VLAN 2 through VLAN 4 respectively, and Host A through Host C
are attached to GigabitEthernet 1/0/2 through GigabitEthernet 1/0/4 of Switch A.
z
The IPv6 multicast source sends IPv6 multicast data to IPv6 multicast group FF1E::101. Host A,
Host B, and Host C are receivers of the IPv6 multicast group.
z
Configure the port-based IPv6 multicast VLAN feature so that Router A just sends IPv6 multicast
data to Switch A through the IPv6 multicast VLAN and Switch A forward the IPv6 multicast data to
the receivers that belong to different user VLANs.
Figure 1-5
Network diagram for port-based IPv6 multicast VLAN configuration
Source
Receiver
Host A
VLAN 2
GE1/0/2
GE1/0/3
GE1/0/4
Switch A
MLD querier
Router A
GE1/0/1
1:2/64
GE1/0/2
2001::1/64
1::1/64
Receiver
Host B
VLAN 3
Receiver
Host C
VLAN 4
GE1/0/1
Configuration procedure
1) Enable IPv6 forwarding and configure IPv6 addresses
Enable IPv6 forwarding on each device and configure the IPv6 address and address prefix for each
interface as per
Figure 1-5
. The detailed configuration steps are omitted here.
2) Configure Router A
# Enable IPv6 multicast routing, enable IPv6 PIM-DM on each interface, and enable MLD on the
host-side interface GigabitEthernet 1/0/2.
<RouterA> system-view
[RouterA] multicast ipv6 routing-enable
[RouterA] interface gigabitethernet 1/0/1
[RouterA-GigabitEthernet1/0/1] ipv6 pim dm
[RouterA-GigabitEthernet1/0/1] quit
[RouterA] interface gigabitethernet 1/0/2
[RouterA-GigabitEthernet1/0/2] ipv6 pim dm
[RouterA-GigabitEthernet1/0/2] mld enable
3) Configure Switch A
# Enable MLD Snooping globally.
<SwitchA> system-view
[SwitchA] mld-snooping
[SwitchA-mld-snooping] quit