beautypg.com

Igmp snooping proxying configuration example, Network requirements – H3C Technologies H3C S3100V2 Series Switches User Manual

Page 49

background image

41

# Set the source IP address of IGMP general queries and group-specific queries to 192.168.1.1 in VLAN

100.

[SwitchA-vlan100] igmp-snooping general-query source-ip 192.168.1.1

[SwitchA-vlan100] igmp-snooping special-query source-ip 192.168.1.1

[SwitchA-vlan100] quit

2.

Configure Switch B

# Enable IGMP snooping globally.

system-view

[SwitchB] igmp-snooping

[SwitchB-igmp-snooping] quit

# Create VLAN 100, and assign Ethernet 1/0/1 through Ethernet 1/0/4 to the VLAN.

[SwitchB] vlan 100

[SwitchB-vlan100] port ethernet 1/0/1 to ethernet 1/0/4

# Enable IGMP snooping.

[SwitchB-vlan100] igmp-snooping enable

[SwitchB-vlan100] quit

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

3.

Verify the configuration

After the IGMP snooping querier starts to work, all the switches but the querier can receive IGMP general

queries. Use the display igmp-snooping statistics command to view the statistics information about the

IGMP messages received.
# Display the IGMP message statistics on Switch B.

[SwitchB] display igmp-snooping statistics

Received IGMP general queries:3.

Received IGMPv1 reports:0.

Received IGMPv2 reports:12.

Received IGMP leaves:0.

Received IGMPv2 specific queries:0.

Sent IGMPv2 specific queries:0.

Received IGMPv3 reports:0.

Received IGMPv3 reports with right and wrong records:0.

Received IGMPv3 specific queries:0.

Received IGMPv3 specific sg queries:0.

Sent IGMPv3 specific queries:0.

Sent IGMPv3 specific sg queries:0.

Received error IGMP messages:0.

IGMP snooping proxying configuration example

Network requirements

As shown in

Figure 16

, Router A connects to a multicast source through port Ethernet 1/0/2, and to

Switch A through port Ethernet 1/0/1. Router A runs IGMPv2 and Switch A runs IGMPv2 snooping.

Router A serves as an IGMP querier.