frr defaults traditional
!
hostname ce4
password zebra
log stdout notifications
log commands
log file bgpd.log

router bgp 5228 vrf ce4-cust2
   no bgp network import-check
   bgp router-id 99.0.0.4
   no bgp ebgp-requires-policy
   neighbor 192.168.2.1 remote-as 5228
   neighbor 192.168.2.1 update-source 192.168.2.2
   neighbor 192.168.2.1 timers 3 10
   address-family ipv4 unicast
     network 99.0.0.4/32
     network 5.4.2.0/24 route-map rm-nh
     network 5.4.3.0/24 route-map rm-nh
     network 6.0.1.0/24 route-map rm-nh
     network 6.0.2.0/24 route-map rm-nh-same
     neighbor 192.168.2.1 activate
 exit-address-family
!
access-list al-any permit any
!
route-map rm-nh permit 10
 match ip address al-any
 set ip next-hop 99.0.0.4
 set local-preference 50
 set metric 200
 set large-community 12:34:56
 set extcommunity rt 89:123
 set community 0:67
!
route-map rm-nh-same permit 10
 match ip address al-any
 set ip next-hop 99.0.0.4
 set local-preference 100
 set metric 100
 set large-community 12:34:14
 set extcommunity rt 89:123
 set community 0:67
!
end
