Configuration procedure, Verifying the configuration – H3C Technologies H3C S12500-X Series Switches User Manual
Page 132
122
Configuration procedure
1.
Assign an IPv6 address and prefix length to each interface according to
. (Details not
shown.)
2.
Configure Router A:
# Enable IPv6 multicast routing globally.
[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] 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 so that the hosts in VLAN 100 can join only the 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.
- H3C S9800 Series Switches H3C S5560 Series Switches H3C S5130 Series Switches H3C S5120 Series Switches H3C S12500 Series Switches H3C SR8800 H3C SR6600-X H3C SR6600 H3C WX6000 Series Access Controllers H3C WX5000 Series Access Controllers H3C WX3000 Series Unified Switches H3C LSWM1WCM10 Access Controller Module H3C LSWM1WCM20 Access Controller Module H3C LSQM1WCMB0 Access Controller Module H3C LSRM1WCM2A1 Access Controller Module H3C LSBM1WCM2A0 Access Controller Module