router bgp 65002 no bgp ebgp-requires-policy neighbor 192.168.1.1 remote-as external address-family ipv4 unicast redistribute connected neighbor 192.168.1.1 route-map r1 out exit-address-family ! route-map r1 permit 10 set community 65002:1 65002:2 set large-community 65002:1:1 65002:2:1 !