91. Router configs

91.1. CE1A.cfg

hostname CE1A
ip cef
no ip domain lookup
! 
interface Loopback0
 ip address 10.128.64.1 255.255.255.255
 ip ospf network point-to-point
 ip ospf 1 area 0
interface FastEthernet0/0
 ip address 10.128.10.2 255.255.255.0
 ip ospf 1 area 0
 duplex auto
 speed auto
interface FastEthernet1/0
 ip address 10.128.65.1 255.255.255.0
 ip ospf network point-to-point
 ip ospf 1 area 0
 duplex auto
 speed auto
router ospf 1
 router-id 10.128.64.1
 log-adjacency-changes
end

91.2. CE1B.cfg

hostname CE1B
ip cef
no ip domain lookup
interface Loopback0
 ip address 10.128.92.1 255.255.255.255
 ip ospf network point-to-point
 ip ospf 1 area 0
interface FastEthernet0/0
 ip address 10.128.20.2 255.255.255.0
 ip ospf 1 area 0
 duplex auto
 speed auto
interface FastEthernet1/0
 ip address 10.128.93.1 255.255.255.0
 ip ospf network point-to-point
 ip ospf 1 area 0
 duplex auto
 speed auto
router ospf 1
 router-id 10.128.92.1
 log-adjacency-changes
no ip http server
no ip http secure-server
ip forward-protocol nd
end

91.3. CE2A.cfg

hostname CE2A
ip cef
no ip domain lookup
! 
interface Loopback0
 ip address 10.128.64.2 255.255.255.255
 ip ospf network point-to-point
 ip ospf 1 area 0
interface FastEthernet0/0
 ip address 10.128.30.2 255.255.255.0
 ip ospf 1 area 0
 duplex auto
 speed auto
interface FastEthernet1/0
 ip address 10.128.66.1 255.255.255.0
 ip ospf network point-to-point
 ip ospf 1 area 0
 duplex auto
 speed auto
router ospf 1
 router-id 10.128.64.2
 log-adjacency-changes
no ip http server
no ip http secure-server
ip forward-protocol nd
end

91.4. CE2B.cfg

hostname CE2B
ip cef
no ip domain lookup
! 
interface Loopback0
 ip address 10.128.92.2 255.255.255.255
 ip ospf network point-to-point
 ip ospf 1 area 0
interface FastEthernet0/0
 ip address 10.128.40.2 255.255.255.0
 ip ospf 1 area 0
 duplex auto
 speed auto
interface FastEthernet1/0
 ip address 10.128.94.1 255.255.255.0
 ip ospf network point-to-point
 ip ospf 1 area 0
 duplex auto
 speed auto
router ospf 1
 router-id 10.128.92.2
 log-adjacency-changes
no ip http server
no ip http secure-server
ip forward-protocol nd
control-plane
end

91.5. P1.cfg

hostname P1
ip cef
no ip domain lookup
! 
interface Loopback0
 ip address 10.128.128.1 255.255.255.255
 ip ospf network point-to-point
 ip ospf 1 area 0
interface FastEthernet0/0
 ip address 10.128.0.1 255.255.255.0
 ip ospf 1 area 0
 duplex auto
 speed auto
 mpls ip
interface FastEthernet0/1
 ip address 10.128.3.1 255.255.255.0
 ip ospf 1 area 0
 duplex auto
 speed auto
 mpls ip
interface FastEthernet1/0
 ip address 10.128.1.1 255.255.255.0
 ip ospf 1 area 0
 duplex auto
 speed auto
 mpls ip
router ospf 1
 router-id 10.128.128.1
 log-adjacency-changes
no ip http server
no ip http secure-server
ip forward-protocol nd
end

91.6. P2.cfg

hostname P2
ip cef
no ip domain lookup
! 
interface Loopback0
 ip address 10.128.128.2 255.255.255.255
 ip ospf network point-to-point
 ip ospf 1 area 0
interface FastEthernet0/0
 ip address 10.128.0.2 255.255.255.0
 ip ospf 1 area 0
 duplex auto
 speed auto
 mpls ip
interface FastEthernet0/1
 ip address 10.128.4.1 255.255.255.0
 ip ospf 1 area 0
 duplex auto
 speed auto
 mpls ip
interface FastEthernet1/0
 ip address 10.128.2.1 255.255.255.0
 ip ospf 1 area 0
 duplex auto
 speed auto
 mpls ip
router ospf 1
 router-id 10.128.128.2
 log-adjacency-changes
no ip http server
no ip http secure-server
ip forward-protocol nd
end

91.7. PE1.cfg

hostname PE1
ip cef
no ip domain lookup
ip vrf Customer_A
 rd 65000:1
 route-target export 65000:1
 route-target import 65000:1
 route-target import 65000:99
ip vrf Customer_B
 rd 65000:2
 route-target export 65000:2
 route-target import 65000:2
 route-target import 65000:99
! 
interface Loopback0
 ip address 10.128.128.3 255.255.255.255
 ip ospf network point-to-point
 ip ospf 1 area 0
interface FastEthernet0/0
 ip address 10.128.1.2 255.255.255.0
 ip ospf 1 area 0
 duplex auto
 speed auto
 mpls ip
interface FastEthernet1/0
 ip vrf forwarding Customer_A
 ip address 10.128.10.1 255.255.255.0
 ip ospf 2 area 0
 duplex auto
 speed auto
interface FastEthernet2/0
 ip vrf forwarding Customer_B
 ip address 10.128.20.1 255.255.255.0
 ip ospf 3 area 0
 duplex auto
 speed auto
router ospf 2 vrf Customer_A
 router-id 10.128.10.1
 log-adjacency-changes
 redistribute bgp 65000 subnets
router ospf 3 vrf Customer_B
 router-id 10.128.20.1
 log-adjacency-changes
 redistribute bgp 65000 subnets
router ospf 1
 router-id 10.128.128.3
 log-adjacency-changes
router bgp 65000
 no synchronization
 bgp log-neighbor-changes
 neighbor 10.128.128.4 remote-as 65000
 neighbor 10.128.128.4 update-source Loopback0
 neighbor 10.128.128.5 remote-as 65000
 neighbor 10.128.128.5 update-source Loopback0
 no auto-summary
 !
 address-family vpnv4
  neighbor 10.128.128.4 activate
  neighbor 10.128.128.4 send-community extended
  neighbor 10.128.128.5 activate
  neighbor 10.128.128.5 send-community extended
 exit-address-family
 !
 address-family ipv4 vrf Customer_B
  redistribute ospf 3 vrf Customer_B
  no synchronization
 exit-address-family
 !
 address-family ipv4 vrf Customer_A
  redistribute ospf 2 vrf Customer_A
  no synchronization
 exit-address-family
ip forward-protocol nd
end

91.8. PE2.cfg

hostname PE2
ip cef
no ip domain lookup
ip vrf Customer_A
 rd 65000:1
 route-target export 65000:1
 route-target import 65000:1
 route-target import 65000:99
ip vrf Customer_B
 rd 65000:2
 route-target export 65000:2
 route-target import 65000:2
 route-target import 65000:99
! 
interface Loopback0
 ip address 10.128.128.4 255.255.255.255
 ip ospf network point-to-point
 ip ospf 1 area 0
interface FastEthernet0/0
 ip address 10.128.2.2 255.255.255.0
 ip ospf 1 area 0
 duplex auto
 speed auto
 mpls ip
interface FastEthernet1/0
 ip vrf forwarding Customer_A
 ip address 10.128.30.1 255.255.255.0
 ip ospf 2 area 0
 duplex auto
 speed auto
interface FastEthernet2/0
 ip vrf forwarding Customer_B
 ip address 10.128.40.1 255.255.255.0
 ip ospf 3 area 0
 duplex auto
 speed auto
router ospf 2 vrf Customer_A
 router-id 10.128.30.1
 log-adjacency-changes
 redistribute bgp 65000 subnets
router ospf 3 vrf Customer_B
 router-id 10.128.40.1
 log-adjacency-changes
 redistribute bgp 65000 subnets
router ospf 1
 log-adjacency-changes
router bgp 65000
 no synchronization
 bgp log-neighbor-changes
 neighbor 10.128.128.3 remote-as 65000
 neighbor 10.128.128.3 update-source Loopback0
 neighbor 10.128.128.5 remote-as 65000
 neighbor 10.128.128.5 update-source Loopback0
 no auto-summary
 !
 address-family vpnv4
  neighbor 10.128.128.3 activate
  neighbor 10.128.128.3 send-community extended
  neighbor 10.128.128.5 activate
  neighbor 10.128.128.5 send-community extended
 exit-address-family
 !
 address-family ipv4 vrf Customer_B
  redistribute ospf 3 vrf Customer_B
  no synchronization
 exit-address-family
 !
 address-family ipv4 vrf Customer_A
  redistribute ospf 2 vrf Customer_A
  no synchronization
 exit-address-family
ip forward-protocol nd
end

91.9. PE3.cfg