Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Route-map filter

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
Hall of Fame Super Silver

Re: Route-map filter

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

107
Views
0
Helpful
1
Replies