310
the process. For more information about the STP, see
Layer 2—LAN Switching Configuration
Guide
.
Configure HundredGigE 1/0/3 on Switch A as a static router port. Then, IPv6 multicast data can
flow to the receivers nearly uninterrupted along the path of Switch A—Switch C when the path
of Switch A—Switch B—Switch C is blocked.
Figure 90 Network diagram
Configuration procedure
1.
Assign an IPv6 address and prefix length 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 on HundredGigE 1/0/1.
[RouterA] interface hundredgige 1/0/1
[RouterA-HundredGigE1/0/1] mld enable
[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/3 to the VLAN.
Source
1::1/64
Router A
MLD querier
HGE1/0/1
2001::1/64
Switch A
Switch B
Switch C
HGE1/0/1
HGE
1/0
/2
HGE
1/0
/3
HGE
1/0
/1
HGE
1
/0
/2
HGE
1/0
/1
HGE
1
/0
/2
HGE
1/0
/3
HGE
1
/0
/4
HGE
1/0
/5
Host A
Receiver
Host B
Host C
Receiver
VLAN 100
HGE1/0/2
1::2/64