353
IPv6 multicast routing and forwarding
configuration examples
IPv6 multicast forwarding over a GRE tunnel
Network requirements
•
IPv6 multicast routing and IPv6 PIM-DM are enabled on Switch A and Switch C.
•
Switch B does not support IPv6 multicast.
•
Switch A, Switch B, and Switch C run OSPFv3. The source-side interface VLAN-interface 100
on Switch A does not run OSPFv3.
Configure the switches so that the receiver host can receive the IPv6 multicast data from Source.
Figure 104 Network diagram
Configuration procedure
1.
Assign an IPv6 address and prefix length to each interface, as shown in
. (Details not
shown.)
2.
Configure OSPFv3 on the switches. Do not run OSPFv3 on VLAN-interface 100 on Switch A.
(Details not shown.)
3.
Configure a GRE tunnel:
# On Switch A, create service loopback group 1, and specify the unicast tunnel service for the
group.
<SwitchA> system-view
[SwitchA] service-loopback group 1 type tunnel
# Assign HundredGigE 1/0/3 to service loopback group 1. (HundredGigE 1/0/3 does not belong
to VLAN 100 or VLAN 101.)
[SwitchA] interface hundredgige 1/0/3
[SwitchA-HundredGigE1/0/3] port service-loopback group 1
[SwitchA-HundredGigE1/0/3] quit
# Create a GRE tunnel interface Tunnel 2, and specify the tunnel mode as GRE/IPv6.
[SwitchA] interface tunnel 2 mode gre ipv6
# Assign an IPv6 address to interface Tunnel 2, and specify its source and destination
addresses.
[SwitchA-Tunnel2] ipv6 address 5001::1 64
IPv6 multicast router
Switch A
Vlan-int101
2001::1/64
Vlan-int102
3001::1/64
Vlan-int102
3001::2/64
Vlan-int101
2001::2/64
Source
Receiver
4001::100/64
Vlan-int200
4001::1/64
1001::100/64
Vlan-int100
1001::1/64
GRE tunnel
Tunnel2
5001::1/64
Tunnel2
5001::2/64
IPv6 unicast router
Switch B
IPv6 multicast router
Switch C
Member port of a service loopback group
HGE1/0/3
HGE1/0/3