cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
741
Views
0
Helpful
3
Replies

Possible or not: redistribute only the static routes where nexthop is connected

Samuel De Wever
Level 1
Level 1

Dear,


I have an 'strange' question .
We have an router with a lot of connected routes (PPPoE Sessions)

Too many of this connected routes, we have static routes in place as well.

I want to have a backup router which takes over all traffic when one fails. Since all our connected routes are distributed in BGP, the backup router is also receiving the connected /32 routes from the other router and start distributing his static routes as well .

I was wondering if their is a way that I only redistribute the static routes where the next hop ip is directly connected on the router. Be aware that our connected interfaces are virtual interfaces so no possibility to point to a fixed interface in the route-map.

3 Replies 3

Steven Clinton
Level 1
Level 1

In this scenario, when you say connected routes, are you referring to ppp host routes?

Sent from Cisco Technical Support iPhone App

Velimir Filipov
Level 1
Level 1

Why dont you just increase the MED of the announces coming from your backup router, so other routers would prefer it only when your primary is down.

Also you could set the static routes on your backup router with higher administrative distance so they wont be active while you receive them from your main router via BGP.

Steven Clinton
Level 1
Level 1

If all of those /32 are on a common subnet of the exiting interface and the remote connection, then you can remove the /32 routes all together using:

no peer neighbor-route

On your virtual template, but if there host routes are not on a known subnet, then the remotes will be unreachable using this command.

Sent from Cisco Technical Support iPhone App