31
[RouterA-mrib] quit
# Enable IGMP on Ten-GigabitEthernet 1/1/5.
[RouterA] interface ten-gigabitethernet 1/1/5
[RouterA-Ten-GigabitEthernet1/1/5] igmp enable
[RouterA-Ten-GigabitEthernet1/1/5] quit
# Enable PIM-DM on Ten-GigabitEthernet 1/1/6.
[RouterA] interface ten-gigabitethernet 1/1/6
[RouterA-Ten-GigabitEthernet1/1/6] pim dm
[RouterA-Ten-GigabitEthernet1/1/6] quit
3. Configure Switch A:
# Enable IGMP snooping globally.
<SwitchA> system-view
[SwitchA] igmp-snooping
[SwitchA-igmp-snooping] quit
# Create VLAN 100, assign Ten-GigabitEthernet 1/1/5 through Ten-GigabitEthernet 1/1/7 to
the VLAN, and enable IGMP snooping for the VLAN.
[SwitchA] vlan 100
[SwitchA-vlan100] port ten-gigabitethernet 1/1/5 to ten-gigabitethernet 1/1/7
[SwitchA-vlan100] igmp-snooping enable
[SwitchA-vlan100] quit
# Configure Ten-GigabitEthernet 1/1/7 as a static router port.
[SwitchA] interface ten-gigabitethernet 1/1/7
[SwitchA-Ten-GigabitEthernet1/1/7] igmp-snooping static-router-port vlan 100
[SwitchA-Ten-GigabitEthernet1/1/7] quit
4. Configure Switch B:
# Enable IGMP snooping globally.
<SwitchB> system-view
[SwitchB] igmp-snooping
[SwitchB-igmp-snooping] quit
# Create VLAN 100, assign Ten-GigabitEthernet 1/1/5 and Ten-GigabitEthernet 1/1/6 to the
VLAN, and enable IGMP snooping for the VLAN.
[SwitchB] vlan 100
[SwitchB-vlan100] port ten-gigabitethernet 1/1/5 ten-gigabitethernet 1/1/6
[SwitchB-vlan100] igmp-snooping enable
[SwitchB-vlan100] quit
5. Configure Switch C:
# Enable IGMP snooping globally.
<SwitchC> system-view
[SwitchC] igmp-snooping
[SwitchC-igmp-snooping] quit
# Create VLAN 100, assign Ten-GigabitEthernet 1/1/5 through Ten-GigabitEthernet 1/1/9 to
the VLAN, and enable IGMP snooping for the VLAN.
[SwitchC] vlan 100
[SwitchC-vlan100] port ten-gigabitethernet 1/1/5 to ten-gigabitethernet 1/1/9
[SwitchC-vlan100] igmp-snooping enable
[SwitchC-vlan100] quit