H3C S3100 Series Operation Manual page 328

H3c s3100 series ethernet switches operation manual
Hide thumbs Also See for S3100 Series:
Table of Contents

Advertisement

Enable IPv6 forwarding and configure an IPv6 address and prefix length for each interface as per
Figure
3-4. The detailed configuration steps are omitted.
2)
Configure Router A
# Enable IPv6 multicast routing, enable IPv6 PIM-DM on each interface, and enable MLDv1 on Ethernet
1/0/1.
<RouterA> system-view
[RouterA] multicast ipv6 routing-enable
[RouterA] interface ethernet 1/0/1
[RouterA-Ethernet1/0/1] mld enable
[RouterA-Ethernet1/0/1] pim ipv6 dm
[RouterA-Ethernet1/0/1] quit
[RouterA] interface ethernet 1/0/2
[RouterA-Ethernet1/0/2] pim ipv6 dm
[RouterA-Ethernet1/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 Ethernet 1/0/1 through Ethernet 1/0/4 to this VLAN, and enable MLD
snooping and the function of dropping IPv6 unknown multicast traffic in the VLAN.
[SwitchA] vlan 100
[SwitchA-vlan100] port ethernet 1/0/1 to ethernet 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
# Configure Ethernet 1/0/3 and Ethernet 1/0/4 as simulated hosts for IPv6 multicast group FF1E::101.
[SwitchA] interface ethernet 1/0/3
[SwitchA-Ethernet1/0/3] mld-snooping host-join ff1e::101 vlan 100
[SwitchA-Ethernet1/0/3] quit
[SwitchA] interface ethernet 1/0/4
[SwitchA-Ethernet1/0/4] mld-snooping host-join ff1e::101 vlan 100
[SwitchA-Ethernet1/0/4] quit
4)
Verify the configuration
# Display the detailed MLD snooping multicast group information in VLAN 100 on Switch A.
[SwitchA] display mld-snooping group vlan 100 verbose
Total 1 IP Group(s).
Total 1 IP Source(s).
Total 1 MAC Group(s).
3-21

Advertisement

Chapters

Table of Contents
loading

Table of Contents