cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
222
Views
0
Helpful
1
Replies

Route-map filter

server-online
Level 1
Level 1

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

1 Reply 1

Giuseppe Larosa
Hall of Fame
Hall of Fame

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

Review Cisco Networking products for a $25 gift card