beautypg.com

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

Page 66

background image

2-34

[SwitchA-vlan100] igmp-snooping drop-unknown

# Enable the IGMP-Snooping querier function in VLAN 100

[SwitchA-vlan100] igmp-snooping querier

# 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 GigabitEthernet 2/0/1 through GigabitEthernet 2/0/4 to the

VLAN.

[SwitchB] vlan 100

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

# Enable IGMP snooping and the function of dropping unknown multicast traffic in VLAN 100.

[SwitchB-vlan100] igmp-snooping enable

[SwitchB-vlan100] igmp-snooping drop-unknown

[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. By using the display igmp-snooping statistics command, you can

view the statistics information about the IGMP messages received. For example:

# 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 2-7

,