beautypg.com

Mld snooping querier configuration example, Network requirements, Configuration procedure – H3C Technologies H3C S3100V2 Series Switches User Manual

Page 93

background image

85

MLD snooping querier configuration example

Network requirements

As shown in

Figure 26

, in a Layer-2-only network environment, two multicast sources Source 1 and

Source 2 send IPv6 multicast data to multicast groups FF1E::101 and FF1E::102 respectively, Host A

and Host C are receivers of multicast group FF1E::101, and Host B and Host D are receivers of

multicast group FF1E::102.

MLDv1 runs on all the receivers and MLDv1 snooping runs on all the switches. Switch A, which is
close to the multicast sources, acts as the MLD snooping querier.

To prevent flooding of unknown multicast traffic within the VLAN, be sure to configure all the
switches to drop unknown multicast data packets.

Figure 26 Network diagram for MLD snooping querier configuration

Switch D

Switch A

Querier

Switch B

Switch C

Source 1

1::10/64

Host D

Receiver

Eth1/0/2

Eth1/0/1

Eth1/0/1

Eth1/0/2

Eth1/0/3

Eth1/0/3

Eth1/0/1

Eth1/0/2

Eth1/0/1

Eth1/0/3

Eth1/0/2

Source 2

1::20/64

Host A

Host B

Host C

Receiver

Receiver

Receiver

Eth1/0/4

Configuration procedure

1.

Configure Switch A

# Enable IPv6 forwarding and enable MLD snooping and the function of dropping unknown IPv6

multicast data packets globally.

system-view

[SwitchA] ipv6

[SwitchA] mld-snooping

[SwitchA-mld-snooping] drop-unknown

[SwitchA-mld-snooping] quit

# Create VLAN 100 and assign Ethernet 1/0/1 through Ethernet 1/0/3 to VLAN 100.

[SwitchA] vlan 100

[SwitchA-vlan100] port ethernet 1/0/1 to ethernet 1/0/3

# Enable MLD snooping.

[SwitchA-vlan100] mld-snooping enable

# Configure MLD snooping querier feature in VLAN 100.

[SwitchA-vlan100] mld-snooping querier

[SwitchA-vlan100] quit