38
[RouterA-Ethernet1/0/1] quit
[RouterA] interface ethernet 1/0/2
[RouterA-Ethernet1/0/2] pim dm
[RouterA-Ethernet1/0/2] quit
3.
Configure Switch A:
# Enable IGMP snooping globally.
<SwitchA> system-view
[SwitchA] igmp-snooping
[SwitchA-igmp-snooping] quit
# Create VLAN 100, assign Ethernet 1/0/1 through Ethernet 1/0/3 to this VLAN, and enable
IGMP snooping in the VLAN.
[SwitchA] vlan 100
[SwitchA-vlan100] port ethernet 1/0/1 to ethernet 1/0/3
[SwitchA-vlan100] igmp-snooping enable
[SwitchA-vlan100] quit
# Configure Ethernet 1/0/3 to be a static router port.
[SwitchA] interface ethernet 1/0/3
[SwitchA-Ethernet1/0/3] igmp-snooping static-router-port vlan 100
[SwitchA-Ethernet1/0/3] quit
4.
Configure Switch B:
# Enable IGMP snooping globally.
<SwitchB> system-view
[SwitchB] igmp-snooping
[SwitchB-igmp-snooping] quit
# Create VLAN 100, assign Ethernet 1/0/1 and Ethernet 1/0/2 to this VLAN, and enable IGMP
snooping in the VLAN.
[SwitchB] vlan 100
[SwitchB-vlan100] port ethernet 1/0/1 ethernet 1/0/2
[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 Ethernet 1/0/1 through Ethernet 1/0/5 to this VLAN, and enable
IGMP snooping in the VLAN.
[SwitchC] vlan 100
[SwitchC-vlan100] port ethernet 1/0/1 to ethernet 1/0/5
[SwitchC-vlan100] igmp-snooping enable
[SwitchC-vlan100] quit
# Configure Ethernet 1/0/3 and Ethernet 1/0/5 as static member ports for multicast group
224.1.1.1.
[SwitchC] interface Ethernet 1/0/3
[SwitchC-Ethernet1/0/3] igmp-snooping static-group 224.1.1.1 vlan 100
[SwitchC-Ethernet1/0/3] quit