HP HSR6800 Configuration Manual page 243

Hide thumbs Also See for HSR6800:
Table of Contents

Advertisement

[ASBR2] vsi aaa static p2p
[ASBR2-vsi-aaa] pwsignal ldp
[ASBR2-vsi-aaa-ldp] vsi-id 500
[ASBR2-vsi-aaa-ldp] peer 4.4.4.4 upe
[ASBR2-vsi-aaa-ldp-4.4.4.4] quit
[ASBR2-vsi-aaa-ldp] peer 2.2.2.2
[ASBR2-vsi-aaa-ldp-2.2.2.2] quit
[ASBR2-vsi-aaa-ldp] quit
[ASBR2-vsi-aaa] quit
# Configure BGP to advertise labeled unicast routes.
[ASBR2] bgp 200
[ASBR2-bgp] import-route direct
[ASBR2-bgp] peer 11.1.1.2 as-number 100
[ASBR2-bgp] peer 11.1.1.2 route-policy map export
[ASBR2-bgp] peer 11.1.1.2 label-route-capability
[ASBR2-bgp] quit
[ASBR2] route-policy map permit node 10
[ASBR2-route-policy] apply mpls-label
[ASBR2-route-policy] quit
4.
Configurations on PE 2:
# Configure basic MPLS.
<Sysname> system-view
[Sysname] sysname PE2
[PE2] interface loopback 0
[PE2-LoopBack0] ip address 4.4.4.4 32
[PE2-LoopBack0] quit
[PE2] mpls lsr-id 4.4.4.4
[PE2] mpls
[PE2–mpls] quit
[PE2] mpls ldp
[PE2–mpls-ldp] quit
# Create a remote peer.
[PE2] mpls ldp remote-peer 1
[PE2-mpls-ldp-remote-1] remote-ip 3.3.3.3
[PE2-mpls-ldp-remote-1] quit
# Configure OSPF.
[PE2] ospf
[PE2-ospf-1] area 0
[PE2-ospf-1-area-0.0.0.0] network 4.4.4.4 0.0.0.0
[PE2-ospf-1-area-0.0.0.0] network 12.1.1.0 0.0.0.255
[PE2-ospf-1-area-0.0.0.0] quit
[PE2-ospf-1] quit
# Configure basic MPLS for GigabitEthernet 2/1/2, the interface connected to ASBR 2.
[PE2] interface gigabitethernet 2/1/2
[PE2-GigabitEthernet2/1/2] ip address 12.1.1.4 24
[PE2-GigabitEthernet2/1/2] mpls
[PE2-GigabitEthernet2/1/2] mpls ldp
[PE2-GigabitEthernet2/1/2] quit
235

Advertisement

Table of Contents
loading

Table of Contents