=== R1 === hostname R1 ip cef interface Loopback0 ip address 10.255.0.1 255.255.255.255 exit interface GigabitEthernet1 ip address 192.0.2.1 255.255.255.252 no shutdown exit interface GigabitEthernet2 ip address 192.0.2.5 255.255.255.252 no shutdown exit router bgp 65001 bgp router-id 10.255.0.1 no bgp default ipv4-unicast neighbor 192.0.2.2 remote-as 65020 neighbor 192.0.2.6 remote-as 65020 address-family ipv4 unicast no auto-summary neighbor 192.0.2.2 activate neighbor 192.0.2.6 activate network 10.255.0.1 mask 255.255.255.255 exit-address-family end === R2 === hostname R2 ip cef interface Loopback0 ip address 10.255.0.2 255.255.255.255 exit interface GigabitEthernet1 ip address 192.0.2.2 255.255.255.252 no shutdown exit interface GigabitEthernet2 ip address 192.0.2.9 255.255.255.252 no shutdown exit interface GigabitEthernet3 ip ospf cost 50 ip address 192.0.2.25 255.255.255.252 no shutdown exit router ospf 1 router-id 10.255.0.2 network 10.255.0.2 0.0.0.0 area 0 passive-interface Loopback0 network 192.0.2.9 0.0.0.0 area 0 network 192.0.2.25 0.0.0.0 area 0 exit router bgp 65020 bgp router-id 10.255.0.2 no bgp default ipv4-unicast neighbor 192.0.2.1 remote-as 65001 neighbor 10.255.0.5 remote-as 65020 neighbor 10.255.0.5 update-source Loopback0 address-family ipv4 unicast no auto-summary neighbor 192.0.2.1 activate neighbor 10.255.0.5 activate neighbor 10.255.0.5 next-hop-self exit-address-family end === R3 === hostname R3 ip cef interface Loopback0 ip address 10.255.0.3 255.255.255.255 exit interface GigabitEthernet1 ip address 192.0.2.6 255.255.255.252 no shutdown exit interface GigabitEthernet2 ip address 192.0.2.13 255.255.255.252 no shutdown exit interface GigabitEthernet3 ip ospf cost 50 ip address 192.0.2.29 255.255.255.252 no shutdown exit router ospf 1 router-id 10.255.0.3 network 10.255.0.3 0.0.0.0 area 0 passive-interface Loopback0 network 192.0.2.13 0.0.0.0 area 0 network 192.0.2.29 0.0.0.0 area 0 exit router bgp 65020 bgp router-id 10.255.0.3 no bgp default ipv4-unicast neighbor 192.0.2.5 remote-as 65001 neighbor 10.255.0.5 remote-as 65020 neighbor 10.255.0.5 update-source Loopback0 address-family ipv4 unicast no auto-summary neighbor 192.0.2.5 activate neighbor 10.255.0.5 activate neighbor 10.255.0.5 next-hop-self exit-address-family end === R4 === hostname R4 ip cef interface Loopback0 ip address 10.255.0.4 255.255.255.255 exit interface GigabitEthernet1 ip address 192.0.2.10 255.255.255.252 no shutdown exit interface GigabitEthernet2 ip address 192.0.2.14 255.255.255.252 no shutdown exit interface GigabitEthernet3 ip address 192.0.2.17 255.255.255.252 no shutdown exit interface GigabitEthernet4 ip address 192.0.2.21 255.255.255.252 no shutdown exit router ospf 1 router-id 10.255.0.4 network 10.255.0.4 0.0.0.0 area 0 passive-interface Loopback0 network 192.0.2.10 0.0.0.0 area 0 network 192.0.2.14 0.0.0.0 area 0 network 192.0.2.17 0.0.0.0 area 0 network 192.0.2.21 0.0.0.0 area 0 exit router bgp 65020 bgp router-id 10.255.0.4 no bgp default ipv4-unicast neighbor 10.255.0.5 remote-as 65020 neighbor 10.255.0.5 update-source Loopback0 address-family ipv4 unicast no auto-summary neighbor 10.255.0.5 activate exit-address-family end === R5 === hostname R5 ip cef interface Loopback0 ip address 10.255.0.5 255.255.255.255 exit interface GigabitEthernet1 ip ospf cost 50 ip address 192.0.2.26 255.255.255.252 no shutdown exit interface GigabitEthernet2 ip ospf cost 50 ip address 192.0.2.30 255.255.255.252 no shutdown exit interface GigabitEthernet3 ip ospf cost 50 ip address 192.0.2.33 255.255.255.252 no shutdown exit interface GigabitEthernet4 ip ospf cost 50 ip address 192.0.2.37 255.255.255.252 no shutdown exit router ospf 1 router-id 10.255.0.5 network 10.255.0.5 0.0.0.0 area 0 passive-interface Loopback0 network 192.0.2.26 0.0.0.0 area 0 network 192.0.2.30 0.0.0.0 area 0 network 192.0.2.33 0.0.0.0 area 0 network 192.0.2.37 0.0.0.0 area 0 exit router bgp 65020 bgp router-id 10.255.0.5 no bgp default ipv4-unicast neighbor 10.255.0.2 remote-as 65020 neighbor 10.255.0.2 update-source Loopback0 neighbor 10.255.0.3 remote-as 65020 neighbor 10.255.0.3 update-source Loopback0 neighbor 10.255.0.4 remote-as 65020 neighbor 10.255.0.4 update-source Loopback0 neighbor 10.255.0.6 remote-as 65020 neighbor 10.255.0.6 update-source Loopback0 neighbor 10.255.0.7 remote-as 65020 neighbor 10.255.0.7 update-source Loopback0 address-family ipv4 unicast no auto-summary neighbor 10.255.0.2 activate neighbor 10.255.0.2 route-reflector-client neighbor 10.255.0.3 activate neighbor 10.255.0.3 route-reflector-client neighbor 10.255.0.4 activate neighbor 10.255.0.4 route-reflector-client neighbor 10.255.0.6 activate neighbor 10.255.0.6 route-reflector-client neighbor 10.255.0.7 activate neighbor 10.255.0.7 route-reflector-client exit-address-family end === R6 === hostname R6 ip cef interface Loopback0 ip address 10.255.0.6 255.255.255.255 exit interface GigabitEthernet1 ip address 192.0.2.18 255.255.255.252 no shutdown exit interface GigabitEthernet2 ip ospf cost 50 ip address 192.0.2.34 255.255.255.252 no shutdown exit interface GigabitEthernet3 ip address 192.0.2.41 255.255.255.252 no shutdown exit router ospf 1 router-id 10.255.0.6 network 10.255.0.6 0.0.0.0 area 0 passive-interface Loopback0 network 192.0.2.18 0.0.0.0 area 0 network 192.0.2.34 0.0.0.0 area 0 exit router bgp 65020 bgp router-id 10.255.0.6 no bgp default ipv4-unicast neighbor 10.255.0.5 remote-as 65020 neighbor 10.255.0.5 update-source Loopback0 neighbor 192.0.2.42 remote-as 65008 address-family ipv4 unicast no auto-summary neighbor 10.255.0.5 activate neighbor 10.255.0.5 next-hop-self neighbor 192.0.2.42 activate exit-address-family end === R7 === hostname R7 ip cef interface Loopback0 ip address 10.255.0.7 255.255.255.255 exit interface GigabitEthernet1 ip address 192.0.2.22 255.255.255.252 no shutdown exit interface GigabitEthernet2 ip ospf cost 50 ip address 192.0.2.38 255.255.255.252 no shutdown exit interface GigabitEthernet3 ip address 192.0.2.45 255.255.255.252 no shutdown exit router ospf 1 router-id 10.255.0.7 network 10.255.0.7 0.0.0.0 area 0 passive-interface Loopback0 network 192.0.2.22 0.0.0.0 area 0 network 192.0.2.38 0.0.0.0 area 0 exit router bgp 65020 bgp router-id 10.255.0.7 no bgp default ipv4-unicast neighbor 10.255.0.5 remote-as 65020 neighbor 10.255.0.5 update-source Loopback0 neighbor 192.0.2.46 remote-as 65008 address-family ipv4 unicast no auto-summary neighbor 10.255.0.5 activate neighbor 10.255.0.5 next-hop-self neighbor 192.0.2.46 activate exit-address-family end === R8 === hostname R8 ip cef interface Loopback0 ip address 10.255.0.8 255.255.255.255 exit interface Loopback10 ip address 198.51.100.8 255.255.255.255 exit interface Loopback11 ip address 198.51.100.88 255.255.255.255 exit interface GigabitEthernet1 ip address 192.0.2.42 255.255.255.252 no shutdown exit interface GigabitEthernet2 ip address 192.0.2.46 255.255.255.252 no shutdown exit router bgp 65008 bgp router-id 10.255.0.8 no bgp default ipv4-unicast neighbor 192.0.2.41 remote-as 65020 neighbor 192.0.2.45 remote-as 65020 address-family ipv4 unicast no auto-summary neighbor 192.0.2.41 activate neighbor 192.0.2.45 activate network 198.51.100.8 mask 255.255.255.255 network 198.51.100.88 mask 255.255.255.255 exit-address-family end