!
hostname r2
!
interface r2-eth0
    ip address 192.16.2.2/24
!
interface r2-eth1
    ip address 192.168.199.2/24
!
router bgp 65024
 timers bgp 1 10
 bgp router-id 1.1.1.2
 no bgp ebgp-requires-policy
 neighbor 192.16.2.1 remote-as 65001
 !
 address-family ipv4 unicast
  network 192.168.199.0/24
  neighbor 192.16.2.1 route-map set-med out
 exit-address-family
!
route-map set-med permit 10
 set metric 200
!
