598 CHAPTER 43: MLD SNOOPING CONFIGURATION
■ Suppose STP runs on the network. To avoid data loops, the forwarding path
from Switch A to Switch C is blocked under normal conditions, and IPv6
multicast traffic flows to the receivers, Host A and Host C, attached to Switch C
only along the path of Switch A-Switch B-Switch C.
■ Now it is required to configure GigabitEthernet 1/0/3 that connects Switch A to
Switch C as a static router port, so that IPv6 multicast traffic can flows to the
receivers nearly uninterruptedly along the path of Switch A-Switch C in the
case that the path of Switch A-Switch B-Switch C gets blocked.
n
If no static router port is configured, when the path of Switch A-Switch B-Switch C
gets blocked, at least one MLD query-response cycle must be completed before
the IPv6 multicast data can flow to the receivers along the new path of Switch
A-Switch C, namely IPv6 multicast delivery will be interrupted during this process.
Network diagram
Figure 178 Network diagram for static router port configuration
Configuration procedure
1 Enable IPv6 forwarding and configure the IPv6 address of each interface
Enable IPv6 forwarding and configure an IP address and prefix length for each
interface as per Figure 178.
2 Configure Router A
# Enable IPv6 multicast routing, enable IPv6 PIM-DM on each interface, and enable
MLD on GigabitEthernet 1/0/1.
<RouterA> system-view
[RouterA] multicast ipv6 routing-enable
[RouterA] interface GigabitEthernet 1/0/1
[RouterA-GigabitEthernet 1/0/1] mld enable
[RouterA-GigabitEthernet 1/0/1] pim ipv6 dm
[RouterA-GigabitEthernet 1/0/1] quit
[RouterA] interface GigabitEthernet 1/0/2
Source
1::1/64
Router A
MLD querier
GE1/0/1
2001::1/64
GE1/0/2
1::2/64
Switch A
Switch C
Switch B
GE1/01
G
E
1
/
0
/
2
G
E
1
/
0
/
3
G
E
1
/
0
/
1
GE1/0/2
E
t
h
1
/
0
/
1
GE1/0/2
Host C
Host B Host A
Receiver
Receiver
G
E
1
/
0
/
3
G
E
1
/
0
/
4
GE1/0/5