beautypg.com

Verifying the configuration, Basic mld snooping concepts – H3C Technologies H3C S12500-X Series Switches User Manual

Page 152

background image

142

[SwitchA-Vlan-interface100] mld enable

[SwitchA-Vlan-interface100] quit

# Enable IPv6 PIM-DM on VLAN-interface 101.

[SwitchA] interface vlan-interface 101

[SwitchA-Vlan-interface101] ipv6 pim dm

[SwitchA-Vlan-interface101] quit

# On Switch B, enable IPv6 multicast routing globally.

system-view

[SwitchB] ipv6 multicast routing

[SwitchB-mrib6] quit

# Enable MLD on VLAN-interface 200 (the interface that connects to the stub network).

[SwitchB] interface vlan-interface 200

[SwitchB-Vlan-interface200] mld enable

[SwitchB-Vlan-interface200] quit

# Enable IPv6 PIM-DM on VLAN-interface 201.

[SwitchB] interface vlan-interface 201

[SwitchB-Vlan-interface201] ipv6 pim dm

[SwitchB-Vlan-interface201] quit

# On Switch C, enable IPv6 multicast routing globally.

system-view

[SwitchC] ipv6 multicast routing

[SwitchC-mrib6] quit

# Enable MLD on VLAN-interface 200 (the interface that connects to the stub network).

[SwitchC] interface vlan-interface 200

[SwitchC-Vlan-interface200] mld enable

[SwitchC-Vlan-interface200] quit

# Enable IPv6 PIM-DM on VLAN-interface 202.

[SwitchC] interface vlan-interface 202

[SwitchC-Vlan-interface202] ipv6 pim dm

[SwitchC-Vlan-interface202] quit

4.

Configure an IPv6 multicast group filter on Switch A so that the hosts connected to VLAN-interface
100 can join the IPv6 multicast group FF1E::101 only.

[SwitchA] acl ipv6 number 2001

[SwitchA-acl6-basic-2001] rule permit source ff1e::101 128

[SwitchA-acl6-basic-2001] quit

[SwitchA] interface vlan-interface 100

[SwitchA-Vlan-interface100] mld group-policy 2001

[SwitchA-Vlan-interface100] quit

Verifying the configuration

# Display MLD information on VLAN-interface 200 of Switch B.

[SwitchB] display mld interface vlan-interface 200

Vlan-interface200(FE80::200:5EFF:FE66:5100):

MLD is enabled.

MLD version: 1