BGP Redistribute connected not working

Hi,

Please let me know if there is an error in my configuration, I redistribute connected on BGP with additional route-map but the prefix/ip connected via PPPoE interface is not advertised to peer bgp.

set policy route-map EXPORT-INTERNAL rule 10 action 'permit'
set policy route-map EXPORT-INTERNAL rule 10 match ip address prefix-list 'EXPORT-COMMUNITY-1111'
set policy route-map EXPORT-INTERNAL rule 10 set community '55666:1111'
set policy route-map EXPORT-INTERNAL rule 10 set local-preference '110'
set policy route-map EXPORT-INTERNAL rule 9999 action 'deny'
set protocols bgp XXXXXX address-family ipv4-unicast redistribute connected route-map 'EXPORT-INTERNAL'
set protocols bgp XXXXXX address-family ipv4-unicast redistribute static route-map 'EXPORT-INTERNAL'

set protocols bgp XXXXXX neighbor xxx.xxx.54.129 address-family ipv4-unicast nexthop-self
set protocols bgp XXXXXX neighbor xxx.xxx.54.129 address-family ipv4-unicast route-map export 'EXPORT-INTERNAL'
set protocols bgp XXXXXX neighbor xxx.xxx.54.129 address-family ipv4-unicast route-map import 'IMPORT-BR1'
set protocols bgp XXXXXX neighbor xxx.xxx.54.129 address-family ipv4-unicast route-reflector-client
set protocols bgp XXXXXX neighbor xxx.xxx.54.129 address-family ipv4-unicast soft-reconfiguration inbound
set protocols bgp XXXXXX neighbor xxx.xxx.54.129 description 'BR1'
set protocols bgp XXXXXX neighbor xxx.xxx.54.129 remote-as '55666'
set protocols bgp XXXXXX neighbor xxx.xxx.54.129 update-source 'xxx.xxx.54.162'
najib@02.NEPTUNUS:~$ show pppoe-server sessions 
ifname |         username         |      ip       | ip6 | ip6-dp |    calling-sid    | rate-limit | state  |  uptime  | rx-bytes | tx-bytes 
--------+--------------------------+---------------+-----+--------+-------------------+------------+--------+----------+----------+----------
 ppp0   | 01.0281-01.gmedia.net.id | 111.68.25.242 |     |        | ec:f0:fe:87:df:f0 |            | active | 00:00:06 | 116 B    | 206 B

najib@02.NEPTUNUS:~$ show ip bgp neighbors 119.2.54.129 advertised-routes 
BGP table version is 235571, local router ID is 10.251.251.110, vrf id 0
Default local pref 100, local AS 55666
Status codes:  s suppressed, d damped, h history, * valid, > best, = multipath,
               i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes:  i - IGP, e - EGP, ? - incomplete

   Network          Next Hop            Metric LocPrf Weight Path
*> 111.68.26.239/32 0.0.0.0                  0    110  32768 ?
*> 111.68.29.112/32 0.0.0.0                  0    110  32768 ?
*> 111.68.29.113/32 0.0.0.0                  0    110  32768 ?
*> 111.68.29.114/32 0.0.0.0                  0    110  32768 ?
*> 111.68.29.115/32 0.0.0.0                  0    110  32768 ?
*> 111.68.29.116/32 0.0.0.0                  0    110  32768 ?
*> 111.68.29.117/32 0.0.0.0                  0    110  32768 ?
*> 111.68.29.118/32 0.0.0.0                  0    110  32768 ?
*> 111.68.29.119/32 0.0.0.0                  0    110  32768 ?
*> 111.68.29.204/30 0.0.0.0                  0    110  32768 ?
*> 116.254.119.128/32
                    0.0.0.0                  0    110  32768 ?
*> 116.254.119.129/32
                    0.0.0.0                  0    110  32768 ?
*> 116.254.119.130/32
                    0.0.0.0                  0    110  32768 ?
*> 116.254.119.131/32
                    0.0.0.0                  0    110  32768 ?
*> 116.254.119.132/32
                    0.0.0.0                  0    110  32768 ?
*> 116.254.119.133/32
                    0.0.0.0                  0    110  32768 ?
*> 116.254.119.134/32
                    0.0.0.0                  0    110  32768 ?
*> 116.254.119.135/32
                    0.0.0.0                  0    110  32768 ?
*> 119.2.52.252/32  0.0.0.0                  0    110  32768 i

Total number of prefixes 19

Thanks.

I don’t see rules for prefix-list.
Can you share it? Is address 111.68.25.242 exists/match in the prefix-list rule?

nice info bro, I forgot to add prefix-list.

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