R18#show run
Building configuration...

Current configuration : 2073 bytes
!
! Last configuration change at 12:40:12 UTC Sun Jun 14 2020
!
version 15.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R18
!
boot-start-marker
boot-end-marker
!
aqm-register-fnf
!
!
no aaa new-model
mmi polling-interval 60
no mmi auto-configure
no mmi pvc
mmi snmp-timeout 180
no ip icmp rate-limit unreachable
!
!
!
!
!
!
!
!

!
!
!
!
no ip domain lookup
ip cef
no ipv6 cef
!
multilink bundle-name authenticated
!
!
!
!
!
!
!
!
!
redundancy
!
!
ip tcp synwait-time 5
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Loopback1
 ip address 18.18.18.18 255.255.255.255
 ip ospf 1 area 0
!
interface Loopback10
 ip address 120.18.1.1 255.255.255.255
!
interface Loopback20
 ip address 120.18.2.1 255.255.255.255
!
interface Ethernet0/0
 no ip address
!
interface Ethernet0/0.1618
 encapsulation dot1Q 1618
 ip address 20.16.18.18 255.255.255.0
!
interface Ethernet0/0.1718
 encapsulation dot1Q 1718
 ip address 20.17.18.18 255.255.255.0
!
interface Ethernet0/0.1819
 encapsulation dot1Q 1819
 ip address 200.18.19.18 255.255.255.0
!
interface Ethernet0/1
 no ip address
 shutdown
!
interface Ethernet0/2
 no ip address
 shutdown
!
interface Ethernet0/3
 no ip address
 shutdown
!
router ospf 1
 router-id 18.18.18.18
 network 20.0.0.0 0.255.255.255 area 0
!
router bgp 200
 bgp router-id 18.18.18.18
 bgp log-neighbor-changes
 network 120.18.1.1 mask 255.255.255.255
 network 120.18.2.1 mask 255.255.255.255
 neighbor 16.16.16.16 remote-as 200
 neighbor 16.16.16.16 update-source Loopback1
 neighbor 16.16.16.16 next-hop-self
 neighbor 17.17.17.17 remote-as 200
 neighbor 17.17.17.17 update-source Loopback1
 neighbor 17.17.17.17 next-hop-self
 neighbor 200.18.19.19 remote-as 100
!
ip forward-protocol nd
!
!
no ip http server
no ip http secure-server
!
!
!
!
control-plane
!
!
!
!
!
!
!
alias exec c config terminal
!
line con 0
 exec-timeout 0 0
 privilege level 15
 logging synchronous
line aux 0
 exec-timeout 0 0
 privilege level 15
 logging synchronous
line vty 0 4
 login
 transport input none
!
!
end

R18#