118
Table 6 Interface and IP address assignment
Device Interface IP address
Switch A VLAN-interface 100 10.110.1.1/24
Switch A VLAN-interface 103 192.168.1.1/24
Switch B VLAN-interface 200 10.110.2.1/24
Switch B VLAN-interface 101 192.168.2.1/24
Switch C VLAN-interface 200 10.110.2.2/24
Switch C VLAN-interface 102 192.168.3.1/24
Switch D VLAN-interface 300 10.110.5.1/24
Switch D VLAN-interface 103 192.168.1.2/24
Switch D VLAN-interface 101 192.168.2.2/24
Switch D VLAN-interface 102 192.168.3.2/24
Configuration procedure
1. Assign an IP address and subnet mask for each interface according to Figure 45. (Details not
shown.)
2. Configure OSPF on the switches in the PIM-DM domain to meet the following requirements:
(Details not shown.)
{ The switches are interoperable at the network layer.
{ The switches can dynamically update their routing information.
3. Enable IP multicast routing, IGMP, and PIM-DM:
# On Switch A, enable IP multicast routing.
<SwitchA> system-view
[SwitchA] multicast routing
[SwitchA-mrib] quit
# Enable IGMP on VLAN-interface 100 (the interface that connects to the stub network).
[SwitchA] interface vlan-interface 100
[SwitchA-Vlan-interface100] igmp enable
[SwitchA-Vlan-interface100] quit
# Enable PIM-DM on VLAN-interface 103.
[SwitchA] interface vlan-interface 103
[SwitchA-Vlan-interface103] pim dm
[SwitchA-Vlan-interface103] quit
# Enable IP multicast routing, IGMP, and PIM-DM on Switch B and Switch C in the same way
Switch A is configured. (Details not shown.)
# On Switch D, enable IP multicast routing, and enable PIM-DM on each interface.
<SwitchD> system-view
[SwitchD] multicast routing
[SwitchD-mrib] quit
[SwitchD] interface vlan-interface 300
[SwitchD-Vlan-interface300] pim dm
[SwitchD-Vlan-interface300] quit