452
[SwitchA-Vlan-interface100] mld enable
[SwitchA-Vlan-interface100] pim ipv6 sm
[SwitchA-Vlan-interface100] quit
[SwitchA] interface vlan-interface 101
[SwitchA-Vlan-interface101] pim ipv6 sm
[SwitchA-Vlan-interface101] quit
[SwitchA] interface vlan-interface 102
[SwitchA-Vlan-interface102] pim ipv6 sm
[SwitchA-Vlan-interface102] quit
# Enable IPv6 multicast routing, MLD and IPv6 PIM-SM on Switch B and Switch C in the same
way. (Details not shown.)
# Enable IPv6 multicast routing and IPv6 PIM-SM on Switch D and Switch E in the same way.
(Details not shown.)
4.
Configure a C-BSR and a C-RP:
# On Switch D, configure the service scope of RP advertisements, specify a C-BSR and a C-RP,
and set the hash mask length to 128 and the priority of the C-BSR to 10.
<SwitchD> system-view
[SwitchD] acl ipv6 number 2005
[SwitchD-acl6-basic-2005] rule permit source ff0e::101 64
[SwitchD-acl6-basic-2005] quit
[SwitchD] pim ipv6
[SwitchD-pim6] c-bsr 4002::1 128 10
[SwitchD-pim6] c-rp 4002::1 group-policy 2005
[SwitchD-pim6] quit
# On Switch E, configure the service scope of RP advertisements, specify a C-BSR and a C-RP,
and set the hash mask length to 128 and the priority of the C-BSR to 20.
<SwitchE> system-view
[SwitchE] acl ipv6 number 2005
[SwitchE-acl6-basic-2005] rule permit source ff0e::101 64
[SwitchE-acl6-basic-2005] quit
[SwitchE] pim ipv6
[SwitchE-pim6] c-bsr 1003::2 128 20
[SwitchE-pim6] c-rp 1003::2 group-policy 2005
[SwitchE-pim6] quit
Verifying the configuration
# Display IPv6 PIM information on all interfaces of Switch A.
[SwitchA] display pim ipv6 interface
VPN-Instance: public net
Interface NbrCnt HelloInt DR-Pri DR-Address
Vlan100 0 30 1 FE80::A01:201:1
(local)
Vlan101 1 30 1 FE80::A01:201:2
Vlan102 1 30 1 FE80::A01:201:3
# Display information about the BSR and locally configured C-RP in effect on Switch A.
[SwitchA] display pim ipv6 bsr-info
VPN-Instance: public net
Elected BSR Address: 1003::2
Priority: 20