[BGP] Re-advertise route by bgp community

Hi,

I have a little problem with BGP,

I received the full route prefix with bgp_community 1000.
I tried to re-advertise to other peers with a community of 1000 but they weren’t advertised

following the configuration on my router

vyos @ vyos: ~ $ show ip bgp 8.8.8.8
BGP routing table entry for 8.8.8.0/24
Paths: (1 available, no best path)
Not advertised to any peer
7713 15169, (Received from a RR-client)
49.128.177.69 (inaccessible) from 111.68.29.205 (10.251.251.202)
Origin IGP, localpref 500, invalid, internal
Community: 55666: 1000 55666: 7713 55666: 55666
Originator: 10.251.251.202, Cluster list: 10.251.251.108 10.251.251.1 10.251.251.201
Last update: Tue May 18 05:32:09 2021

  1. set the policy community-list 1000 rule 13 action ‘permit’
  2. set policy community-list 1000 rule 13 regex ‘55666: 1000’
  3. set policy route-map openwrt-ex rule 10 action ‘permit’
  4. set policy route-map openwrt-ex rule 10 match community community-list ‘1000’
  5. set protocols bgp 55666 neighbor 192.168.11.225 address-family ipv4-unicast nexthop-self
  6. set protocols bgp 55666 neighbor 192.168.11.225 address-family ipv4-unicast route-map export ‘openwrt-ex’
  7. set protocols bgp 55666 neighbor 192.168.11.225 address-family ipv4-unicast route-reflector-client
  8. set protocols bgp 55666 neighbor 192.168.11.225 address-family ipv4-unicast soft-reconfiguration inbound
  9. set protocols bgp 55666 neighbor 192.168.11.225 remote-as ‘55666’

vyos @ vyos: ~ show ip bgp neighbors 192.168.11.225 advertised-routes vyos @ vyos: ~

It seems next-hop unreachable.
show ip route 8.8.8.8

thanks for your response,

after I checked it turned out that there was an error in the bgp peer next hop.

now it’s working

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.