
241
[CEa2-ospf-1-area-0.0.0.0] quit
[CEa2-ospf-1] quit
8.
Configure CE b2:
# Enable IP multicast routing.
<CEb2> system-view
[CEb2] multicast routing
[CEb2-mrib] quit
# Assign an IP address to GigabitEthernet 1/0/1, and enable IGMP on the interface.
[CEb2] interface gigabitethernet 1/0/1
[CEb2-GigabitEthernet1/0/1] ip address 10.11.8.1 24
[CEb2-GigabitEthernet1/0/1] igmp enable
[CEb2-GigabitEthernet1/0/1] quit
# Assign an IP address to GigabitEthernet 1/0/2, and enable PIM-SM on the interface.
[CEb2] interface gigabitethernet 1/0/2
[CEb2-GigabitEthernet1/0/2] ip address 10.11.4.2 24
[CEb2-GigabitEthernet1/0/2] pim sm
[CEb2-GigabitEthernet1/0/2] quit
# Assign an IP address to Loopback 1, and enable PIM-SM on the interface.
[CEb2] interface loopback 1
[CEb2-LoopBack1] ip address 3.3.3.3 32
[CEb2-LoopBack1] pim sm
[CEb2-LoopBack1] quit
# Configure Loopback 1 as a C-BSR and a C-RP.
[CEb2] pim
[CEb2-pim] c-bsr 3.3.3.3
[CEb2-pim] c-rp 3.3.3.3
[CEb2-pim] quit
# Configure OSPF.
[CEb2] ospf 1
[CEb2-ospf-1] area 0.0.0.0
[CEb2-ospf-1-area-0.0.0.0] network 3.3.3.3 0.0.0.0
[CEb2-ospf-1-area-0.0.0.0] network 10.11.4.0 0.0.0.255
[CEb2-ospf-1-area-0.0.0.0] network 10.11.8.0 0.0.0.255
[CEb2-ospf-1-area-0.0.0.0] quit
[CEb2-ospf-1] quit
Verifying the configuration
# Display information about the local default-group for IPv4 multicast transmission in each VPN
instance on PE 1.
[PE1] display multicast-domain default-group local
MD local default-group information:
Group address Source address Interface VPN instance
239.1.1.1 1.1.1.1 MTunnel0 a
239.4.4.4 1.1.1.1 MTunnel1 b
# Display information about the local default-group for IPv4 multicast transmission in each VPN
instance on PE 4.
[PE4] display multicast-domain default-group local
MD local default-group information: