R211x-HP Flexfabric 11900 IP Multicast Configuration Guide
122
Configuration procedure
1. Assign an IPv6 address and prefix length to each interface according to Figure 38. (Details not
shown.)
2. Configure Router A:
# Enable IPv6 multicast routing.
<RouterA> system-view
[RouterA] ipv6 multicast routing
[RouterA-mrib6] quit
# Enable MLD on Ten-GigabitEthernet 1/0/1.
[RouterA] interface ten-gigabitethernet 1/0/1
[RouterA-Ten-GigabitEthernet1/0/1] mld enable
[RouterA-Ten-GigabitEthernet1/0/1] quit
# Enable IPv6 PIM-DM on Ten-GigabitEthernet 1/0/2.
[RouterA] interface ten-gigabitethernet 1/0/2
[RouterA-Ten-GigabitEthernet1/0/2] ipv6 pim dm
[RouterA-Ten-GigabitEthernet1/0/2] quit
3. Configure Switch A:
# Enable MLD snooping globally.
<SwitchA> system-view
[SwitchA] mld-snooping
[SwitchA-mld-snooping] quit
# Create VLAN 100, assign Ten-GigabitEthernet 1/0/1 through Ten-GigabitEthernet 1/0/4 to
the VLAN, and enable MLD snooping and the function of dropping IPv6 unknown multicast data
for the VLAN.
[SwitchA] vlan 100
[SwitchA-vlan100] port ten-gigabitethernet 1/0/1 to ten-gigabitethernet 1/0/4
[SwitchA-vlan100] mld-snooping enable
[SwitchA-vlan100] mld-snooping drop-unknown
[SwitchA-vlan100] quit
# Configure an IPv6 multicast group filter to control that the hosts in VLAN 100 can join only IPv6
multicast group FF1E::101.
[SwitchA] acl ipv6 number 2001
[SwitchA-acl6-basic-2001] rule permit source ff1e::101 128
[SwitchA-acl6-basic-2001] quit
[SwitchA] mld-snooping
[SwitchA–mld-snooping] group-policy 2001 vlan 100
[SwitchA–mld-snooping] quit
Verifying the configuration
Assume that Host A and Host B want to join the IPv6 multicast groups FF1E::101 and FF1E::202 to receive
the IPv6 multicast data from the IPv6 multicast source.
# Display information about the dynamic MLD snooping forwarding entries in VLAN 100 on Switch A.
[SwitchA] display mld-snooping group vlan 100
Total 1 entries.
VLAN 100: Total 1 entries.










