HP MSR2000/3000/4000 Router Series IP Multicast Configuration Guide
203
[PE4–bgp] address-family vpnv4
[PE4–bgp-vpnv4] peer 1.1.1.1 enable
[PE4–bgp-vpnv4] quit
[PE4–bgp] quit
# Create the MD for VPN instance a and specify the default-group address and the MD source
interface address for it.
[PE4] multicast-domain vpn-instance a
[PE4-md-a] default-group 239.1.1.1
[PE4-md-a] source loopback 1
[PE4-md-a] quit
# Create the MD for VPN instance b and specify the default-group address and the MD source
interface address for it.
[PE4] multicast-domain vpn-instance b
[PE4-md-b] default-group 239.4.4.4
[PE4-md-b] source loopback 1
[PE4-md-b] quit
# Configure OSPF.
[PE4] ospf 1
[PE4-ospf-1] area 0.0.0.0
[PE4-ospf-1-area-0.0.0.0] network 1.1.1.4 0.0.0.0
[PE4-ospf-1-area-0.0.0.0] network 10.10.0.0 0.0.255.255
[PE4-ospf-1-area-0.0.0.0] quit
[PE4-ospf-1] quit
[PE4] ospf 2 vpn-instance a
[PE4-ospf-2] import-route bgp
[PE4-ospf-2] area 0.0.0.0
[PE4-ospf-2-area-0.0.0.0] network 10.11.0.0 0.0.255.255
[PE4-ospf-2-area-0.0.0.0] quit
[PE4-ospf-2] quit
[PE4] ospf 3 vpn-instance b
[PE4-ospf-3] import-route bgp
[PE4-ospf-3] area 0.0.0.0
[PE4-ospf-3-area-0.0.0.0] network 10.11.0.0 0.0.255.255
[PE4-ospf-3-area-0.0.0.0] quit
[PE4-ospf-3] quit
5. Configure CE a1:
# Enable IP multicast routing.
<CEa1> system-view
[CEa1] multicast routing
[CEa1-mrib] quit
# Assign an IP address to Ethernet 1/1 and enable PIM-SM on this interface.
[CEa1] interface ethernet 1/1
[CEa1-Ethernet1/1] ip address 10.11.5.1 24
[CEa1-Ethernet1/1] pim sm
[CEa1-Ethernet1/1] quit
# Assign an IP address to Ethernet 1/2 and enable PIM-SM on this interface.
[CEa1] interface ethernet 1/2