R3303-HP HSR6800 Routers IP Multicast Configuration Guide

262
[PE1-ospf-3-area-0.0.0.0] quit
[PE1-ospf-3] quit
2. Configure PE 2:
# Configure a Router ID, enable IP multicast routing on the public network, configure an MPLS LSR
ID, and enable the LDP capability.
<PE2> system-view
[PE2] router id 1.1.1.2
[PE2] multicast routing-enable
[PE2] mpls lsr-id 1.1.1.2
[PE2] mpls
[PE2-mpls] quit
[PE2] mpls ldp
[PE2-mpls-ldp] quit
# Configure an IP address, and enable PIM-SM and LDP capability on the public network interface
GigabitEthernet 2/1/1.
[PE2] interface gigabitethernet 2/1/1
[PE2-GigabitEthernet2/1/1] ip address 10.10.1.2 24
[PE2-GigabitEthernet2/1/1] pim sm
[PE2-GigabitEthernet2/1/1] mpls
[PE2-GigabitEthernet2/1/1] mpls ldp
[PE2-GigabitEthernet2/1/1] quit
# Configure an IP address, and enable PIM-SM and MPLS on the public network interface
GigabitEthernet 2/1/2.
[PE2] interface gigabitethernet 2/1/2
[PE2-GigabitEthernet2/1/2] ip address 192.168.1.1 24
[PE2-GigabitEthernet2/1/2] pim sm
[PE2-GigabitEthernet2/1/2] mpls
[PE2-GigabitEthernet2/1/2] quit
# Configure an IP address for Loopback 1, and enable PIM-SM.
[PE2] interface loopback 1
[PE2-LoopBack1] ip address 1.1.1.2 32
[PE2-LoopBack1] pim sm
[PE2-LoopBack1] quit
# Configure an IP address for Loopback 2, and enable PIM-SM.
[PE2] interface loopback 2
[PE2-LoopBack2] ip address 11.11.11.11 32
[PE2-LoopBack2] pim sm
[PE2-LoopBack2] quit
# Configure Loopback 2 as a C-BSR and a C-RP for the public network instance.
[PE2] pim
[PE2-pim] c-bsr loopback 2
[PE2-pim] c-rp loopback 2
[PE2-pim] quit
# Configure a BSR message boundary.
[PE2] interface gigabitethernet 2/1/2
[PE2-GigabitEthernet2/1/2] pim bsr-boundary
[PE2-GigabitEthernet2/1/2] quit