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. And see here for current known issues.

New Member

PRefer Tunnel Route for BGP Route

Hello!

I got a 7500 with BGP running. I want to route packets through a Tunnel that is installed on this machine INSTEAD of sending them to the BGP destination.

i tried host routes... this works

e.g.

ip route 1.2.3.4 255.255.255.255 Tunnel1

This is not sent to bgp anymore.

How can i do this generally?

thanks

2 REPLIES
Hall of Fame Super Silver

Re: PRefer Tunnel Route for BGP Route

Hello,

check with sh ip bgp what is the mask.

let's suppose it is 1.2.3./25

you need

ip route 1.2.3.0 255.255.255.128 tunnel1

Hope to help

Giuseppe

New Member

Re: PRefer Tunnel Route for BGP Route

hi!

i did it with a route-map. because i got so many /24 in the bgp.. they override my default routes.

113
Views
0
Helpful
2
Replies