HP 6125XLG Ip Multicast Configuration Manual page 214

Blade switch
Table of Contents

Advertisement

[PE2-bgp-ipv4] peer pe2-pe3 enable
[PE2-bgp-ipv4] peer pe2-pe3 route-policy map1 export
[PE2-bgp-ipv4] peer pe2-pe3 label-route-capability
[PE2-bgp-ipv4] import-route ospf 1
[PE2-bgp-ipv4] quit
[PE2–bgp] quit
# Configure OSPF.
[PE2] ospf 1
[PE2-ospf-1] area 0.0.0.0
[PE2-ospf-1-area-0.0.0.0] network 1.1.1.2 0.0.0.0
[PE2-ospf-1-area-0.0.0.0] network 11.11.11.11 0.0.0.0
[PE2-ospf-1-area-0.0.0.0] network 10.10.0.0 0.0.255.255
[PE2-ospf-1-area-0.0.0.0] quit
[PE2-ospf-1] quit
# Configure a routing policy.
[PE2] route-policy map1 permit node 10
[PE2-route-policy-map1-10] apply mpls-label
[PE2-route-policy-map1-10] quit
[PE2] route-policy map2 permit node 10
[PE2-route-policy-map2-10] if-match mpls-label
[PE2-route-policy-map2-10] apply mpls-label
[PE2-route-policy-map2-10] quit
3.
Configure PE 3:
# Configure a global router ID, and enable IP multicast routing on the public network.
<PE3> system-view
[PE3] router id 1.1.1.3
[PE3] multicast routing
[PE3-mrib] quit
# Configure an MPLS LSR ID, and enable LDP.
[PE3] mpls lsr-id 1.1.1.3
[PE3] mpls ldp
[PE3-ldp] quit
# Assign an IP address to the public network interface VLAN-interface 4, and enable PIM-SM,
MPLS, and LDP on it.
[PE3] interface vlan-interface 4
[PE3-Vlan-interface4] ip address 10.10.2.1 24
[PE3-Vlan-interface4] pim sm
[PE3-Vlan-interface4] mpls enable
[PE3-Vlan-interface4] mpls ldp enable
[PE3-Vlan-interface4] quit
# Assign an IP address to the public network interface VLAN-interface 3, and enable PIM-SM and
MPLS on it.
[PE3] interface vlan-interface 3
[PE3-Vlan-interface3] ip address 192.168.1.2 24
[PE3-Vlan-interface3] pim sm
[PE3-Vlan-interface3] mpls enable
[PE3-Vlan-interface3] quit
204

Advertisement

Table of Contents
loading

Table of Contents