251
[P-ospf-1] area 0.0.0.0
[P-ospf-1-area-0.0.0.0] network 2.2.2.2 0.0.0.0
[P-ospf-1-area-0.0.0.0] network 192.168.0.0 0.0.255.255
5.
Configure CE a1:
# Enable IP multicast routing.
<CEa1> system-view
[CEa1] multicast routing-enable
# Configure an IP address and enable PIM-SM on Ethernet 1/1.
[CEa1] interface ethernet 1/1
[CEa1-Ethernet1/1] ip address 10.110.7.1 24
[CEa1-Ethernet1/1] pim sm
[CEa1-Ethernet1/1] quit
# Configure an IP address and enable PIM-SM on Ethernet 1/2.
[CEa1] interface ethernet 1/2
[CEa1-Ethernet1/2] ip address 10.110.2.2 24
[CEa1-Ethernet1/2] pim sm
[CEa1-Ethernet1/2] quit
# Configure RIP.
[CEa1] rip 2
[CEa1-rip-2] network 10.0.0.0
6.
Configure CE b1:
# Enable IP multicast routing.
<CEb1> system-view
[CEb1] multicast routing-enable
# Configure an IP address and enable PIM-SM on Ethernet 1/1.
[CEb1] interface ethernet 1/1
[CEb1-Ethernet1/1] ip address 10.110.8.1 24
[CEb1-Ethernet1/1] pim sm
[CEb1-Ethernet1/1] quit
# Configure an IP address and enable PIM-SM on Ethernet 1/2.
[CEb1] interface ethernet 1/2
[CEb1-Ethernet1/2] ip address 10.110.3.2 24
[CEb1-Ethernet1/2] pim sm
[CEb1-Ethernet1/2] quit
# Configure RIP.
[CEb1] rip 3
[CEb1-rip-3] network 10.0.0.0
7.
Configure CE a2:
# Enable IP multicast routing.
<CEa2> system-view
[CEa2] multicast routing-enable
# Configure an IP address, and enable IGMP and PIM-SM on Ethernet 1/1.
[CEa2] interface ethernet 1/1
[CEa2-Ethernet1/1] ip address 10.110.9.1 24
[CEa2-Ethernet1/1] igmp enable
[CEa2-Ethernet1/1] pim sm