HP 6125XLG Ip Multicast Configuration Manual page 212

Blade switch
Table of Contents

Advertisement

[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 ipv4
[PE1-bgp-ipv4] peer pe1-pe2 enable
[PE1-bgp-ipv4] peer pe1-pe2 label-route-capability
[PE1-bgp-ipv4] quit
[PE1–bgp] address-family vpnv4
[PE1–bgp-vpnv4] peer pe1-pe4 enable
[PE1–bgp-vpnv4] quit
[PE1–bgp] 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
[PE1-ospf-2] area 0.0.0.0
[PE1-ospf-2-area-0.0.0.0] network 10.11.0.0 0.0.255.255
[PE1-ospf-2-area-0.0.0.0] quit
[PE1-ospf-2] quit
[PE1] ospf 3 vpn-instance b
[PE1-ospf-3] import-route bgp
[PE1-ospf-3] area 0.0.0.0
[PE1-ospf-3-area-0.0.0.0] network 10.11.0.0 0.0.255.255
[PE1-ospf-3-area-0.0.0.0] quit
[PE1-ospf-3] quit
2.
Configure PE 2:
# Configure a global router ID, and enable IP multicast routing on the public network.
<PE2> system-view
[PE2] router id 1.1.1.2
[PE2] multicast routing
[PE2-mrib] quit
# Configure an MPLS LSR ID, and enable LDP.
[PE2] mpls lsr-id 1.1.1.2
[PE2] mpls ldp
[PE2-ldp] quit
# Assign an IP address to the public network interface VLAN-interface 2, and enable PIM-SM,
MPLS, and LDP on it.
[PE2] interface vlan-interface 2
[PE2-Vlan-interface2] ip address 10.10.1.2 24
[PE2-Vlan-interface2] pim sm
[PE2-Vlan-interface2] mpls enable
202

Advertisement

Table of Contents
loading

Table of Contents