beautypg.com

Mld snooping proxying configuration example, Network requirements – H3C Technologies H3C S7500E Series Switches User Manual

Page 291

background image

9-35

2) Configure Switch B

# Enable IPv6 forwarding and enable MLD snooping globally.

system-view

[SwitchB] ipv6

[SwitchB] mld-snooping

[SwitchB-mld-snooping] quit

# Create VLAN 100, add GigabitEthernet 2/0/1 through GigabitEthernet 2/0/4 into VLAN 100.

[SwitchB] vlan 100

[SwitchB-vlan100] port gigabitethernet 2/0/1 to gigabitethernet 2/0/4

# Enable the MLD snooping feature and the function of dropping unknown IPv6 multicast data

packets in VLAN 100.

[SwitchB-vlan100] mld-snooping enable

[SwitchB-vlan100] mld-snooping drop-unknown

[SwitchB-vlan100] quit

Configurations of Switch C and Switch D are similar to the configuration of Switch B.

3) Verify

the

configuration

When the MLD snooping querier starts to work, all the switches but the querier receive MLD

general queries. Use the display mld-snooping statistics command to view the statistics

information of these MLD messages received.

# Display the MLD message statistics on Switch B.

[SwitchB-vlan100] display mld-snooping statistics

Received MLD general queries:3.

Received MLDv1 specific queries:0.

Received MLDv1 reports:12.

Received MLD dones:0.

Sent MLDv1 specific queries:0.

Received MLDv2 reports:0.

Received MLDv2 reports with right and wrong records:0.

Received MLDv2 specific queries:0.

Received MLDv2 specific sg queries:0.

Sent MLDv2 specific queries:0.

Sent MLDv2 specific sg queries:0.

Received error MLD messages:0.

MLD Snooping Proxying Configuration Example

Network requirements

As shown in

Figure 9-7

,

z

Router A connects to an IPv6 multicast source through port GigabitEthernet 2/0/2, and to

Switch A through port GigabitEthernet 2/0/1.

z

Router A runs MLDv1 and Switch A runs MLDv1 Snooping. Router A acts as an MLD

querier.

z

Configure MLD snooping proxying on Switch A, enabling the switch to forward MLD reports

and done messages on behalf of attached hosts and to respond to MLD queries from

Router A and forward the queries to the hosts on behalf of Router A.