beautypg.com

Configuring multicast source port filtering – H3C Technologies H3C S12500-X Series Switches User Manual

Page 42

background image

32

# Enable IP multicast routing globally.

system-view

[RouterA] multicast routing

[RouterA-mrib] quit

# Enable IGMP on Ten-GigabitEthernet 1/0/1.

[RouterA] interface ten-gigabitethernet 1/0/1

[RouterA-Ten-GigabitEthernet1/0/1] igmp enable

[RouterA-Ten-GigabitEthernet1/0/1] quit

# Enable PIM-DM on Ten-GigabitEthernet 1/0/2.

[RouterA] interface ten-gigabitethernet 1/0/2

[RouterA-Ten-GigabitEthernet1/0/2] pim dm

[RouterA-Ten-GigabitEthernet1/0/2] quit

3.

Configure Switch A:
# Enable IGMP snooping globally.

system-view

[SwitchA] igmp-snooping

[SwitchA-igmp-snooping] quit

# Create VLAN 100, assign Ten-GigabitEthernet 1/0/1 through Ten-GigabitEthernet 1/0/3 to
the VLAN, and enable IGMP snooping for the VLAN.

[SwitchA] vlan 100

[SwitchA-vlan100] port ten-gigabitethernet 1/0/1 to ten-gigabitethernet 1/0/3

[SwitchA-vlan100] igmp-snooping enable

[SwitchA-vlan100] quit

# Configure Ten-GigabitEthernet 1/0/3 as a static router port.

[SwitchA] interface ten-gigabitethernet 1/0/3

[SwitchA-Ten-GigabitEthernet1/0/3] igmp-snooping static-router-port vlan 100

[SwitchA-Ten-GigabitEthernet1/0/3] quit

4.

Configure Switch B:
# Enable IGMP snooping globally.

system-view

[SwitchB] igmp-snooping

[SwitchB-igmp-snooping] quit

# Create VLAN 100, assign Ten-GigabitEthernet 1/0/1 and Ten-GigabitEthernet 1/0/2 to the

VLAN, and enable IGMP snooping for the VLAN.

[SwitchB] vlan 100

[SwitchB-vlan100] port ten-gigabitethernet 1/0/1 ten-gigabitethernet 1/0/2

[SwitchB-vlan100] igmp-snooping enable

[SwitchB-vlan100] quit

5.

Configure Switch C:
# Enable IGMP snooping globally.

system-view

[SwitchC] igmp-snooping

[SwitchC-igmp-snooping] quit

# Create VLAN 100, assign Ten-GigabitEthernet 1/0/1 through Ten-GigabitEthernet 1/0/5 to

the VLAN, and enable IGMP snooping for the VLAN.

[SwitchC] vlan 100