EasyManua.ls Logo

HP MSR2003

HP MSR2003
350 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
209
[PE2-bgp] peer pe2-pe3 connect-interface loopback 1
[PE2-bgp] peer 1.1.1.3 group pe2-pe3
[PE2-bgp] address-family ipv4
[PE2-bgp-ipv4] peer pe2-pe1 enable
[PE2-bgp-ipv4] peer pe2-pe1 route-policy map2 export
[PE2-bgp-ipv4] peer pe2-pe1 label-route-capability
[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-map1-10] if-match mpls-label
[PE2-route-policy-map1-10] apply mpls-label
[PE2-route-policy-map1-10] quit
3. Configure PE 3:
# Configure a 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 the LDP capability.
[PE3] mpls lsr-id 1.1.1.3
[PE3] mpls ldp
[PE3-ldp] quit
# Assign an IP address to the public network interface GigabitEthernet 2/1/1, and enable
PIM-SM, MPLS capability, and LDP capability on the interface.
[PE3] interface gigabitethernet 2/1/1
[PE3-GigabitEthernet2/1/1] ip address 10.10.2.1 24
[PE3-GigabitEthernet2/1/1] pim sm
[PE3-GigabitEthernet2/1/1] mpls enable
[PE3-GigabitEthernet2/1/1] mpls ldp enable
[PE3-GigabitEthernet2/1/1] quit

Table of Contents

Related product manuals