341
Figure 100 Network diagram
Configuration procedure
1.
Configure Switch A:
# Enable IPv6 multicast routing.
<SwitchA> system-view
[SwitchA] ipv6 multicast routing
[SwitchA-mrib6] quit
# Create VLAN 20, and assign HundredGigE 1/0/2 to the VLAN.
[SwitchA] vlan 20
[SwitchA-vlan20] port hundredgige 1/0/2
[SwitchA-vlan20] quit
# Assign an IPv6 address to VLAN-interface 20, and enable IPv6 PIM-DM on the interface.
[SwitchA] interface vlan-interface 20
[SwitchA-Vlan-interface20] ipv6 address 1::2 64
[SwitchA-Vlan-interface20] ipv6 pim dm
[SwitchA-Vlan-interface20] quit
# Create VLAN 10.
[SwitchA] vlan 10
[SwitchA-vlan10] quit
# Configure HundredGigE 1/0/1 as a hybrid port, and assign the port to VLAN 10 as a tagged
VLAN member.
[SwitchA] interface hundredgige 1/0/1
[SwitchA-HundredGigE1/0/1] port link-type hybrid
[SwitchA-HundredGigE1/0/1] port hybrid vlan 10 tagged
[SwitchA-HundredGigE1/0/1] quit
# Assign an IPv6 address to VLAN-interface 10, and enable MLD on the interface.
[SwitchA] interface vlan-interface 10
[SwitchA-Vlan-interface10] ipv6 address 2001::1 64
[SwitchA-Vlan-interface10] mld enable
[SwitchA-Vlan-interface10] quit
Source
Receiver
Host A
VLAN 2
HGE1/0/2
HGE1/0/3
HGE1/0/4
Switch B
MLD querier
Switch A
1::1/64
Receiver
Host B
VLAN 3
Receiver
Host C
VLAN 4
HGE1/0/1
HGE1/0/1
Vlan-int10
2001::1/64
HGE1/0/2
Vlan-int20
1::2/64