cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

Cisco Community Designated VIP Class of 2020

735
Views
0
Helpful
2
Replies
Highlighted
Participant

advertise default route based on HSRP state

I've got two Nexus 7010's running HSRP north bound to a pair of ASA's, and BGP south bound to four 6509's.

Is it possible to advertise default route to BGP neighbor (or prefer it via MED), only if the node is HSRP-active?

Essentially the goal is to create symmetry for inbound/outbound traffic.

Only way I can think of so far is via an EEM script, so that when it sees  HSRP go active via syslog, it would kick off an action to remove ASN prepend,  or reduce MED, and the opposite if HSRP goes standby.

Was wondering if anyone has done something similar w/ a better way.

thx

2 REPLIES 2
Rising star

Re: advertise default route based on HSRP state

I'm not sure but this might work:

When you lose Active HSRP state you will lose the route for Virtual address from the table. You can use conditional BGP advertisement based on presence/abseence of this route.

This method might not work if the HSRP route is not in BGP table.

HTH.

Enthusiast

advertise default route based on HSRP state

Sounds like EEM is your best bet unless your HSRP interfaces are also participating in BGP.

Ven

Ven Taylor
CreatePlease to create content
Content for Community-Ad
FusionCharts will render here