Route-map filter

Unanswered Question
Jun 20th, 2009

Hello,

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 20.20.20.1 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.

Thank you,

Best Regards

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Giuseppe Larosa Sat, 06/20/2009 - 12:04

Hello Luis,

you need to add a second empty route-map clause:

route-map as1000 permit 20

because there is an implicit deny any at the end of the route-map as in an IP ACL.

Hope to help

Giuseppe

Actions

This Discussion