493
Device
Interface
IP address
Device
Interface
IP address
Source N/A
1002::100/64
Switch
C
Vlan-int200 3002::1/64
Switch A
Vlan-int100
1002::1/64 Vlan-int102 2001::2/64
Vlan-int101
1001::1/64
Vlan-int104
3001::1/64
Switch B
Vlan-int101
1001::2/64 Switch
D
Vlan-int103 2002::2/64
Vlan-int102
2001::1/64
Vlan-int104
3001::2/64
Vlan-int103
2002::1/64
Configuration procedure
1.
Enable IPv6 for all the switches, and assign an IPv6 addresses and prefix length for each
interface according to
. (Details not shown.)
2.
Configure OSPFv3. (Details not shown.)
3.
Enable IPv6 multicast routing, IPv6 PIM-SM and MLD, and configure an IPv6 PIM-SM domain
border:
# Enable IPv6 multicast routing on Switch A, and enable IPv6 PIM-SM on each interface.
<SwitchA> system-view
[SwitchA] multicast ipv6 routing-enable
[SwitchA] interface vlan-interface 100
[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
# Configure Switch B and Switch D in the same way.
# Enable IPv6 multicast routing on Switch C, enable IPv6 PIM-SM on each interface, and
enable MLD on the host-side interface VLAN-interface 200.
<SwitchC> system-view
[SwitchC] multicast ipv6 routing-enable
[SwitchC] interface vlan-interface 102
[SwitchC-Vlan-interface102] pim ipv6 sm
[SwitchC-Vlan-interface102] quit
[SwitchC] interface vlan-interface 104
[SwitchC-Vlan-interface104] pim ipv6 sm
[SwitchC-Vlan-interface104] quit
[SwitchC] interface vlan-interface 200
[SwitchC-Vlan-interface200] pim ipv6 sm
[SwitchC-Vlan-interface200] mld enable
[SwitchC-Vlan-interface200] quit
# Configure an IPv6 PIM domain border on Switch A.
[SwitchA] interface vlan-interface 101
[SwitchA-Vlan-interface101] pim ipv6 bsr-boundary
[SwitchA-Vlan-interface101] quit
# Configure an IPv6 PIM domain border on Switch B.
[SwitchB] interface vlan-interface 101
[SwitchB-Vlan-interface101] pim ipv6 bsr-boundary
[SwitchB-Vlan-interface101] quit
4.
Enable the imbedded RP function: