Verifying the configuration – H3C Technologies H3C S12500 Series Switches User Manual

Page 326

Advertising
background image

310

[SwitchA] ipv6

[SwitchA] mld-snooping

[SwitchA-mld-snooping] quit

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

[SwitchA] vlan 100

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

# Enable MLD snooping and the function of dropping unknown IPv6 multicast data packets in
VLAN 100.

[SwitchA-vlan100] mld-snooping enable

[SwitchA-vlan100] mld-snooping drop-unknown

# Configure MLD snooping querier feature in VLAN 100.

[SwitchA-vlan100] mld-snooping querier

[SwitchA-vlan100] quit

2.

Configure Switch B:
# Enable IPv6 forwarding and enable MLD snooping globally.

<SwitchB> system-view

[SwitchB] ipv6

[SwitchB] mld-snooping

[SwitchB-mld-snooping] quit

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

100.

[SwitchB] vlan 100

[SwitchB-vlan100] port GigabitEthernet 3/0/1 to GigabitEthernet 3/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

3.

Configure Switch C and Switch D in the same way as you configure Switch B.

Verifying the configuration

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

general queries.
# 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.

Advertising