252
[CEa2-Ethernet1/1] quit
# Configure an IP address and enable PIM-SM on Ethernet 1/2.
[CEa2] interface ethernet 1/2
[CEa2-Ethernet1/2] ip address 10.110.4.2 24
[CEa2-Ethernet1/2] pim sm
[CEa2-Ethernet1/2] quit
# Configure an IP address and enable PIM-SM on Ethernet 1/3.
[CEa2] interface ethernet 1/3
[CEa2-Ethernet1/3] ip address 10.110.12.1 24
[CEa2-Ethernet1/3] pim sm
[CEa2-Ethernet1/3] quit
# Configure an IP address for Loopback 1 and enable PIM-SM on the interface.
[CEa2] interface loopback 1
[CEa2-LoopBack1] ip address 22.22.22.22 32
[CEa2-LoopBack1] pim sm
[CEa2-LoopBack1] quit
# Configure Loopback 1 as a BSR and RP for VPN a.
[CEa2] pim
[CEa2-pim] c-bsr loopback 1
[CEa2-pim] c-rp loopback 1
[CEa2-pim] quit
# Configure RIP.
[CEa2] rip 2
[CEa2-rip-2] network 10.0.0.0
[CEa2-rip-2] network 22.0.0.0
8.
Configure CE a3:
# Enable IP multicast routing.
<CEa3> system-view
[CEa3] multicast routing-enable
# Configure an IP address, and enable IGMP and PIM-SM on Ethernet 1/1.
[CEa3] interface ethernet 1/1
[CEa3-Ethernet1/1] ip address 10.110.10.1 24
[CEa3-Ethernet1/1] igmp enable
[CEa3-Ethernet1/1] pim sm
[CEa3-Ethernet1/1] quit
# Configure an IP address and enable PIM-SM on Ethernet 1/2.
[CEa3] interface ethernet 1/2
[CEa3-Ethernet1/2] ip address 10.110.5.2 24
[CEa3-Ethernet1/2] pim sm
[CEa3-Ethernet1/2] quit
# Configure an IP address and enable PIM-SM on Ethernet 1/3.
[CEa3] interface ethernet 1/3
[CEa3-Ethernet1/3] ip address 10.110.12.2 24
[CEa3-Ethernet1/3] pim sm
[CEa3-Ethernet1/3] quit
# Configure RIP.