216
Static port configuration example (for VLANs)
Network requirements
•
Router A runs MLDv1 and acts as the MLD querier. Switch A, Switch B, and Switch C run
MLDv1 snooping.
•
Host A and Host C are permanent receivers of IPv6 multicast group FF1E::101.
Configure static ports to meet the following requirements:
•
To enhance the reliability of IPv6 multicast traffic transmission, configure HundredGigE 1/0/3
and HundredGigE 1/0/5 on Switch C as static member ports for IPv6 multicast group
FF1E::101.
•
Suppose the STP runs on the network. To avoid data loops, the forwarding path from Switch A
to Switch C is blocked. IPv6 multicast data flows to the receivers attached to Switch C only
along the path of Switch A—Switch B—Switch C. When this path is blocked, a minimum of one
MLD query-response cycle must be completed before IPv6 multicast data flows to the receivers
along the path of Switch A—Switch C. In this case, the multicast delivery is interrupted during
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 69 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
Source
1::1/64
Router A
MLD querier
HGE1/0/1
2001::1/64
Switch A
Switch B
Switch C
HGE1/0/1
HGE1/0/2
HGE1/0/3
HGE1/0/1
HGE1/0/2
HGE1/0/1
HGE1/0/2
HGE1/0/3
HGE1/0/4
HGE1/0/5
Host A
Receiver
Host B
Host C
Receiver
VLAN 100
HGE1/0/2
1::2/64