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

197
# Configure BGP.
[PE1] bgp 100
[PE1-bgp] group pe1-pe2 internal
[PE1-bgp] peer pe1-pe2 label-route-capability
[PE1-bgp] peer pe1-pe2 connect-interface loopback 1
[PE1-bgp] peer 1.1.1.2 group pe1-pe2
[PE1-bgp] group pe1-pe4 external
[PE1-bgp] peer pe1-pe4 as-number 200
[PE1-bgp] peer pe1-pe4 ebgp-max-hop 255
[PE1-bgp] peer 1.1.1.4 group pe1-pe4
[PE1-bgp] peer pe1-pe4 connect-interface loopback 1
[PE1–bgp] ip vpn-instance a
[PE1-bgp-a] address-family ipv4
[PE1-bgp-ipv4-a] import-route ospf 2
[PE1-bgp-ipv4-a] import-route direct
[PE1-bgp-ipv4-a] quit
[PE1-bgp-a] quit
[PE1–bgp] ip vpn-instance b
[PE1-bgp-b] address-family ipv4
[PE1-bgp-ipv4-b] import-route ospf 3
[PE1-bgp-ipv4-b] import-route direct
[PE1-bgp-ipv4-b] quit
[PE1-bgp-b] quit
[PE1–bgp] address-family vpnv4
[PE1–bgp-vpnv4] peer 1.1.1.4 enable
[PE1–bgp-vpnv4] quit
[PE1–bgp] quit
# Create the MD for VPN instance a and specify the default-group address and the MD source
interface address for it.
[PE1] multicast-domain vpn-instance a
[PE1-md-a] default-group 239.1.1.1
[PE1-md-a] source loopback 1
[PE1-md-a] quit
# Create the MD for VPN instance b and specify the default-group address and the MD source
interface address for it.
[PE1] multicast-domain vpn-instance b
[PE1-md-b] default-group 239.4.4.4
[PE1-md-b] source loopback 1
[PE1-md-b] quit
# Configure OSPF.
[PE1] ospf 1
[PE1-ospf-1] area 0.0.0.0
[PE1-ospf-1-area-0.0.0.0] network 1.1.1.1 0.0.0.0
[PE1-ospf-1-area-0.0.0.0] network 10.10.0.0 0.0.255.255
[PE1-ospf-1-area-0.0.0.0] quit
[PE1-ospf-1] quit
[PE1] ospf 2 vpn-instance a
[PE1-ospf-2] import-route bgp