!
router bgp 65001
  neighbor 192.168.255.1 remote-as 65001
  neighbor 192.168.255.1 timers 3 10
  address-family ipv4 unicast
    neighbor 192.168.255.1 route-map RM in
  exit-address-family
  !
!
route-map RM permit 10
 set weight 100
exit
!
route-map RM permit 20
 set metric 20
exit
!
