457
Device
Interface
IPv6 address
Device
Interface
IPv6 address
Switch A
VLAN-interface 100
1001::1/64
Switch D
VLAN-interface
104
3002::2/64
VLAN-interface
101
1002::1/64
VLAN-interface
108
6001::1/64
Switch B
VLAN-interface 200
2001::1/64
VLAN-interface
107
6002::1/64
VLAN-interface 101
1002::2/64
Switch E
VLAN-interface
400
7001::1/64
VLAN-interface
103
2002::1/64
VLAN-interface
105
3003::2/64
VLAN-interface
102
2003::1/64
VLAN-interface
108
6001::2/64
Switch C
VLAN-interface 300
3001::1/64
Switch F
VLAN-interface
109
8001::1/64
VLAN-interface
104
3002::1/64
VLAN-interface
107
6002::2/64
VLAN-interface
105
3003::1/64
VLAN-interface
102
2003::2/64
VLAN-interface 103
2002::2/64
Switch G
VLAN-interface
500
9001::1/64
VLAN-interface
106
3004::1/64
VLAN-interface
109
8001::2/64
Switch H
VLAN-interface 110
4001::1/64
Source 1
—
2001::100/64
VLAN-interface 106
3004::2/64
Source 2
—
3001::100/64
Switch I
VLAN-interface 600
5001::1/64
Source 3
—
9001::100/64
VLAN-interface
110
4001::2/64
Configuration procedure
1.
Assign an IPv6 address and prefix length to each interface according to
. (Details not
shown.)
2.
Configure OSPFv3 on the switches in the IPv6 PIM-SM domain to make sure the switches are
interoperable at the network layer. (Details not shown.)
3.
Enable IPv6 multicast routing and IPv6 administrative scoping, and enable IPv6 PIM-SM and
MLD:
# On Switch A, enable IPv6 multicast routing, enable administrative scoping, enable MLD on
the host-side interface VLAN-interface 100, and enable IPv6 PIM-SM on each interface.
<SwitchA> system-view
[SwitchA] multicast ipv6 routing-enable
[SwitchA] pim ipv6
[SwitchA-pim6] c-bsr admin-scope
[SwitchA-pim6] quit
[SwitchA] interface vlan-interface 100
[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