hostname R4
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.4.10.4
 traffeng-id 0.0.0.0
 area 0 enable
 area 0 spf-ecmp
 ecmp
 exit
!
router ospf4 20
 vrf VRF_CMS
 router 10.4.20.4
 traffeng-id 0.0.0.0
 area 0 enable
 area 0 spf-ecmp
 ecmp
 exit
!
router ospf4 30
 vrf VRF_DEFAULT
 router 10.4.30.4
 traffeng-id 0.0.0.0
 area 0 enable
 area 0 spf-ecmp
 ecmp
 exit
!
router ospf6 10
 vrf VRF_ATLAS
 router 10.4.10.4
 traffeng-id ::
 area 0 enable
 area 0 spf-ecmp
 ecmp
 exit
!
router ospf6 20
 vrf VRF_CMS
 router 10.4.20.4
 traffeng-id ::
 area 0 enable
 area 0 spf-ecmp
 ecmp
 exit
!
router ospf6 30
 vrf VRF_DEFAULT
 router 10.4.30.4
 traffeng-id ::
 area 0 enable
 area 0 spf-ecmp
 ecmp
 exit
!
router bgp4 10
 vrf VRF_ATLAS
 local-as 10
 router-id 10.4.10.4
 address-family unicast
 neighbor 10.2.10.2 remote-as 10
 neighbor 10.2.10.2 update-source loopback10
 neighbor 10.3.10.3 remote-as 10
 neighbor 10.3.10.3 update-source loopback10
 neighbor 10.1.10.1 remote-as 10
 neighbor 10.1.10.1 update-source loopback10
 readvertise 10.4.10.4/32
 ecmp
 exit
!
router bgp4 20
 vrf VRF_CMS
 local-as 20
 router-id 10.4.20.4
 no safe-ebgp
 address-family unicast
 neighbor 10.2.20.2 remote-as 20
 neighbor 10.2.20.2 update-source loopback20
 neighbor 10.3.20.3 remote-as 20
 neighbor 10.3.20.3 update-source loopback20
 neighbor 10.1.20.1 remote-as 20
 neighbor 10.1.20.1 update-source loopback20
 neighbor 10.20.44.44 remote-as 400
 no neighbor 10.20.44.44 description
 neighbor 10.20.44.44 local-as 20
 neighbor 10.20.44.44 address-family unicast
 neighbor 10.20.44.44 distance 20
 neighbor 10.20.44.44 additional-path-tx unicast
 neighbor 10.20.44.44 additional-path-rx unicast
 neighbor 10.20.44.44 update-source ethernet3.20
 readvertise 10.4.20.4/32
 ecmp
 exit
!
router bgp4 30
 vrf VRF_DEFAULT
 local-as 30
 router-id 10.4.30.4
 no safe-ebgp
 address-family unicast
 neighbor 10.2.30.2 remote-as 30
 neighbor 10.2.30.2 update-source loopback30
 neighbor 10.3.30.3 remote-as 30
 neighbor 10.3.30.3 update-source loopback30
 neighbor 10.1.30.1 remote-as 30
 neighbor 10.1.30.1 update-source loopback30
 neighbor 10.30.44.44 remote-as 400
 no neighbor 10.30.44.44 description
 neighbor 10.30.44.44 local-as 30
 neighbor 10.30.44.44 address-family unicast
 neighbor 10.30.44.44 distance 20
 neighbor 10.30.44.44 additional-path-tx unicast
 neighbor 10.30.44.44 additional-path-rx unicast
 neighbor 10.30.44.44 update-source ethernet3.30
 readvertise 10.4.30.4/32
 ecmp
 exit
!
router bgp6 10
 vrf VRF_ATLAS
 local-as 10
 router-id 10.4.10.4
 address-family unicast
 neighbor fd01:10::2 remote-as 10
 neighbor fd01:10::2 update-source loopback10
 neighbor fd01:10::3 remote-as 10
 neighbor fd01:10::3 update-source loopback10
 neighbor fd01:10::1 remote-as 10
 neighbor fd01:10::1 update-source loopback10
 readvertise fd01:10::4/128
 ecmp
 exit
!
router bgp6 20
 vrf VRF_CMS
 local-as 20
 router-id 10.4.20.4
 no safe-ebgp
 address-family unicast
 neighbor fd01:20::2 remote-as 20
 neighbor fd01:20::2 update-source loopback20
 neighbor fd01:20::3 remote-as 20
 neighbor fd01:20::3 update-source loopback20
 neighbor fd01:20::1 remote-as 20
 neighbor fd01:20::1 update-source loopback20
 neighbor fd01:20:44::44 remote-as 400
 no neighbor fd01:20:44::44 description
 neighbor fd01:20:44::44 local-as 20
 neighbor fd01:20:44::44 address-family unicast
 neighbor fd01:20:44::44 distance 20
 neighbor fd01:20:44::44 additional-path-tx unicast
 neighbor fd01:20:44::44 additional-path-rx unicast
 neighbor fd01:20:44::44 update-source ethernet3.20
 readvertise fd01:20::4/128
 ecmp
 exit
!
router bgp6 30
 vrf VRF_DEFAULT
 local-as 30
 router-id 10.4.30.4
 no safe-ebgp
 address-family unicast
 neighbor fd01:30::2 remote-as 30
 neighbor fd01:30::2 update-source loopback30
 neighbor fd01:30::3 remote-as 30
 neighbor fd01:30::3 update-source loopback30
 neighbor fd01:30::1 remote-as 30
 neighbor fd01:30::1 update-source loopback30
 neighbor fd01:30:44::44 remote-as 400
 no neighbor fd01:30:44::44 description
 neighbor fd01:30:44::44 local-as 30
 neighbor fd01:30:44::44 address-family unicast
 neighbor fd01:30:44::44 distance 20
 neighbor fd01:30:44::44 additional-path-tx unicast
 neighbor fd01:30:44::44 additional-path-rx unicast
 neighbor fd01:30:44::44 update-source ethernet3.30
 readvertise fd01:30::4/128
 ecmp
 exit
!
interface loopback10
 description lo R4 VLAN 10
 vrf forwarding VRF_ATLAS
 ipv4 address 10.4.10.4 255.255.255.255
 ipv6 address fd01:10::4 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 R4 VLAN 20
 vrf forwarding VRF_CMS
 ipv4 address 10.4.20.4 255.255.255.255
 ipv6 address fd01:20::4 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 R4 VLAN 30
 vrf forwarding VRF_DEFAULT
 ipv4 address 10.4.30.4 255.255.255.255
 ipv6 address fd01:30::4 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] R4 --> R1
 vrf forwarding VRF_ATLAS
 ipv4 address 10.10.14.4 255.255.255.0
 ipv6 address fd01:10:14::4 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 ethernet1.20
 description [VLAN ID = 20] R4 --> R1
 vrf forwarding VRF_CMS
 ipv4 address 10.20.14.4 255.255.255.0
 ipv6 address fd01:20:14::4 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 ethernet1.30
 description [VLAN ID = 30] R4 --> R1
 vrf forwarding VRF_DEFAULT
 ipv4 address 10.30.14.4 255.255.255.0
 ipv6 address fd01:30:14::4 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 ethernet2
 no shutdown
 no log-link-change
 exit
!
interface ethernet2.10
 description [VLAN ID = 10] R4 --> R3
 vrf forwarding VRF_ATLAS
 ipv4 address 10.10.43.4 255.255.255.0
 ipv6 address fd01:10:43::4 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] R4 --> R3
 vrf forwarding VRF_CMS
 ipv4 address 10.20.43.4 255.255.255.0
 ipv6 address fd01:20:43::4 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] R4 --> R3
 vrf forwarding VRF_DEFAULT
 ipv4 address 10.30.43.4 255.255.255.0
 ipv6 address fd01:30:43::4 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.20
 description [VLAN ID = 20] R4 --> R44
 vrf forwarding VRF_CMS
 ipv4 address 10.20.44.4 255.255.255.0
 ipv6 address fd01:20:44::4 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 ethernet3.30
 description [VLAN ID = 30] R4 --> R44
 vrf forwarding VRF_DEFAULT
 ipv4 address 10.30.44.4 255.255.255.0
 ipv6 address fd01:30:44::4 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
!
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
