301
[CEa1-Vlan-interface10] ipv6 address 1001::1 64
[CEa1-Vlan-interface10] pim ipv6 sm
[CEa1-Vlan-interface10] quit
# Assign an IPv6 address to VLAN-interface 20 and enable IPv6 PIM-SM on the interface.
[CEa1] interface vlan-interface 20
[CEa1-Vlan-interface20] ipv6 address 2001::1 64
[CEa1-Vlan-interface20] pim ipv6 sm
[CEa1-Vlan-interface20] quit
# Assign an IPv6 address to Loopback 0 and enable IPv6 PIM-SM on the interface.
[CEa1] interface loopback 0
[CEa1-LoopBack0] ipv6 address 3001::1 128
[CEa1-LoopBack0] pim ipv6 sm
[CEa1-LoopBack0] quit
# Configure Loopback 0 as a C-BSR and a C-RP for VPN instance
a
.
[CEa1] pim ipv6
[CEa1-pim6] c-bsr 3001::1 128
[CEa1-pim6] c-rp 3001::1 128
[CEa1-pim6] quit
# Configure RIPng.
[CEa1] ripng 1
[CEa1-ripng-1] quit
[CEa1] interface vlan-interface 10
[CEa1-Vlan-interface10] ripng 1 enable
[CEa1-Vlan-interface10] quit
[CEa1] interface vlan-interface 20
[CEa1-Vlan-interface20] ripng 1 enable
[CEa1-Vlan-interface20] quit
[CEa1] interface loopback 0
[CEa1-LoopBack0] ripng 1 enable
[CEa1-LoopBack0] quit
5.
Configure CE
a2
:
# Enable IPv6 forwarding and IPv6 multicast routing.
<CEa2> system-view
[CEa2] ipv6
[CEa2] multicast ipv6 routing-enable
# Assign an IPv6 address to VLAN-interface 50 and enable IPv6 PIM-SM on the interface.
[CEa2] interface vlan-interface 50
[CEa2-Vlan-interface50] ipv6 address 4001::2 64
[CEa2-Vlan-interface50] pim ipv6 sm
[CEa2-Vlan-interface50] quit
# Assign an IPv6 address to VLAN-interface 60 and enable MLD and IPv6 PIM-SM on the
interface.
[CEa2] interface vlan-interface 60
[CEa2-Vlan-interface60] ipv6 address 5001::1 64
[CEa2-Vlan-interface60] mld enable
[CEa2-Vlan-interface60] pim ipv6 sm
[CEa2-Vlan-interface60] quit
# Configure RIPng.