HP MSR2000/3000/4000 Router Series IP Multicast Configuration Guide
198
[PE1-ospf-2] area 0.0.0.0
[PE1-ospf-2-area-0.0.0.0] network 10.11.0.0 0.0.255.255
[PE1-ospf-2-area-0.0.0.0] quit
[PE1-ospf-2] quit
[PE1] ospf 3 vpn-instance b
[PE1-ospf-3] import-route bgp
[PE1-ospf-3] area 0.0.0.0
[PE1-ospf-3-area-0.0.0.0] network 10.11.0.0 0.0.255.255
[PE1-ospf-3-area-0.0.0.0] quit
[PE1-ospf-3] quit
2. Configure PE 2:
# Configure a Router ID and enable IP multicast routing on the public network.
<PE2> system-view
[PE2] router id 1.1.1.2
[PE2] multicast routing
[PE2-mrib] quit
# Configure an MPLS LSR ID and enable the LDP capability.
[PE2] mpls lsr-id 1.1.1.2
[PE2] mpls ldp
[PE2-mpls-ldp] quit
# Assign an IP address to the public network interface Ethernet 1/1, and enable PIM-SM, MPLS
capability, and LDP capability on it.
[PE2] interface ethernet 1/1
[PE2-Ethernet1/1] ip address 10.10.1.2 24
[PE2-Ethernet1/1] pim sm
[PE2-Ethernet1/1] mpls enable
[PE2-Ethernet1/1] mpls ldp enable
[PE2-Ethernet1/1] quit
# Assign an IP address to the public network interface Ethernet 1/2, and enable PIM-SM and MPLS
on it.
[PE2] interface ethernet 1/2
[PE2-Ethernet1/2] ip address 192.168.1.1 24
[PE2-Ethernet1/2] pim sm
[PE2-Ethernet1/2] mpls enable
[PE2-Ethernet1/2] quit
# Assign an IP address to Loopback 1 and enable PIM-SM on this interface.
[PE2] interface loopback 1
[PE2-LoopBack1] ip address 1.1.1.2 32
[PE2-LoopBack1] pim sm
[PE2-LoopBack1] quit
# Assign an IP address to Loopback 2 and enable PIM-SM on this interface.
[PE2] interface loopback 2
[PE2-LoopBack2] ip address 11.11.11.11 32
[PE2-LoopBack2] pim sm
[PE2-LoopBack2] quit
# Configure Loopback 2 as a C-BSR and a C-RP for the public network instance.
[PE2] pim