HP 12500 Series Configuration Manual page 173

Mpls, routing switch series
Table of Contents

Advertisement

[ASBR2-ospf-1-area-0.0.0.0] network 12.1.1.0 0.0.0.255
[ASBR2-ospf-1-area-0.0.0.0] quit
[ASBR2-ospf-1] quit
# Configure basic MPLS for the interface connecting ASBR 1.
[ASBR2] interface vlan-interface 11
[ASBR2-Vlan-interface11] ip address 11.1.1.3 24
[ASBR2-Vlan-interface11] mpls
[ASBR2-Vlan-interface11] quit
# Configure basic MPLS for the interface connecting PE 2.
[ASBR2] interface vlan-interface 12
[ASBR2-Vlan-interface12] ip address 12.1.1.3 24
[ASBR2-Vlan-interface12] mpls
[ASBR2-Vlan-interface12] mpls ldp
[ASBR2-Vlan-interface12] quit
# Enable L2VPN and MPLS L2VPN.
[ASBR2] l2vpn
[ASBR2-l2vpn] mpls l2vpn
[ASBR2-l2vpn] quit
# Configure a P2P-capable VPLS instance that uses LDP signaling.
[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] peer 2.2.2.2
[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
Configure PE 2.
4.
# 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
165

Advertisement

Table of Contents
loading

Table of Contents