As I can configure following:
I have two peers bgp, a peer sent me full table and other only default route 0.0.0.0/0 with a priority lowest that the other peer. If I want out traffic from as1000 by the secondary peer that is a default route, if the metric and weight in the secondary is 0 ?
I have been thinking and I did configurate following:
ip as-path access-list 100 permit _1000_
route-map as1000 permit 10
match as-path 100
set ip next-hop 10.10.10.1
router bgp 2000
neighbor 18.104.22.168 route-map as1000 in
But I have issue with this configuration, because I when execute "clear bgp all 3000 in" command this filter set but only saved in the table routing the as1000 and others not saved.