cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3377
Views
0
Helpful
10
Replies

HSRP and Packer Tracer

kevin ponzon
Level 1
Level 1

Hi friends, i'm actually learning about HSRP protocol.

I need to know in packet tracer:

-How to reboot HSRP process in a HSRP group ?

-How to force one router to be an active router in a HSRP group ( i've already tried to change the priority but it's doesn't work) ?

-Why if i write that  Router(config-if)#standby 1 track Serial 0/1, and Serial 0/0 change status to down , it's doesn't decrease by ten the priority ?

There's my pkt file if you need.

Thanks for help.

Kevin

2 Accepted Solutions

Accepted Solutions

Diana Karolina Rojas
Cisco Employee
Cisco Employee

-How to force one router to be an active router in a HSRP group ( i've already tried to change the priority but it's doesn't work)?

A: You can use el command standby 1 preetemp in the router you want to be the active. If you do not use the preempt standby command in the configuration of a router, that router will not become the active router, even if its priority is higher than that of the remaining routers.

-Why if i write that  Router(config-if)#standby 1 track Serial 0/1, and Serial 0/0 change status to down , it's doesn't decrease by ten the priority ?

A: No, the priority only changes when the interface Serial0/1 goes down and when goes back to up state, because this interface has the track Serial0/0 hasn't. 

--Remember mark and rate useful answers.---

Regards,

View solution in original post

Here is the simulation, corrected.

---Remember mark and rate useful answers.---

Regards,

View solution in original post

10 Replies 10

Diana Karolina Rojas
Cisco Employee
Cisco Employee

-How to force one router to be an active router in a HSRP group ( i've already tried to change the priority but it's doesn't work)?

A: You can use el command standby 1 preetemp in the router you want to be the active. If you do not use the preempt standby command in the configuration of a router, that router will not become the active router, even if its priority is higher than that of the remaining routers.

-Why if i write that  Router(config-if)#standby 1 track Serial 0/1, and Serial 0/0 change status to down , it's doesn't decrease by ten the priority ?

A: No, the priority only changes when the interface Serial0/1 goes down and when goes back to up state, because this interface has the track Serial0/0 hasn't. 

--Remember mark and rate useful answers.---

Regards,

Thanks for your help ,

Actually i've changed the track for Serial 0/0 by command: Router(config-if)#standby 1 track Serial 0/0

and when Serial 0/0 goes down it's decrease by ten the priority !

but even with this decrease, the router stays like active router instead standby router !

Maybe i can fix that by restart hsrp process but i don't know how !

Have you added preempt on both routers as already suggested. Even if the standby router now has a higher priority it won't take over unless you have added that command to your HSRP configuration.

Jon

i'll try this.

I've forgot this input on this on both routers 

Hello Kevin!

What priority did you configure in your routers? are you using the default priority on both? 

Regards,

Hello anaid

Actually yes i've used the default priority on both routers.

Here is the simulation, corrected.

---Remember mark and rate useful answers.---

Regards,

Hi, sorry i was travelling , i've not tested your corrected simulation,

today i've tried it but it doesn't works, because the file is incompatble with the last version of packet tracer, can you try to send again another simulation made with the last version of packet tracer please ?

Kevin

Hello!

It's strange because I have the last version of packet tracer and I only modified your own simulation.

Here are the configuration of your routers (corrected):

ROUTER2

Router#show run

Building configuration...

Current configuration : 1224 bytes

!

version 12.2

no service timestamps log datetime msec

no service timestamps debug datetime msec

no service password-encryption

!

hostname Router

!

!

!

!

!

!

!

!

no ip cef

no ipv6 cef

!

!

!

!

!

!

!

!

!

!

!

!

!

!

!

!

!

!

interface FastEthernet0/0

ip address 192.168.0.254 255.255.255.0

duplex auto

speed auto

standby version 2

standby 1 ip 192.168.0.250

standby 1 priority 105

standby 1 preempt

standby 1 track Serial0/0

!

interface FastEthernet0/1

no ip address

duplex auto

speed auto

shutdown

!

interface Serial0/0

ip address 172.16.0.14 255.255.255.252

!

interface Serial0/1

no ip address

clock rate 2000000

shutdown

!

interface Serial0/2

no ip address

clock rate 2000000

shutdown

!

interface Serial0/3

no ip address

clock rate 2000000

shutdown

!

interface FastEthernet1/0

no ip address

duplex auto

speed auto

shutdown

!

interface FastEthernet1/1

no ip address

duplex auto

speed auto

shutdown

!

router ospf 1

log-adjacency-changes

passive-interface FastEthernet0/0

network 192.168.0.0 0.0.0.255 area 0

network 172.16.0.12 0.0.0.3 area 0

!

ip classless

ip route 0.0.0.0 0.0.0.0 172.16.0.13

!

ip flow-export version 9

!

!

!

!

!

!

!

line con 0

!

line aux 0

!

line vty 0 4

login

!

!

!

end

ROUTER3:

Router#SHOW RUN

Building configuration...

Current configuration : 1170 bytes

!

version 12.2

no service timestamps log datetime msec

no service timestamps debug datetime msec

no service password-encryption

!

hostname Router

!

!

!

!

!

!

!

!

ip cef

no ipv6 cef

!

!

!

!

!

!

!

!

!

!

!

!

!

!

!

!

!

!

interface FastEthernet0/0

ip address 192.168.0.253 255.255.255.0

duplex auto

speed auto

standby version 2

standby 1 ip 192.168.0.250

standby 1 preempt

!

interface FastEthernet0/1

no ip address

duplex auto

speed auto

shutdown

!

interface Serial0/0

no ip address

clock rate 2000000

shutdown

!

interface Serial0/1

ip address 172.16.0.18 255.255.255.252

!

interface Serial0/2

no ip address

clock rate 2000000

shutdown

!

interface Serial0/3

no ip address

clock rate 2000000

shutdown

!

interface FastEthernet1/0

no ip address

duplex auto

speed auto

shutdown

!

interface FastEthernet1/1

no ip address

duplex auto

speed auto

shutdown

!

router ospf 1

log-adjacency-changes

passive-interface FastEthernet0/0

network 192.168.0.0 0.0.0.255 area 0

network 172.16.0.16 0.0.0.3 area 0

!

ip classless

ip route 0.0.0.0 0.0.0.0 172.16.0.17

!

ip flow-export version 9

!

!

!

!

!

!

!

line con 0

!

line aux 0

!

line vty 0 4

login

!

!

!

end

---Remember mark and rate useful answers.---

Regards,

Hi,

indeed it's really strange, but thanks for your help i'll try that , i will send you a feedback when i've finish to test.

Regards.

Kevin