HP 12500 Series Configuration Manual page 308

Mpls, routing switch series
Table of Contents
[CE1-Vlan-interface2] isis enable 2
[CE1-Vlan-interface2] mpls
[CE1-Vlan-interface2] mpls ldp
[CE1-Vlan-interface2] mpls ldp transport-address interface
[CE1-Vlan-interface2] quit
After you complete the previous configurations, PE 3 and CE 1 can establish an LDP session and
IS-IS neighbor relationship between them.
NOTE:
The configurations for PE 4 and CE 2 are similar to those for PE 3 and CE 1. (Details not shown)
Connect CEs of the customer carriers to PEs of the provider carrier.
3.
# Configure PE 1.
[PE1] route-policy policy1 permit node 10
[PE1-route-policy] apply mpls-label
[PE1] ip vpn-instance vpn1
[PE1-vpn-instance-vpn1] route-distinguisher 200:1
[PE1-vpn-instance-vpn1] vpn-target 1:1
[PE1-vpn-instance-vpn1] quit
[PE1] interface vlan-interface1
[PE1-Vlan-interface1] ip binding vpn-instance vpn1
[PE1-Vlan-interface1] ip address 11.1.1.2 24
[PE1-Vlan-interface1] mpls
[PE1-Vlan-interface1] quit
[PE1] bgp 100
[PE1-bgp] ipv4-family vpn-instance vpn1
[PE1-bgp-vpn1] import direct
[PE1-bgp-vpn1] peer 11.1.1.1 as-number 65410
[PE1-bgp-vpn1] peer 11.1.1.1 route-policy policy1 export
[PE1-bgp-vpn1] peer 11.1.1.1 label-route-capability
[PE1-bgp-vpn1] peer 11.1.1.1 substitute-as
[PE1-bgp-vpn1] quit
[PE1-bgp] quit
# Configure CE 1.
[CE1] route-policy policy1 permit node 10
[CE1-route-policy] apply mpls-label
[CE1] interface vlan-interface1
[CE1-Vlan-interface1] ip address 11.1.1.1 24
[CE1-Vlan-interface1] mpls
[CE1-Vlan-interface1] quit
[CE1] bgp 65410
[CE1-bgp] import-route direct
[CE1-bgp] import-route isis 2
[CE1-bgp] peer 11.1.1.2 as-number 100
[CE1-bgp] peer 11.1.1.2 route-policy policy1 export
[CE1-bgp] peer 11.1.1.2 label-route-capability
[CE1-bgp] quit
300
Table of Contents
loading

Table of Contents