HP MSR2000/3000/4000 Router Series IP Multicast Configuration Guide

199
[PE2-pim] c-bsr 11.11.11.11
[PE2-pim] c-rp 11.11.11.11
[PE2-pim] quit
# Configure BGP.
[PE2] bgp 100
[PE2-bgp] address-family ipv4
[PE2-bgp-ipv4] import-route ospf 1
[PE2-bgp-ipv4] quit
[PE2-bgp] group pe2-pe1 internal
[PE2-bgp] peer pe2-pe1 route-policy map2 export
[PE2-bgp] peer pe2-pe1 label-route-capability
[PE2-bgp] peer pe2-pe1 connect-interface loopback 1
[PE2-bgp] peer 1.1.1.1 group pe2-pe1
[PE2-bgp] group pe2-pe3 external
[PE2-bgp] peer pe2-pe3 as-number 200
[PE2-bgp] peer pe2-pe3 route-policy map1 export
[PE2-bgp] peer pe2-pe3 label-route-capability
[PE2-bgp] peer pe2-pe3 connect-interface loopback 1
[PE2-bgp] peer 1.1.1.3 group pe2-pe3
[PE2–bgp] quit
# Configure OSPF.
[PE2] ospf 1
[PE2-ospf-1] area 0.0.0.0
[PE2-ospf-1-area-0.0.0.0] network 1.1.1.2 0.0.0.0
[PE2-ospf-1-area-0.0.0.0] network 11.11.11.11 0.0.0.0
[PE2-ospf-1-area-0.0.0.0] network 10.10.0.0 0.0.255.255
[PE2-ospf-1-area-0.0.0.0] quit
[PE2-ospf-1] quit
# Configure a routing policy.
[PE2] route-policy map1 permit node 10
[PE2-route-policy-map1-10] apply mpls-label
[PE2-route-policy-map1-10] quit
[PE2] route-policy map2 permit node 10
[PE2-route-policy-map1-10] if-match mpls-label
[PE2-route-policy-map1-10] apply mpls-label
[PE2-route-policy-map1-10] quit
3. Configure PE 3:
# Configure a Router ID and enable IP multicast routing on the public network.
<PE3> system-view
[PE3] router id 1.1.1.3
[PE3] multicast routing
[PE3-mrib] quit
# Configure an MPLS LSR ID and enable the LDP capability.
[PE3] mpls lsr-id 1.1.1.3
[PE3] mpls ldp
[PE3-ldp] quit