hostname R3
no buggy
!
vrf definition VRF_ATLAS
 description [VIRTUAL ROUTING FORWARDING USED FOR ATLAS EXPERIMENT]
 rd 1:2
 rt-import 1:2
 rt-export 1:2
 exit
!
vrf definition VRF_CMS
 description [VIRTUAL ROUTING FORWARDING USED FOR CMS EXPERIMENT]
 rd 1:3
 rt-import 1:3
 rt-export 1:3
 exit
!
vrf definition VRF_DEFAULT
 description [VIRTUAL ROUTING FORWARDING USED FOR IPv4 AND UNTAGGED TRAFFIC]
 rd 1:1
 label-mode per-prefix
 exit
!
router ospf4 10
 description [IPv4 OSPF FOR R3 VLAN 10]
 vrf VRF_DEFAULT
 router 10.3.30.3
 traffeng-id 0.0.0.0
 area 0 enable
 area 0 spf-ecmp
 ecmp
 exit
!
router ospf6 10
 description [IPv6 OSPF FOR R3 VLAN 10]
 vrf VRF_DEFAULT
 router 10.3.30.3
 traffeng-id ::
 area 0 enable
 area 0 spf-ecmp
 ecmp
 exit
!
router bgp4 10
 description [IPv4 iBGP FOR R3 VLAN 10]
 vrf VRF_DEFAULT
 local-as 20965
 router-id 10.3.30.3
 no safe-ebgp
 address-family vpnuni
 neighbor 10.1.34.4 remote-as 293
 neighbor 10.1.34.4 description [VLAN ID = 30] [R3@ETH1] -> [R2@ETH2]
 neighbor 10.1.34.4 local-as 20965
 neighbor 10.1.34.4 address-family vpnuni
 neighbor 10.1.34.4 distance 20
 neighbor 10.1.34.4 update-source ethernet1
 neighbor 10.1.34.4 send-community standard extended
 neighbor 10.1.30.1 remote-as 293
 neighbor 10.1.30.1 description [VLAN ID = 30] [R3] -> [R2/R4] -> [R1]
 neighbor 10.1.30.1 local-as 20965
 neighbor 10.1.30.1 address-family vpnuni
 neighbor 10.1.30.1 distance 20
 neighbor 10.1.30.1 update-source loopback30
 neighbor 10.1.30.1 send-community standard extended
 neighbor 10.4.30.4 remote-as 20965
 neighbor 10.4.30.4 description [VLAN ID = 30] [R3@ETH2] -> [R4@ETH2]
 neighbor 10.4.30.4 local-as 20965
 neighbor 10.4.30.4 address-family vpnuni
 neighbor 10.4.30.4 distance 200
 neighbor 10.4.30.4 update-source loopback30
 neighbor 10.4.30.4 send-community standard extended
 readvertise 10.3.30.3/32
 ecmp
 afi-vrf VRF_CMS enable
 afi-vrf VRF_CMS redistribute connected
 afi-vrf VRF_ATLAS enable
 afi-vrf VRF_ATLAS redistribute connected
 exit
!
router bgp6 10
 description [IPv6 iBGP FOR R3 VLAN 10]
 vrf VRF_DEFAULT
 local-as 20965
 router-id 10.3.30.3
 no safe-ebgp
 address-family vpnuni
 neighbor fd00:51e5::a:1:34:4 remote-as 293
 neighbor fd00:51e5::a:1:34:4 description [VLAN ID = 10] [R3@ETH1] -> [R2@ETH2]
 neighbor fd00:51e5::a:1:34:4 local-as 20965
 neighbor fd00:51e5::a:1:34:4 address-family vpnuni
 neighbor fd00:51e5::a:1:34:4 distance 20
 neighbor fd00:51e5::a:1:34:4 update-source ethernet1
 neighbor fd00:51e5::a:1:34:4 send-community standard extended
 neighbor fd01:10::1 remote-as 293
 neighbor fd01:10::1 description [VLAN ID = 10] [R3] -> [R2/R4] -> [R1]
 neighbor fd01:10::1 local-as 20965
 neighbor fd01:10::1 address-family vpnuni
 neighbor fd01:10::1 distance 20
 neighbor fd01:10::1 update-source loopback30
 neighbor fd01:10::1 send-community standard extended
 neighbor fd01:10::4 remote-as 20965
 neighbor fd01:10::4 description [VLAN ID = 10] [R3@ETH2] -> [R4@ETH2]
 neighbor fd01:10::4 local-as 20965
 neighbor fd01:10::4 address-family vpnuni
 neighbor fd01:10::4 distance 200
 neighbor fd01:10::4 update-source loopback30
 neighbor fd01:10::4 send-community standard extended
 readvertise fd01:10::3/128
 ecmp
 afi-vrf VRF_CMS enable
 afi-vrf VRF_CMS redistribute connected
 afi-vrf VRF_ATLAS enable
 afi-vrf VRF_ATLAS redistribute connected
 exit
!
interface loopback10
 description [LOOPBACK FOR R3 VLAN 10]
 vrf forwarding VRF_ATLAS
 ipv4 address 10.3.10.3 255.255.255.255
 ipv6 address fd01:10::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff
 ipv6 enable
 no shutdown
 no log-link-change
 exit
!
interface loopback20
 description [LOOPBACK FOR R3 VLAN 20]
 vrf forwarding VRF_CMS
 ipv4 address 10.3.20.3 255.255.255.255
 ipv6 address fd01:20::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff
 ipv6 enable
 no shutdown
 no log-link-change
 exit
!
interface loopback30
 description [LOOPBACK FOR R3 VLAN 30]
 vrf forwarding VRF_DEFAULT
 ipv4 address 10.3.30.3 255.255.255.255
 ipv6 address fd01:30::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff
 ipv6 enable
 router ospf4 10 enable
 router ospf4 10 passive
 router ospf4 10 area 0
 router ospf6 10 enable
 router ospf6 10 passive
 router ospf6 10 area 0
 no shutdown
 no log-link-change
 exit
!
interface ethernet1
 vrf forwarding VRF_DEFAULT 
 ipv4 address 10.1.34.3 255.255.255.0
 ipv6 address fd00:51e5::a:1:34:3 ffff:ffff:ffff:ffff::
 mpls enable
 mpls ldp4
 mpls ldp6
 router ospf4 10 enable
 router ospf4 10 area 0
 router ospf6 10 enable
 router ospf6 10 area 0
 no shutdown
 no log-link-change
 exit
!
interface ethernet2
 description SDN9 in BUD
 vrf forwarding VRF_DEFAULT 
 ipv4 address 10.1.23.3 255.255.255.0
 ipv6 address fd00:51e5::a:1:23:3 ffff:ffff:ffff:ffff::
 mpls enable
 mpls ldp4
 mpls ldp6
 router ospf4 10 enable
 router ospf4 10 area 0
 router ospf6 10 enable
 router ospf6 10 area 0
 no shutdown
 no log-link-change
 exit
!
interface ethernet3
 no shutdown
 no log-link-change
 exit
!
server telnet tel
 security protocol telnet
 exec timeout 10000000
 exec logging
 exec colorize prompt
 no exec authorization
 no login authentication
 login logging
 vrf VRF_DEFAULT
 exit
!
end
