cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
629
Views
0
Helpful
1
Replies

Hsrp configuraiton with two default routes

HI

     we started a new branch ,there two link is there one 100mbps and 30 mbps from diffrent vendors. one link is connected to first multilayerswitch

and anoter is connected to second multilayer switch..

in this two switch i want to configure two default route pointing  to our core mulitlayer switchr in datacenter

we want to configure hsrp and ipsla(if wan 100 mbps down, secondary will be up) for that i configure in gns3 ,hsrp work but wan tracking is not working

configuration of swithes

primarymulitalyerswitch(config)#interface vlan 1

                                               ip add 10.10.16.10 255.255.252.0

                                               no sh

                                               standby 2 ip add 10.10.16.1

                                               standby 2 preempt

                                               standby 2 priority 200

                                               exit

                                                ip route 0.0.0.0 0.0.0.0 1.1.1.2(wan)

                                                ip sla monitor 1

                                                type echo protoclol ipicmpecho 50.0.0.1(loopback)

                                                timeout  2000

                                                thersold 2000

                                                frequency 10

                                                ip sla monitor shedule  1 startime now life foerver

                                                track 1 rtr 1 reachibility

                                                 interface valn 1

                                                standyby 2 track 1 decre 150

        secondarymultilayerswitch(config)#interface valn 1

                                                   ip add 10.10.16.20 255.255.252.0 

                                                   no sh

                                                   standby2 ip add 10.10.16.1

                                                   standby2 priority 100

                                                   exit

                                                   ip route 0.0.0.0 0.0.0.0 2.2.2.2(wan)

datacentermultilayerswitch(config)ip route10.10.16.0 255.255.252.0 1.1.1.1(primarymultialyerswitchinterfaceip)

                                                 ip route 10.10.16.0 255.255.252.0 2.2.2.1(secondaymultlayeswitchinterfaceip)

                                                  interface loopbak 0

                                                   ip add 50.0.0.1 255.255.2552.255


if i shoutdown vlan 1 of primary switch anoterworkig fine but if i down wan interface or shutodown loopback its not workign

                                                                                                                                                 thanku

,

1 Reply 1

Abzal
Level 7
Level 7

Hi,

Because there is no HSRP object tracking in your configuration. It is used to reduce priority of active HSRP to make it lower than standby then standby will take over.

Example:

Active HSRP:

ip sla monitor 1

icmp-echo 1.1.1.1

freq 5

ip sla monitor shedule  1 startime now life forever

track 1 rtr 1 reachibility

int vlan 10

ip add 10.0.0.2 255.255.255.0

standby 10 ip 10.0.0.1

standby 10 priority 150

standby 10 preempt

standby 10 track 1 decrement 55

Standby:

int vlan 10

ip add 10.0.0.2 255.255.255.0

standby 10 ip 10.0.0.1

In this example if ISPs IP address 1.1.1.1 is not reachable HSRP tracking will decrement priority to 55 and it will be 95 less than current standby. Because of it standby becomes now active. Preemption option allows to standby HSRP to become active again. By default priority is 100.

http://www.cisco.com/en/US/docs/switches/lan/catalyst3560/software/release/12.2_52_se/configuration/guide/swhsrp.html

Hope it will help.

Best regards,
Abzal
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