hostname r3
buggy
!
logging file debug ./slot0r3-log.run
!
vrf definition blue
 rd 1:3
 rt4import 1:3
 rt4export 1:3
 clr4import 3
 clr4export 3
 exit
!
vrf definition core
 label4mode per-prefix
 exit
!
vrf definition cust1
 rd 1:11
 rt4import 1:11
 rt4export 1:11
 exit
!
vrf definition cust2
 rd 1:22
 rt4import 1:22
 rt4export 1:22
 exit
!
vrf definition red
 rd 1:2
 rt4import 1:2
 rt4export 1:2
 clr4import 2
 clr4export 2
 exit
!
vrf definition tester
 exit
!
interface loopback0
 vrf forwarding core
 ipv4 address 2.2.2.3 255.255.255.255
 no shutdown
 no log-link-change
 exit
!
interface loopback1
 vrf forwarding red
 ipv4 address 2.2.2.3 255.255.255.255
 no shutdown
 no log-link-change
 exit
!
interface loopback2
 vrf forwarding blue
 ipv4 address 2.2.2.3 255.255.255.255
 no shutdown
 no log-link-change
 exit
!
interface ethernet1
 lldp enable
 vrf forwarding cust1
 ipv4 address 3.3.3.2 255.255.255.252
 no shutdown
 no log-link-change
 exit
!
interface ethernet2
 lldp enable
 vrf forwarding cust2
 ipv4 address 4.4.4.2 255.255.255.252
 no shutdown
 no log-link-change
 exit
!
interface ethernet3
 lldp enable
 vrf forwarding core
 ipv4 address 1.1.1.1 255.255.255.252
 mpls enable
 no shutdown
 no log-link-change
 exit
!
router bgp4 1 vrf core
 local-as 1
 router-id 2.2.2.3
 address-family ctp
 !
 neighbor 1.1.1.2 remote-as 2
 neighbor 1.1.1.2 local-as 1
 neighbor 1.1.1.2 address-family ctp
 neighbor 1.1.1.2 distance 20
 neighbor 1.1.1.2 send-community all
 !
 afi-clr blue enable
 afi-clr blue redistribute connected
 !
 afi-clr red enable
 afi-clr red redistribute connected
 !
 !
 redistribute connected
 exit
!
router bgp4 2 vrf core
 local-as 1
 router-id 2.2.2.3
 address-family vpnuni
 !
 neighbor 2.2.2.5 remote-as 2
 neighbor 2.2.2.5 local-as 1
 neighbor 2.2.2.5 address-family vpnuni
 neighbor 2.2.2.5 distance 20
 neighbor 2.2.2.5 update-source loopback0
 neighbor 2.2.2.5 send-community all
 !
 afi-vrf cust1 enable
 afi-vrf cust1 set-vrf red ipv4
 afi-vrf cust1 redistribute connected
 !
 afi-vrf cust2 enable
 afi-vrf cust2 set-vrf blue ipv4
 afi-vrf cust2 redistribute connected
 !
 !
 exit
!
console0
 no exec authorization
 no login authentication
 exit
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
server telnet tester
 security protocol telnet
 exec colorize header
 exec monitor
 no exec authorization
 no login authentication
 vrf tester
 exit
!
!
end
