Configuration procedure – H3C Technologies H3C S7500E Series Switches User Manual
Page 308
10-12
Figure 10-5 Network diagram for port-based IPv6 multicast VLAN configuration
Source
Receiver
Host A
VLAN 2
GE2/0/2
GE2/0/3
GE2/0/4
Switch A
MLD querier
Router A
GE2/0/1
1:2/64
GE2/0/2
2001::1/64
1::1/64
Receiver
Host B
VLAN 3
Receiver
Host C
VLAN 4
GE2/0/1
Configuration procedure
1) Enable IPv6 forwarding and configure IPv6 addresses
Enable IPv6 forwarding on each device and configure the IPv6 address and address prefix for
each interface as per
. The detailed configuration steps are omitted here.
2) Configure Router A
# Enable IPv6 multicast routing, enable IPv6 PIM-DM on each interface, and enable MLD on the
host-side interface GigabitEthernet 2/0/2.
[RouterA] multicast ipv6 routing-enable
[RouterA] interface gigabitethernet 2/0/1
[RouterA-GigabitEthernet2/0/1] ipv6 pim dm
[RouterA-GigabitEthernet2/0/1] quit
[RouterA] interface gigabitethernet 2/0/2
[RouterA-GigabitEthernet2/0/2] ipv6 pim dm
[RouterA-GigabitEthernet2/0/2] mld enable
3) Configure Switch A
# Enable MLD Snooping globally.
[SwitchA] mld-snooping
[SwitchA-mld-snooping] quit
# Create VLAN 10, assign GigabitEthernet 2/0/1 to VLAN 10, and enable MLD Snooping in this
VLAN.
[SwitchA] vlan 10
[SwitchA-vlan10] port gigabitethernet 2/0/1
[SwitchA-vlan10] mld-snooping enable
[SwitchA-vlan10] quit
# Create VLAN 2 and enable MLD Snooping in the VLAN.
[SwitchA] vlan 2