hostname PE1
!
no ip domain-lookup
!
ip vrf vrf1
 rd 64512:1
 route-target both 64512:1
!
ip vrf vrf2
 rd 64512:2
 route-target both 64512:2
!
ip cef
!
mpls traffic-eng tunnels
!
interface Loopback0
 ip address 10.0.1.1 255.255.255.255
!
interface Tunnel2
 ip unnumbered Loopback0
 tunnel destination 10.0.1.2
 tunnel mode mpls traffic-eng
 tunnel mpls traffic-eng path-option 2 dynamic
 tunnel mpls traffic-eng autoroute announce
!
interface Tunnel3
 ip unnumbered Loopback0
 tunnel destination 10.0.1.3
 tunnel mode mpls traffic-eng
 tunnel mpls traffic-eng path-option 3 dynamic
 tunnel mpls traffic-eng autoroute announce
!
interface Tunnel4
 ip unnumbered Loopback0
 tunnel destination 10.0.1.4
 tunnel mode mpls traffic-eng
 tunnel mpls traffic-eng path-option 4 dynamic
 tunnel mpls traffic-eng autoroute announce
!
interface Serial1/0
 description Connected to P1 S1/0
 ip address 10.1.1.2 255.255.255.252
 encapsulation ppp
 no peer neighbor-route
 mpls traffic-eng tunnels
 ip ospf network point-to-point
 no shutdown
!
interface Serial1/1
 description Connected to P2 S1/0
 ip address 10.1.2.2 255.255.255.252
 encapsulation ppp
 no peer neighbor-route
 mpls traffic-eng tunnels
 ip ospf network point-to-point
 no shutdown
!
interface Serial1/2
 description Connected to VRF1-CE1 S1/0
 ip vrf forwarding vrf1
 ip address 192.168.1.2 255.255.255.252
 encapsulation ppp
 no peer neighbor-route
 no shutdown
!
interface Serial1/3
 description Connected to VRF2-CE1 S1/0
 ip vrf forwarding vrf2
 ip address 192.168.1.2 255.255.255.252
 encapsulation ppp
 no peer neighbor-route
 no shutdown
!
router ospf 65000
 router-id 10.0.1.1
 mpls traffic-eng area 0
 mpls traffic-eng router-id Loopback0
 network 10.0.1.1 0.0.0.0 area 0
 network 10.1.1.2 0.0.0.0 area 0
 network 10.1.2.2 0.0.0.0 area 0
!
router bgp 65000
 no synchronization
 bgp router-id 10.0.1.1
 timers bgp 12 36
 neighbor MPLS peer-group
 neighbor MPLS remote-as 65000
 neighbor MPLS update-source Loopback0
 neighbor MPLS send-community extended
 no auto-summary
 !
 address-family vpnv4 unicast
 neighbor 10.0.0.1 peer-group MPLS
 neighbor 10.0.0.1 activate
 neighbor 10.0.0.2 peer-group MPLS
 neighbor 10.0.0.2 activate
 !
 address-family ipv4 vrf vrf1
 neighbor 192.168.1.1 remote-as 64512
 neighbor 192.168.1.1 as-override
 neighbor 192.168.1.1 activate
 maximum-paths 2
 no auto-summary
 no synchronization
 exit-address-family
 !
 address-family ipv4 vrf vrf2
 neighbor 192.168.1.1 remote-as 64512
 neighbor 192.168.1.1 as-override
 neighbor 192.168.1.1 activate
 maximum-paths 2
 no auto-summary
 no synchronization
 exit-address-family
!
ip classless
no ip http server
!
no cdp run
!
line con 0
 exec-timeout 0 0
 privilege level 15
 logging synchronous
!
end
