R3102-R3103-HP 6600/HSR6600 Routers IP Multicast Configuration Guide

Table Of Contents
248
[PE3-bgp-b] import-route rip 3
[PE3-bgp-b] import-route direct
[PE3-bgp-b] quit
[PE3–bgp] ipv4-family vpnv4
[PE3–bgp-af-vpnv4] peer vpn-g enable
[PE3-bgp-af-vpnv4] peer 1.1.1.1 group vpn-g
[PE3–bgp-af-vpnv4] peer 1.1.1.2 group vpn-g
[PE3–bgp-af-vpnv4] quit
[PE3–bgp] quit
The interface MTI 0 will automatically obtain an IP address after BGP peer configuration on PE 3.
This address is the loopback interface address specified in the BGP peer configuration. The PIM
mode running on MTI 0 is the same as the PIM mode running on all the interfaces in VPN instance
a.
The interface MTI 1 will automatically obtain an IP address after BGP peer configuration on PE 3.
This address is the loopback interface address specified in the BGP peer configuration. The PIM
mode running on MTI 1 is the same as the PIM mode running on all the interfaces in VPN instance
b.
# 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, configure an MPLS LSR ID, and enable the LDP capability on the
public network.
<P> system-view
[P] multicast routing-enable
[P] mpls lsr-id 2.2.2.2
[P] mpls
[P-mpls] quit
[P] mpls ldp
[P-mpls-ldp] quit
# Configure an IP address, and enable PIM-SM and LDP capability on the public network interface
GigabitEthernet 2/1/1.
[P] interface gigabitethernet 2/1/1