HP MSR2000/3000/4000 Router Series IP Multicast Configuration Guide
189
# Configure OSPF.
[PE3] ospf 1
[PE3-ospf-1] area 0.0.0.0
[PE3-ospf-1-area-0.0.0.0] network 1.1.1.3 0.0.0.0
[PE3-ospf-1-area-0.0.0.0] network 192.168.0.0 0.0.255.255
[PE3-ospf-1-area-0.0.0.0] quit
[PE3-ospf-1] quit
# Configure RIP.
[PE3] rip 2 vpn-instance a
[PE3-rip-2] network 10.0.0.0
[PE3-rip-2] import-route bgp
[PE3-rip-2] quit
[PE3] rip 3 vpn-instance b
[PE3-rip-3] network 10.0.0.0
[PE3-rip-3] network 33.0.0.0
[PE3-rip-3] import-route bgp
[PE3-rip-3] return
4. Configuring the P router:
# Enable IP multicast routing on the public network.
<P> system-view
[P] multicast routing
[P-mrib] quit
# Configure an MPLS LSR ID and enable the LDP capability.
[P] mpls lsr-id 2.2.2.2
[P] mpls ldp
[P-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.
[P] interface ethernet 1/1
[P-Ethernet1/1] ip address 192.168.6.2 24
[P-Ethernet1/1] pim sm
[P-Ethernet1/1] mpls enable
[P-Ethernet1/1] mpls ldp enable
[P-Ethernet1/1] quit
# Assign an IP address to the public network interface Ethernet 1/2, and enable PIM-SM, MPLS
capability, and LDP capability on it.
[P] interface ethernet 1/2
[P-Ethernet1/2] ip address 192.168.7.2 24
[P-Ethernet1/2] pim sm
[P-Ethernet1/2] mpls enable
[P-Ethernet1/2] mpls ldp enable
[P-Ethernet1/2] quit
# Assign an IP address to the public network interface Ethernet 1/3, and enable PIM-SM, MPLS
capability, and LDP capability on it.
[P] interface ethernet 1/3
[P-Ethernet1/3] ip address 192.168.8.2 24
[P-Ethernet1/3] pim sm