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

196
[PE1] mpls ldp
[PE1-ldp] quit
# Create VPN instance a and configure an RD and route target attributes for it.
[PE1] ip vpn-instance a
[PE1-vpn-instance-a] route-distinguisher 100:1
[PE1-vpn-instance-a] vpn-target 100:1 export-extcommunity
[PE1-vpn-instance-a] vpn-target 100:1 import-extcommunity
[PE1-vpn-instance-a] quit
# Enable IP multicast routing in VPN instance a.
[PE1] multicast routing vpn-instance a
[PE1-mrib-a] quit
# Create VPN instance b and configure an RD and route target attributes for it.
[PE1] ip vpn-instance b
[PE1-vpn-instance-b] route-distinguisher 200:1
[PE1-vpn-instance-b] vpn-target 200:1 export-extcommunity
[PE1-vpn-instance-b] vpn-target 200:1 import-extcommunity
[PE1-vpn-instance-b] quit
# Enable IP multicast routing in VPN instance b.
[PE1] multicast routing vpn-instance b
[PE1-mrib-b] quit
# Assign an IP address to the public network interface Ethernet 1/1, and enable PIM-SM, MPLS
capability, and LDP capability on it.
[PE1] interface ethernet 1/1
[PE1-Ethernet1/1] ip address 10.10.1.1 24
[PE1-Ethernet1/1] pim sm
[PE1-Ethernet1/1] mpls enable
[PE1-Ethernet1/1] mpls ldp enable
[PE1-Ethernet1/1] quit
# Bind Ethernet 1/2 with VPN instance a, assign an IP address to Ethernet 1/2, and enable
PIM-SM on the interface.
[PE1] interface ethernet 1/2
[PE1-Ethernet1/2] ip binding vpn-instance a
[PE1-Ethernet1/2] ip address 10.11.1.1 24
[PE1-Ethernet1/2] pim sm
[PE1-Ethernet1/2] quit
# Bind Ethernet 1/3 with VPN instance b, assign an IP address to Ethernet 1/3, and enable
PIM-SM on the interface.
[PE1] interface ethernet 1/3
[PE1-Ethernet1/3] ip binding vpn-instance b
[PE1-Ethernet1/3] ip address 10.11.2.1 24
[PE1-Ethernet1/3] pim sm
[PE1-Ethernet1/3] quit
# Assign an IP address to Loopback 1 and enable PIM-SM on the interface.
[PE1] interface loopback 1
[PE1-LoopBack1] ip address 1.1.1.1 32
[PE1-LoopBack1] pim sm
[PE1-LoopBack1] quit