273
Figure 70 Network diagram for IPv6 multicast source/user control policy configuration
Switch B
Receiver
Host A
Host B
2::1/64
GE1/0/2
GE1/0/3
GE1/0/1
GE1/0/2
Vlan-int102
2::2/64
Source 2
Source 1
1::1/64
GE1/0/1
Vlan-int101
1::2/24
GE1/0/4
Vlan-int104
2001::1/64
GE1/0/3
Vlan-int103
3::2/64
RADIUS server
3::1/64
Switch A
Configuration procedures
1. Configure IP addresses for interfaces
Enable IPv6 forwarding and configure an IP address and prefix length for each interface according to
Figure 70 (details not shown).
2. Configure Switch A
# Create VLAN 101 through VLAN 104 and assign GigabitEthernet 1/0/1 through GigabitEthernet
1/0/4 to the four VLANs respectively.
<SwitchA> system-view
[SwitchA] vlan 101
[SwitchA-vlan101] port gigabitethernet 1/0/1
[SwitchA-vlan101] quit
[SwitchA] vlan 102
[SwitchA-vlan102] port gigabitethernet 1/0/2
[SwitchA-vlan102] quit
[SwitchA] vlan 103
[SwitchA-vlan103] port gigabitethernet 1/0/3
[SwitchA-vlan103] quit
[SwitchA] vlan 104
[SwitchA-vlan104] port gigabitethernet 1/0/4
[SwitchA-vlan104] quit
# Enable IPv6 multicast routing. Enable IPv6 PIM-DM on VLAN-interface 101, VLAN-interface 102 and
VLAN-interface 104, and enable MLD on VLAN-interface 104.
[SwitchA] multicast ipv6 routing-enable
[SwitchA] interface vlan-interface 101
[SwitchA-Vlan-interface101] pim ipv6 dm
[SwitchA-Vlan-interface101] quit
[SwitchA] interface vlan-interface 102
[SwitchA-Vlan-interface102] pim ipv6 dm