Building configuration...
!
version 12.0
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname R1
!
boot-start-marker
boot-end-marker
!
!
ip subnet-zero
!
!
ip cef
ip vrf vpna
rd 100:10
route-target export 100:10
route-target import 100:10
!
ip vrf vpnb
rd 100:20
route-target export 100:20
route-target import 100:20
!
mpls label range 100 199
mpls label protocol ldp
tag-switching tdp router-id Loopback0 force
!
!
!
interface Loopback0
ip address 1.1.1.1 255.255.255.255
no ip directed-broadcast
!
interface Loopback11
ip vrf forwarding vpna
ip address 172.16.1.1 255.255.255.0
no ip directed-broadcast
!
interface Loopback22
ip vrf forwarding vpnb
ip address 192.168.1.1 255.255.255.0
no ip directed-broadcast
!
interface FastEthernet0/0
no ip address
no ip directed-broadcast
shutdown
!
interface Serial1/0
ip address 10.10.12.1 255.255.255.0
no ip directed-broadcast
tag-switching ip
!
interface Serial1/1
no ip address
no ip directed-broadcast
shutdown
!
interface Serial1/2
no ip address
no ip directed-broadcast
shutdown
!
interface Serial1/3
no ip address
no ip directed-broadcast
shutdown
!
router ospf 1
log-adjacency-changes
passive-interface Loopback0
network 1.1.1.1 0.0.0.0 area 0
network 10.10.12.0 0.0.0.255 area 0
!
router bgp 120
no synchronization
bgp router-id 1.1.1.1
bgp log-neighbor-changes
neighbor 2.2.2.2 remote-as 120
neighbor 2.2.2.2 update-source Loopback0
neighbor 2.2.2.2 send-label explicit-null
no auto-summary
!
address-family vpnv4
neighbor 2.2.2.2 activate
neighbor 2.2.2.2 send-community extended
exit-address-family
!
address-family ipv4 vrf vpnb
redistribute connected
no auto-summary
no synchronization
exit-address-family
!
address-family ipv4 vrf vpna
redistribute connected
no auto-summary
no synchronization
exit-address-family
!
ip classless
!
!
!
control-plane
!
!
line con 0
stopbits 1
line aux 0
stopbits 1
line vty 0 4
login
!
no cns aaa enable
end
R2>en
R2#show run
Building configuration...
!
version 12.0
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname R2
!
boot-start-marker
boot-end-marker
!
!
ip subnet-zero
!
!
ip cef
mpls label range 200 299
mpls label protocol ldp
tag-switching tdp router-id Loopback0 force
!
!
!
interface Loopback0
ip address 2.2.2.2 255.255.255.255
no ip directed-broadcast
!
interface FastEthernet0/0
ip address 10.10.23.2 255.255.255.0
no ip directed-broadcast
mpls bgp forwarding
!
interface Serial1/0
ip address 10.10.12.2 255.255.255.0
no ip directed-broadcast
tag-switching ip
!
interface Serial1/1
no ip address
no ip directed-broadcast
shutdown
!
interface Serial1/2
no ip address
no ip directed-broadcast
shutdown
!
interface Serial1/3
no ip address
no ip directed-broadcast
shutdown
!
router ospf 1
log-adjacency-changes
passive-interface Loopback0
network 2.2.2.2 0.0.0.0 area 0
network 10.10.12.0 0.0.0.255 area 0
!
router bgp 120
no synchronization
bgp router-id 2.2.2.2
no bgp default route-target filter
bgp log-neighbor-changes
neighbor 1.1.1.1 remote-as 120
neighbor 1.1.1.1 update-source Loopback0
neighbor 10.10.23.3 remote-as 300
no auto-summary
!
address-family vpnv4
neighbor 1.1.1.1 activate
neighbor 1.1.1.1 send-community extended
neighbor 1.1.1.1 next-hop-self
neighbor 10.10.23.3 activate
neighbor 10.10.23.3 send-community extended
exit-address-family
!
ip classless
!
!
!
control-plane
!
!
line con 0
stopbits 1
line aux 0
stopbits 1
line vty 0 4
login
!
no cns aaa enable
end
Building configuration...
!
version 12.0
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname R3
!
boot-start-marker
boot-end-marker
!
!
ip subnet-zero
!
!
ip cef
no tag-switching ip
!
!
!
interface Loopback0
ip address 3.3.3.3 255.255.255.255
no ip directed-broadcast
!
interface FastEthernet0/0
ip address 10.10.23.3 255.255.255.0
no ip directed-broadcast
mpls bgp forwarding
!
interface Serial1/0
no ip address
no ip directed-broadcast
shutdown
!
interface Serial1/1
ip address 10.10.34.3 255.255.255.0
no ip directed-broadcast
mpls bgp forwarding
!
interface Serial1/2
no ip address
no ip directed-broadcast
shutdown
!
interface Serial1/3
no ip address
no ip directed-broadcast
shutdown
!
router bgp 300
no synchronization
no bgp default route-target filter
bgp log-neighbor-changes
neighbor 10.10.23.2 remote-as 120
neighbor 10.10.34.4 remote-as 456
no auto-summary
!
address-family vpnv4
neighbor 10.10.23.2 activate
neighbor 10.10.23.2 send-community extended
neighbor 10.10.34.4 activate
neighbor 10.10.34.4 send-community extended
exit-address-family
!
ip classless
!
!
!
control-plane
!
!
line con 0
stopbits 1
line aux 0
stopbits 1
line vty 0 4
login
!
no cns aaa enable
end
Building configuration...
!
version 12.0
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname R4
!
boot-start-marker
boot-end-marker
!
!
ip subnet-zero
!
!
ip cef
mpls label range 400 499
mpls label protocol ldp
tag-switching tdp router-id Loopback0 force
!
!
!
interface Loopback0
ip address 4.4.4.4 255.255.255.255
no ip directed-broadcast
!
interface FastEthernet0/0
ip address 10.10.45.4 255.255.255.0
no ip directed-broadcast
tag-switching ip
!
interface Serial1/0
no ip address
no ip directed-broadcast
shutdown
!
interface Serial1/1
ip address 10.10.34.4 255.255.255.0
no ip directed-broadcast
mpls bgp forwarding
!
interface Serial1/2
no ip address
no ip directed-broadcast
shutdown
!
interface Serial1/3
no ip address
no ip directed-broadcast
shutdown
!
router ospf 1
log-adjacency-changes
passive-interface Loopback0
network 4.4.4.4 0.0.0.0 area 0
network 10.10.45.0 0.0.0.255 area 0
!
router bgp 456
no synchronization
no bgp default route-target filter
bgp log-neighbor-changes
neighbor 6.6.6.6 remote-as 456
neighbor 6.6.6.6 update-source Loopback0
neighbor 10.10.34.3 remote-as 300
no auto-summary
!
address-family vpnv4
neighbor 6.6.6.6 activate
neighbor 6.6.6.6 send-community extended
neighbor 6.6.6.6 next-hop-self
neighbor 10.10.34.3 activate
neighbor 10.10.34.3 send-community extended
exit-address-family
!
ip classless
!
!
!
control-plane
!
!
line con 0
stopbits 1
line aux 0
stopbits 1
line vty 0 4
login
!
no cns aaa enable
end
R4#
R5#show run
Building configuration...
!
version 12.0
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname R5
!
boot-start-marker
boot-end-marker
!
!
ip subnet-zero
!
!
ip cef
mpls label range 500 599
mpls label protocol ldp
tag-switching tdp router-id Loopback0
!
!
!
interface Loopback0
ip address 5.5.5.5 255.255.255.255
no ip directed-broadcast
!
interface FastEthernet0/0
ip address 10.10.45.5 255.255.255.0
no ip directed-broadcast
tag-switching ip
!
interface Serial1/0
no ip address
no ip directed-broadcast
shutdown
!
interface Serial1/1
ip address 10.10.56.5 255.255.255.0
no ip directed-broadcast
tag-switching ip
!
interface Serial1/2
no ip address
no ip directed-broadcast
shutdown
!
interface Serial1/3
no ip address
no ip directed-broadcast
shutdown
!
router ospf 1
log-adjacency-changes
passive-interface Loopback0
network 5.5.5.5 0.0.0.0 area 0
network 10.10.45.0 0.0.0.255 area 0
network 10.10.56.0 0.0.0.255 area 0
!
ip classless
!
!
!
control-plane
!
!
line con 0
stopbits 1
line aux 0
stopbits 1
line vty 0 4
login
!
no cns aaa enable
end
Building configuration...
!
version 12.0
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname R6
!
boot-start-marker
boot-end-marker
!
!
ip subnet-zero
!
!
ip cef
ip vrf vpna
rd 100:10
route-target export 100:10
route-target import 100:10
!
ip vrf vpnb
rd 100:20
route-target export 100:20
route-target import 100:20
!
mpls label range 600 699
mpls label protocol ldp
tag-switching tdp router-id Loopback0 force
!
!
!
interface Loopback0
ip address 6.6.6.6 255.255.255.255
no ip directed-broadcast
!
interface Loopback11
ip vrf forwarding vpna
ip address 172.16.2.1 255.255.255.0
no ip directed-broadcast
!
interface Loopback22
ip vrf forwarding vpnb
ip address 192.168.2.1 255.255.255.0
no ip directed-broadcast
!
interface FastEthernet0/0
no ip address
no ip directed-broadcast
shutdown
!
interface Serial1/0
no ip address
no ip directed-broadcast
shutdown
!
interface Serial1/1
ip address 10.10.56.6 255.255.255.0
no ip directed-broadcast
tag-switching ip
!
interface Serial1/2
no ip address
no ip directed-broadcast
shutdown
!
interface Serial1/3
no ip address
no ip directed-broadcast
shutdown
!
router ospf 1
log-adjacency-changes
passive-interface Loopback0
network 6.6.6.6 0.0.0.0 area 0
network 10.10.56.0 0.0.0.255 area 0
!
router bgp 456
no synchronization
bgp log-neighbor-changes
neighbor 4.4.4.4 remote-as 456
neighbor 4.4.4.4 update-source Loopback0
neighbor 4.4.4.4 send-label explicit-null
no auto-summary
!
address-family vpnv4
neighbor 4.4.4.4 activate
neighbor 4.4.4.4 send-community extended
exit-address-family
!
address-family ipv4 vrf vpnb
redistribute connected
no auto-summary
no synchronization
exit-address-family
!
address-family ipv4 vrf vpna
redistribute connected
no auto-summary
no synchronization
exit-address-family
!
ip classless
!
!
!
control-plane
!
!
line con 0
stopbits 1
line aux 0
stopbits 1
line vty 0 4
login
!
no cns aaa enable
end
Building configuration...
!
version 12.0
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname R6
!
boot-start-marker
boot-end-marker
!
!
ip subnet-zero
!
!
ip cef
ip vrf vpna
rd 100:10
route-target export 100:10
route-target import 100:10
!
ip vrf vpnb
rd 100:20
route-target export 100:20
route-target import 100:20
!
mpls label range 600 699
mpls label protocol ldp
tag-switching tdp router-id Loopback0 force
!
!
!
interface Loopback0
ip address 6.6.6.6 255.255.255.255
no ip directed-broadcast
!
interface Loopback11
ip vrf forwarding vpna
ip address 172.16.2.1 255.255.255.0
no ip directed-broadcast
!
interface Loopback22
ip vrf forwarding vpnb
ip address 192.168.2.1 255.255.255.0
no ip directed-broadcast
!
interface FastEthernet0/0
no ip address
no ip directed-broadcast
shutdown
!
interface Serial1/0
no ip address
no ip directed-broadcast
shutdown
!
interface Serial1/1
ip address 10.10.56.6 255.255.255.0
no ip directed-broadcast
tag-switching ip
!
interface Serial1/2
no ip address
no ip directed-broadcast
shutdown
!
interface Serial1/3
no ip address
no ip directed-broadcast
shutdown
!
router ospf 1
log-adjacency-changes
passive-interface Loopback0
network 6.6.6.6 0.0.0.0 area 0
network 10.10.56.0 0.0.0.255 area 0
!
router bgp 456
no synchronization
bgp log-neighbor-changes
neighbor 4.4.4.4 remote-as 456
neighbor 4.4.4.4 update-source Loopback0
neighbor 4.4.4.4 send-label explicit-null
no auto-summary
!
address-family vpnv4
neighbor 4.4.4.4 activate
neighbor 4.4.4.4 send-community extended
exit-address-family
!
address-family ipv4 vrf vpnb
redistribute connected
no auto-summary
no synchronization
exit-address-family
!
address-family ipv4 vrf vpna
redistribute connected
no auto-summary
no synchronization
exit-address-family
!
ip classless
!
!
!
control-plane
!
!
line con 0
stopbits 1
line aux 0
stopbits 1
line vty 0 4
login
!
no cns aaa enable
end