hostname P1
!
no ip domain-lookup
!
ip cef
!
mpls traffic-eng tunnels
!
interface Loopback0
 ip address 10.0.0.1 255.255.255.255
!
interface FastEthernet0/0
 description Connected to P2 Fa0/0
 ip address 10.1.0.1 255.255.255.252
 mpls traffic-eng tunnels
 ip ospf network point-to-point
 no shutdown
!
interface FastEthernet2/0
 description Connected to P2 Fa2/0
 ip address 10.1.0.5 255.255.255.252
 mpls traffic-eng tunnels
 ip ospf network point-to-point
 no shutdown
!
interface Serial1/0
 description Connected to PE1 S1/0
 ip address 10.1.1.1 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 PE2 S1/0
 ip address 10.1.1.5 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 PE3 S1/0
 ip address 10.1.1.9 255.255.255.252
 encapsulation ppp
 no peer neighbor-route
 mpls traffic-eng tunnels
 ip ospf network point-to-point
 no shutdown
!
interface Serial1/3
 description Connected to PE4 S1/0
 ip address 10.1.1.13 255.255.255.252
 encapsulation ppp
 no peer neighbor-route
 mpls traffic-eng tunnels
 ip ospf network point-to-point
 no shutdown
!
router ospf 65000
 router-id 10.0.0.1
 mpls traffic-eng area 0
 mpls traffic-eng router-id Loopback0
 network 10.0.0.1 0.0.0.0 area 0
 network 10.1.0.0 0.0.0.7 area 0
 network 10.1.1.0 0.0.0.15 area 0
!
router bgp 65000
 no synchronization
 bgp router-id 10.0.0.1
 timers bgp 12 36
 neighbor 10.0.0.2 remote-as 65000
 neighbor 10.0.0.2 update-source Loopback0
 neighbor 10.0.0.2 send-community extended
 neighbor MPLS peer-group
 neighbor MPLS remote-as 65000
 neighbor MPLS update-source Loopback0
 !
 address-family vpnv4 unicast
 neighbor MPLS route-reflector-client
 neighbor MPLS send-community extended
 neighbor 10.0.1.1 peer-group MPLS
 neighbor 10.0.1.1 activate
 neighbor 10.0.1.2 peer-group MPLS
 neighbor 10.0.1.2 activate
 neighbor 10.0.1.3 peer-group MPLS
 neighbor 10.0.1.3 activate
 neighbor 10.0.1.4 peer-group MPLS
 neighbor 10.0.1.4 activate
 no auto-summary
!
ip classless
no ip http server
!
no cdp run
!
line con 0
 exec-timeout 0 0
 privilege level 15
 logging synchronous
!
end
