hostname R2
no buggy
!
vrf definition VRF_ATLAS
 exit
!
vrf definition VRF_CMS
 exit
!
vrf definition VRF_DEFAULT
 exit
!
router ospf4 10
 vrf VRF_ATLAS
 router 10.2.10.2
 traffeng-id 0.0.0.0
 area 0 enable
 area 0 spf-ecmp
 ecmp
 exit
!
router ospf4 20
 vrf VRF_CMS
 router 10.2.20.2
 traffeng-id 0.0.0.0
 area 0 enable
 area 0 spf-ecmp
 ecmp
 exit
!
router ospf4 30
 vrf VRF_DEFAULT
 router 10.2.30.2
 traffeng-id 0.0.0.0
 area 0 enable
 area 0 spf-ecmp
 ecmp
 exit
!
router ospf6 10
 vrf VRF_ATLAS
 router 10.2.10.2
 traffeng-id ::
 area 0 enable
 area 0 spf-ecmp
 ecmp
 exit
!
router ospf6 20
 vrf VRF_CMS
 router 10.2.20.2
 traffeng-id ::
 area 0 enable
 area 0 spf-ecmp
 ecmp
 exit
!
router ospf6 30
 vrf VRF_DEFAULT
 router 10.2.30.2
 traffeng-id ::
 area 0 enable
 area 0 spf-ecmp
 ecmp
 exit
!
router bgp4 10
 vrf VRF_ATLAS
 local-as 10
 router-id 10.2.10.2
 no safe-ebgp
 address-family unicast
 neighbor 10.1.10.1 remote-as 10
 neighbor 10.1.10.1 update-source loopback10
 neighbor 10.3.10.3 remote-as 10
 neighbor 10.3.10.3 update-source loopback10
 neighbor 10.4.10.4 remote-as 10
 neighbor 10.4.10.4 update-source loopback10
 neighbor 10.10.22.22 remote-as 200
 no neighbor 10.10.22.22 description
 neighbor 10.10.22.22 local-as 10
 neighbor 10.10.22.22 address-family unicast
 neighbor 10.10.22.22 distance 20
 neighbor 10.10.22.22 additional-path-tx unicast
 neighbor 10.10.22.22 additional-path-rx unicast
 neighbor 10.10.22.22 update-source ethernet1.10
 readvertise 10.2.10.2/32
 ecmp
 exit
!
router bgp4 20
 vrf VRF_CMS
 local-as 20
 router-id 10.2.20.2
 no safe-ebgp
 address-family unicast
 neighbor 10.1.20.1 remote-as 20
 neighbor 10.1.20.1 update-source loopback20
 neighbor 10.3.20.3 remote-as 20
 neighbor 10.3.20.3 update-source loopback20
 neighbor 10.4.20.4 remote-as 20
 neighbor 10.4.20.4 update-source loopback20
 neighbor 10.20.22.22 remote-as 200
 no neighbor 10.20.22.22 description
 neighbor 10.20.22.22 local-as 20
 neighbor 10.20.22.22 address-family unicast
 neighbor 10.20.22.22 distance 20
 neighbor 10.20.22.22 additional-path-tx unicast
 neighbor 10.20.22.22 additional-path-rx unicast
 neighbor 10.20.22.22 update-source ethernet1.20
 readvertise 10.2.20.2/32
 ecmp
 exit
!
router bgp4 30
 vrf VRF_DEFAULT
 local-as 30
 router-id 10.2.30.2
 no safe-ebgp
 address-family unicast
 neighbor 10.1.30.1 remote-as 30
 neighbor 10.1.30.1 update-source loopback30
 neighbor 10.3.30.3 remote-as 30
 neighbor 10.3.30.3 update-source loopback30
 neighbor 10.4.30.4 remote-as 30
 neighbor 10.4.30.4 update-source loopback30
 neighbor 10.30.22.22 remote-as 200
 no neighbor 10.30.22.22 description
 neighbor 10.30.22.22 local-as 30
 neighbor 10.30.22.22 address-family unicast
 neighbor 10.30.22.22 distance 20
 neighbor 10.30.22.22 additional-path-tx unicast
 neighbor 10.30.22.22 additional-path-rx unicast
 neighbor 10.30.22.22 update-source ethernet1.30
 readvertise 10.2.30.2/32
 ecmp
 exit
!
router bgp6 10
 vrf VRF_ATLAS
 local-as 10
 router-id 10.2.10.2
 address-family unicast
 no safe-ebgp
 neighbor fd01:10::1 remote-as 10
 neighbor fd01:10::1 update-source loopback10
 neighbor fd01:10::3 remote-as 10
 neighbor fd01:10::3 update-source loopback10
 neighbor fd01:10::4 remote-as 10
 neighbor fd01:10::4 update-source loopback10
 neighbor fd01:10:22::22 remote-as 200
 no neighbor fd01:10:22::22 description
 neighbor fd01:10:22::22 local-as 10
 neighbor fd01:10:22::22 address-family unicast
 neighbor fd01:10:22::22 distance 20
 neighbor fd01:10:22::22 additional-path-tx unicast
 neighbor fd01:10:22::22 additional-path-rx unicast
 neighbor fd01:10:22::22 update-source ethernet1.10
 readvertise fd01:10::2/128
 ecmp
 exit
!
router bgp6 20
 vrf VRF_CMS
 local-as 20
 router-id 10.2.20.2
 no safe-ebgp
 address-family unicast
 neighbor fd01:20::1 remote-as 20
 neighbor fd01:20::1 update-source loopback20
 neighbor fd01:20::3 remote-as 20
 neighbor fd01:20::3 update-source loopback20
 neighbor fd01:20::4 remote-as 20
 neighbor fd01:20::4 update-source loopback20
 neighbor fd01:20:22::22 remote-as 200
 no neighbor fd01:20:22::22 description
 neighbor fd01:20:22::22 local-as 20
 neighbor fd01:20:22::22 address-family unicast
 neighbor fd01:20:22::22 distance 20
 neighbor fd01:20:22::22 additional-path-tx unicast
 neighbor fd01:20:22::22 additional-path-rx unicast
 neighbor fd01:20:22::22 update-source ethernet1.20
 readvertise fd01:20::2/128
 ecmp
 exit
!
router bgp6 30
 vrf VRF_DEFAULT
 local-as 30
 router-id 10.2.30.2
 no safe-ebgp
 address-family unicast
 neighbor fd01:30::1 remote-as 30
 neighbor fd01:30::1 update-source loopback30
 neighbor fd01:30::3 remote-as 30
 neighbor fd01:30::3 update-source loopback30
 neighbor fd01:30::4 remote-as 30
 neighbor fd01:30::4 update-source loopback30
 neighbor fd01:30:22::22 remote-as 200
 no neighbor fd01:30:22::22 description
 neighbor fd01:30:22::22 local-as 30
 neighbor fd01:30:22::22 address-family unicast
 neighbor fd01:30:22::22 distance 20
 neighbor fd01:30:22::22 additional-path-tx unicast
 neighbor fd01:30:22::22 additional-path-rx unicast
 neighbor fd01:30:22::22 update-source ethernet1.30
 readvertise fd01:30::2/128
 ecmp
 exit
!
interface loopback10
 description lo R2 VLAN 10
 vrf forwarding VRF_ATLAS
 ipv4 address 10.2.10.2 255.255.255.255
 ipv6 address fd01:10::2 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 loopback20
 description lo R2 VLAN 20
 vrf forwarding VRF_CMS
 ipv4 address 10.2.20.2 255.255.255.255
 ipv6 address fd01:20::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff
 ipv6 enable
 router ospf4 20 enable
 router ospf4 20 passive
 router ospf4 20 area 0
 router ospf6 20 enable
 router ospf6 20 passive
 router ospf6 20 area 0
 no shutdown
 no log-link-change
 exit
!
interface loopback30
 description lo R2 VLAN 30
 vrf forwarding VRF_DEFAULT
 ipv4 address 10.2.30.2 255.255.255.255
 ipv6 address fd01:30::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff
 ipv6 enable
 router ospf4 30 enable
 router ospf4 30 passive
 router ospf4 30 area 0
 router ospf6 30 enable
 router ospf6 30 passive
 router ospf6 30 area 0
 no shutdown
 no log-link-change
 exit
!
interface ethernet1
 no shutdown
 no log-link-change
 exit
!
interface ethernet1.10
 description [VLAN ID = 10] R2 --> R22
 vrf forwarding VRF_ATLAS
 ipv4 address 10.10.22.2 255.255.255.0
 ipv6 address fd01:10:22::2 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.20
 description [VLAN ID = 20] R2 --> R22
 vrf forwarding VRF_CMS
 ipv4 address 10.20.22.2 255.255.255.0
 ipv6 address fd01:20:22::2 ffff:ffff:ffff:ffff::
 ipv6 enable
 router ospf4 20 enable
 router ospf4 20 passive
 router ospf4 20 area 0
 router ospf6 20 enable
 router ospf6 20 passive
 router ospf6 20 area 0
 no shutdown
 no log-link-change
 exit
!
interface ethernet1.30
 description [VLAN ID = 30] R2 --> R22
 vrf forwarding VRF_DEFAULT
 ipv4 address 10.30.22.2 255.255.255.0
 ipv6 address fd01:30:22::2 ffff:ffff:ffff:ffff::
 ipv6 enable
 router ospf4 30 enable
 router ospf4 30 passive
 router ospf4 30 area 0
 router ospf6 30 enable
 router ospf6 30 passive
 router ospf6 30 area 0
 no shutdown
 no log-link-change
 exit
!
interface ethernet2
 no shutdown
 no log-link-change
 exit
!
interface ethernet2.10
 description [VLAN ID = 10] R2 --> R3
 vrf forwarding VRF_ATLAS
 ipv4 address 10.10.32.2 255.255.255.0
 ipv6 address fd01:10:32::2 ffff:ffff:ffff:ffff::
 ipv6 enable
 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.20
 description [VLAN ID = 20] R2 --> R3
 vrf forwarding VRF_CMS
 ipv4 address 10.20.32.2 255.255.255.0
 ipv6 address fd01:20:32::2  ffff:ffff:ffff:ffff::
 ipv6 enable
 router ospf4 20 enable
 router ospf4 20 area 0
 router ospf6 20 enable
 router ospf6 20 area 0
 no shutdown
 no log-link-change
 exit
!
interface ethernet2.30
 description [VLAN ID = 30] R2 --> R3
 vrf forwarding VRF_DEFAULT
 ipv4 address 10.30.32.2 255.255.255.0
 ipv6 address fd01:30:32::2 ffff:ffff:ffff:ffff::
 ipv6 enable
 router ospf4 30 enable
 router ospf4 30 area 0
 router ospf6 30 enable
 router ospf6 30 area 0
 no shutdown
 no log-link-change
 exit
!
interface ethernet3
 no shutdown
 no log-link-change
 exit
!
interface ethernet3.10
 description [VLAN ID = 10] R2 --> R1
 vrf forwarding VRF_ATLAS
 ipv4 address 10.10.21.2 255.255.255.0
 ipv6 address fd01:10:21::2 ffff:ffff:ffff:ffff::
 ipv6 enable
 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.20
 description [VLAN ID = 20] R2 --> R1
 vrf forwarding VRF_CMS
 ipv4 address 10.20.21.2 255.255.255.0
 ipv6 address fd01:20:21::2 ffff:ffff:ffff:ffff::
 ipv6 enable
 router ospf4 20 enable
 router ospf4 20 area 0
 router ospf6 20 enable
 router ospf6 20 area 0
 no shutdown
 no log-link-change
 exit
!
interface ethernet3.30
 description [VLAN ID = 30] R2 --> R1
 vrf forwarding VRF_DEFAULT
 ipv4 address 10.30.21.2 255.255.255.0
 ipv6 address fd01:30:21::2 ffff:ffff:ffff:ffff::
 ipv6 enable
 router ospf4 30 enable
 router ospf4 30 area 0
 router ospf6 30 enable
 router ospf6 30 area 0
 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
