
343
Device Interface
IPv6 address
Router D
Ethernet 1/1
4001::1/64
Router D
Serial 2/0
1002::2/64
Router D
POS 5/0
2002::2/64
Router D
POS 5/1
3001::2/64
Configuration procedure
1.
Enable IPv6 forwarding on each router and assign an IPv6 address and prefix length to each
interface according to
. (Details not shown.)
2.
Configure OSPFv3 on the routers in the IPv6 PIM-DM domain to make sure they are interoperaable
at the network layer. (Details not shown.)
3.
Enable IPv6 multicast routing, and enable IPv6 PIM-DM and MLD:
# Enable IPv6 multicast routing on Router A, and enable IPv6 PIM-DM on each interface and
enable MLD on Ethernet 1/1, which connects Router A to N1.
<RouterA> system-view
[RouterA] multicast ipv6 routing-enable
[RouterA] interface ethernet 1/1
[RouterA-Ethernet1/1] mld enable
[RouterA-Ethernet1/1] pim ipv6 dm
[RouterA-Ethernet1/1] quit
[RouterA] interface serial 2/0
[RouterA-Serial2/0] pim ipv6 dm
[RouterA-Serial2/0] quit
# Enable IPv6 multicast routing, and enable IPv6 PIM-DM and MLD on Router B and Router C in the
same way. (Details not shown.)
# On Router D, enable IPv6 multicast routing and enable IPv6 PIM-DM on each interface.
<RouterD> system-view
[RouterD] multicast ipv6 routing-enable
[RouterD] interface ethernet 1/1
[RouterD-Ethernet1/1] pim ipv6 dm
[RouterD-Ethernet1/1] quit
[RouterD] interface serial 2/0
[RouterD-Serial2/0] pim ipv6 dm
[RouterD-Serial2/0] quit
[RouterD] interface pos 5/0
[RouterD-Pos5/0] pim ipv6 dm
[RouterD-Pos5/0] quit
[RouterD] interface pos 5/1
[RouterD-Pos5/1] pim ipv6 dm
[RouterD-Pos5/1] quit
Verifying the configuration
Use the
display pim ipv6 interface
command to display IPv6 PIM information on each interface. For
example:
# Display IPv6 PIM information on Router D.