
381
Configuration procedure
1.
Assign an IPv6 address and prefix length for each interface, as shown in
. (Details
not shown.)
2.
Configure OSPFv3 on the routers in the IPv6 PIM-SSM domain. (Details not shown.)
3.
Enable IPv6 multicast routing, MLD and IPv6 PIM-SM:
# On Router A, enable IPv6 multicast routing.
<RouterA> system-view
[RouterA] ipv6 multicast routing
[RouterA-mrib6] quit
# Enable MLDv2 on GigabitEthernet 1/0/1 (the interface that connects to the stub network).
[RouterA] interface gigabitethernet 1/0/1
[RouterA-GigabitEthernet1/0/1] mld enable
[RouterA-GigabitEthernet1/0/1] mld version 2
[RouterA-GigabitEthernet1/0/1] quit
# Enable IPv6 PIM-SM on other interfaces.
[RouterA] interface gigabitethernet 1/0/2
[RouterA-GigabitEthernet1/0/2] ipv6 pim sm
[RouterA-GigabitEthernet1/0/2] quit
[RouterA] interface gigabitethernet 1/0/3
[RouterA-GigabitEthernet1/0/3] ipv6 pim sm
[RouterA-GigabitEthernet1/0/3] quit
# Enable IPv6 multicast routing, MLD and IPv6 PIM-SM on Router B and Router C in the same
way Router A is configured. (Details not shown.)
# Enable IPv6 multicast routing and IPv6 PIM-SM on Router D and Router E in the same way
Router A is configured. (Details not shown.)
4.
Configure the IPv6 SSM group range FF3E::/64 on Router A.
[RouterA] acl ipv6 basic 2000
[RouterA-acl-ipv6-basic-2000] rule permit source ff3e:: 64
[RouterA-acl-ipv6-basic-2000] quit
[RouterA] ipv6 pim
[RouterA-pim6] ssm-policy 2000
[RouterA-pim6] quit
5.
Configure the IPv6 SSM group range on Router B, Router C, Router D and Router E in the
same way Router A is configured. (Details not shown.)
Verifying the configuration
# Display IPv6 PIM information on Router A.
[RouterA] display ipv6 pim interface
Interface NbrCnt HelloInt DR-Pri DR-Address
GE1/0/1 0 30 1 FE80::A01:201:1
(local)
GE1/0/2 1 30 1 FE80::A01:201:2
GE1/0/3 1 30 1 FE80::A01:201:3
# Send an MLDv2 report from Host A to join IPv6 multicast source and group (4001::100/64,
FF3E::101). (Details not shown.)
# Display IPv6 PIM multicast routing table information on Router A.
[RouterA] display ipv6 pim routing-table
Total 0 (*, G) entry; 1 (S, G) entry