Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 885
  • Last Modified:

HSRP Config

I am looking to alter our HSRP config and need some help. We have 2 connections, ISP A which has 3 T's and is our main connection and the backup, ISP B with 1 T...Basically i want to monitor each of the 3 T's individually and when each one goes down, knock off 10 from the priority and when all 3 are down, kick over to the backup..

Router_ISP_A
standby 1 ip 1.2.3.4
standby 1 priority 111
standby 1 preempt
standby 1 track Serial 0/0
standby 1 track Serial 0/1
standby 1 track Serial 0/2

Router_ISP_B
standby 1 ip 1.2.3.4
standby 1 priority 90
standby 1 preempt
standby 1 track Serial 0/0

Should that do the trick?
0
akalbfell
Asked:
akalbfell
  • 3
  • 2
  • 2
1 Solution
 
tvman_odCommented:
I would do it using routing protocols. Do you have static default route to your ISP or BGP?

Any way, you can originate default route from both routers and assign very high metrica value to the secondary, so the routing protocol will not use it until the primary is completely down. HSRP is good for hardware redundancy.
0
 
akalbfellAuthor Commented:
BGP is setup already, config is below for that...

Router_ISP_A
router bgp 12345
 no synchronization
 bgp log-neighbor-changes
 network x.x.38.0 mask 255.255.255.0
 network x.x.96.0
 neighbor x.x.23.89 remote-as 01
 neighbor x.x.23.89 prefix-list ABC in
 no auto-summary


Router_ISP_B
router bgp 12345
 no synchronization
 bgp log-neighbor-changes
 network x.x.38.0 mask 255.255.255.0
 network x.x.96.0
 neighbor x.x.128.177 remote-as 02
 neighbor x.x.128.177 prefix-list ABC in
 no auto-summary
0
 
tvman_odCommented:
Good, Actually you don't need to do anything. BGP will take care about your connection, you will need to monitor your internal interface only in case if one of the routers fails. BGP will balanse load if you loose 2 of 3 T1s on the first and you will have a half of  packets going through the secondary. If it's acceptable. if not here is an article how to do it using your original approach

http://www.cisco.com/en/US/tech/tk365/technologies_configuration_example09186a0080093f2c.shtml
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
Don JohnstonInstructorCommented:
tvman_od: I think you're missing the intent. HSRP doesn't provide path failover, it provides gateway failover.

akalbfell: You're close. The default reduction in priority for interface tracking is 10. With a difference of priorities of 21, the other router won't promote itself to active. You'll either need to use a priority of 99 on Router A, or use the higher deduct on the track statement.

standby 1 track s0/0 priority 22

Keep in mind that this will only promote the standby if the interface goes down. A better solution would be to use object tracking.

http://www.cisco.com/en/US/products/hw/switches/ps5528/products_configuration_guide_chapter09186a00808a995e.html
0
 
akalbfellAuthor Commented:
I will look into the object tracking...is there a way to decrease the priority by 10 each time an individual T goes down? basically this all comes about because when i came into this situation, the 2nd router was unplugged because at least a few times a day the HSRP would cause the backup router to take over even though the main T's were working fine. The guy said hes pretty sure it was a result of the main T's hitting 99% usage..anyhow, if somehow one of the 3 main T's goes down 2 are operational thats still better the the one backup so i dont want the failover to occur..the only situation i would want the backup connection to be the active one is if all 3 T's are down or the router fails..
also as of right now HSRP is tracking the MFR1.500 which i think is causing some of the problem also
0
 
Don JohnstonInstructorCommented:
Oh. I see what you're saying. Yes, your config will decrease the priority by 10 for each interface that goes down.
0
 
tvman_odCommented:
I would try to use all 4 T1s in production and let BGP to use all links. Use HSRP for hardware redundancy only. It will create much less headacke.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now