!
!debug bgp updates
!
router bgp 65002
 no bgp ebgp-requires-policy
 neighbor 192.168.0.1 remote-as external
 neighbor 192.168.0.1 timers 1 3
 neighbor 192.168.0.1 timers connect 1
 neighbor 192.168.1.3 remote-as external
 neighbor 192.168.1.3 timers 1 3
 neighbor 192.168.1.3 timers connect 1
 address-family ipv4
  neighbor 192.168.0.1 route-map r1 in
  neighbor 192.168.0.1 soft-reconfiguration inbound
 exit-address-family
!
bgp community-list 1 seq 5 permit 65001:1 65001:2
bgp community-list 1 seq 10 permit 65001:3
!
route-map r1 deny 10
 match community 1
route-map r1 permit 20
exit
!
