cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1110
Views
0
Helpful
5
Replies

Route Redundancy via HSRP over BGP cloud

dedra_live
Level 1
Level 1

Hello,

Please find attached the site to site connectivity diagram over MPLS L3.

If the HSRP is configured on both sites at the router inside interface, how can the routers be configured in a way that if an active link on the other or local site goes down, how will the routes get converged in a BGP cloud. The route redundancy should be active passive and not active active.

Thanks.

5 Replies 5

milan.kulik
Level 10
Level 10

Hi,

you can configure one of the routers on the site as primary - advertising the site prefixes to the backbone with better BGP attributes (lower MED, e.g., or the secondary router could prepend the AS number several times).

Then you can configure HSRP on the primary router to track the status of the WAN interface and to decrement HSRP priority on the LAN interface in a case the tracked WAN interface goes down.

(You could even configure some more sophisticated tracking like checking the PE router reachability, e.g., but WAN interface status tracking is the easiest one.)

HTH,

Milan

How can you track when the WAN interface is Ethernet !!!

In that case, you need to find something more sophisticated to track.

Like one specific route received from a BGP neighbor, or something else depending on your network.

See  http://www.cisco.com/en/US/customer/docs/ios/ipapp/configuration/guide/ipapp_eot.html#wp1054818

or http://www.cisco.com/en/US/docs/ios/ipapp/configuration/guide/ipapp_eot.pdf

for details.

HTH,

Milan

Hi Milan,

Could you please provide a configuration example for the following

"you can configure one of the routers on the site as primary - advertising the site prefixes to the backbone with better BGP attributes (lower MED)"

Thanks.

Hi,

you can use:

router bgp xxx

nei yyy route-map bgp_out out

Where

route-map bgp_out permit 10

set metric 10

on your primary router

while

route-map bgp_out permit 10

set metric 100

on your secondary router.

This way your primary router will advertise the prefixes with MED=10  to the backbone while your secondary router will advertise the same prefixes with a worse MED=100.

Or you can use

route-map bgp_out permit 10

set  as-path prepend xxx xxx xxx xxx xxx

on your secondary router which will then advertise the prefixes with a longer AS_PATH.

HTH,

Milan

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card