Home > HSRP Questions

HSRP Questions

January 28th, 2012 in SWITCH 642-813 Go to comments

Here you will find answers to Hot Standby Router Protocol (HSRP) Questions

Question 1

Which protocol specified by RFC 2281 provides network redundancy for IP networks, ensuring that user traffic immediately and transparently recovers from first-hop failures in network edge devices or access circuits?

A. ICMP
B. IRDP
C. HSRP
D. STP


Answer: C

Explanation

HSRP is a Cisco-proprietary protocol developed to allow several routers or multilayer switches to appear as a single gateway IP address. This protocol is described in RFC 2281.

Question 2

Which of the following HSRP router states does an active router enter when it is preempted by a higher priority router?

A. active
B. speak
C. learn
D. listen
E. init
F. standby


Answer: B

Explanation

First we should review all the HSRP States:

State Description
Initial This is the beginning state. It indicates HSRP is not running. It happens when the configuration changes or the interface is first turned on
Listen The router knows both IP and MAC address of the virtual router but it is not the active or standby router. For example, if there are 3 routers in HSRP group, the router which is not in active or standby state will remain in listen state.
Speak The router sends periodic HSRP hellos and participates in the election of the active or standby router.
Standby In this state, the router monitors hellos from the active router and it will take the active state when the current active router fails (no packets heard from active router)
Active The router forwards packets that are sent to the HSRP group. The router also sends periodic hello messages

Now let’s take an example of a router passing through these states. Suppose there are 2 routers A and B in the network; router A is turned on first. It enters the initial state. Then it moves to listen state in which it tries to hear if there are already active or standby routers for this group. After learning no one take the active or standby state, it determines to take part in the election by moving to speak state. Now it starts sending hello messages containing its priority. These messages are sent to the multicast address 224.0.0.2 (which can be heard by all members in that group). When it does not hear a hello message with a higher priority it assumes the role of active router and moves to active state. In this state, it continues sending out periodic hello messages.

Now router B is turned on. It also goes through initial and listen state. In listen state, it learns that router A has been already the active router and no other router is taking standby role so it enters speak state to compete for the standby router -> it promotes itself as standby router.

Now to our main question! We want router B to become active router so we set a higher priority number than the priority of A and ask router B to take over the role of active router (with the preempt command). Now router A will fall back to the speak state to compete for active or standby state -> it becomes standby router because its priority is now lower than that of router A. (Therefore answer B is correct).

Note: Suppose router A is in active state while router B is in standby state. If router B does not hear hello messages from router A within the holdtime, router B goes into speak state to announce its priority to all HSRP members and compete for the active state. But if at some time it receives a message from the active router that has a lower priority than its priority (because the administrator change the priority in either router), it can take over the active role by sending out a hello packet with parameters indicating it wants to take over the active router. This is called a coup hello message.

(Reference and good resource: http://www.cisco.com/en/US/tech/tk648/tk362/technologies_tech_note09186a0080094a91.shtml)

Question 3

Which three statements are true of a default HSRP configuration? (Choose three)

A. The Standby hello time is 2 seconds.
B. Two HSRP groups are configured.
C. The Standby track interface priority decrement is 10.
D. The Standby hold time is 10 seconds
E. The Standby priority is 100.
F. The Standby delay is 3 seconds.


Answer: C D E

Explanation

The table below shows the default values of popular HSRP parameters:

Feature Default Setting
Standby group number 0
Standby MAC address System assigned as: 0000.0c07.acXX, where XX is the HSRP group number
Standby priority 100
Standby delay 0 (no delay)
Standby track interface priority 10
Standby hello time 3 seconds
Standby holdtime 10 seconds

Note:

* Standby delay: If router A is the HSRP active router and then loses a link, which causes it to become standby router, and then the link comes back, the delay command causes router A to wait before it becomes active again. For example, with the “standby preempt delay minimum 30” command, it waits for 30 seconds for the router to become active.

* Standby track: For example, consider this configuration:
standby priority 150
standby track serial 0

An HSRP priority of 150 is configured with the standby priority command and HSRP is configured to track the state of interface Serial0. Because no decrement value is specified in the standby track command, the HSRP priority is decremented by the default value of 10 when the tracked interface goes down.

(Reference: http://www.cisco.com/en/US/docs/switches/lan/catalyst3550/software/release/12.1_12c_ea1/configuration/guide/swhsrp.html)

Question 4

hostname Switch1
interface Vlan10
ip address 172.16.10.32 255.255.255.0
no ip redirects
standby 1 ip 172.16.10.110
standby 1 timers 1 5
standby 1 priority 130
hostname Switch2
interface Vlan10
ip address 172.16.10.33 255.255.255.0
no ip redirects
standby 1 ip 172.16.10.110
standby 1 timers 1 5
standby 1 priority 120

HSRP was implemented and configured on two switches while scheduled network maintenance was performed.
After the two switches have finished rebooting, you notice via show commands that Switch2 is the HSRP active router. Which two items are most likely the cause of Switch1 not becoming the active router? (Choose two)

A. booting delays
B. standby group number does not match VLAN number
C. IP addressing is incorrect
D. premption is disabled
E. incorrect standby timers
F. IP redirect is disabled


Answer: A D

Explanation

When two routers are turned on at the same time, the router completes booting process first will take the active role. Without the “preempt” configured, even a new router with a higher priority cannot take over the active role.In the configuration of Switch1 we don’t see the “preempt” command configured.

Question 5

hostname Switch1
interface Vlan10
ip address 172.16.10.32 255.255.255.0
no ip redirects
standby 1 ip 172.16.10.110
standby 1 timers msec 200 msec 700
standby 1 preempt
hostname Switch2
interface Vlan10
ip address 172.16.10.33 255.255.255.0
no ip redirects
standby 1 ip 172.16.10.110
standby 1 timers msec 200 msec 750
standby 1 priority 110
standby 1 preempt
hostname Switch3
interface Vlan10
ip address 172.16.10.34 255.255.255.0
no ip redirects
standby 1 ip 172.16.10.110
standby 1 timers msec 200 msec 750
standby 1 priority 150
standby 1 preempt

Refer to the exhibit. Three switches are configured for HSRP. Switch1 remains in the HSRP listen state. What is the most likely cause of this status?

A. this is normal operation
B. standby group number does not match VLAN number
C. IP addressing is incorrect
D. incorrect priority commands
E. incorrect standby timers


Answer: A

Explanation

Only Switch 1 is not configured with the priority so it will have the default priority of 100, which is smaller than that of Switch2 (110) and Switch3 (150). Moreover, both Switch2 and Switch3 have the “preempt” command so surely Switch3 becomes active router while Switch2 becomes standby router -> Switch1 will be in listen state (Please read the explanation of question 2 to understand more about this state).

Question 6

What are three possible router states of HSRP routers on a LAN? (Choose three)

A. Standby
B. Established
C. Active
D. Idle
E. Backup
F. Init


Answer: A C F

Explanation

Same as Question 2

Question 7

Refer to the exhibit. Which configuration on the HSRP neighboring device ensures that it becomes the active HSRP device in the event that port fa1/1 on Switch_A goes down?

Switch_A(config-if)# ip address 10.10.10.1 255.255.255.0
Switch_A(config-if)# standby 1 priority 200
Switch_A(config-if)# standby 1 preempt
Switch_A(config-if)# standby 1 track interface fa 1/1
Switch_A(config-if)# standby 1 ip 10.10.10.10

A.
Switch_B(config-if)#ip address 10.10.10.2 255.255.255.0
Switch_B(config-if)#standby 1 priority 200
Switch_B(config-if)#standby 1 preempt
Switch_B(config-if)#standby 1 ip 10.10.10.10
Switch_B(config-if)#standby 1 track interface fa 1/1

B.
Switch_B(config-if)#ip address 10.10.10.2 255.255.255.0
Switch_B(config-if)#standby 1 priority 200
Switch_B(config-if)#standby 1 ip 10.10.10.10

C.
Switch_B(config-if)#ip address 10.10.10.2 255.255.255.0
Switch_B(config-if)#standby 1 priority 195
Switch_B(config-if)#standby 1 preempt
Switch_B(config-if)#standby 1 ip 10.10.10.10

D.
Switch_B(config-if)#ip address 10.10.10.2 255.255.255.0
Switch_B(config-if)#standby 1 priority 190
Switch_B(config-if)#standby 1 ip 10.10.10.10
Switch_B(config-if)#standby 1 track interface fa 1/1


Answer: C

Explanation

Switch_A is not configured standby track priority value so it will use the default track priority of 10 -> When Switch_A goes down, its priority is 200 – 10 = 190 so Switch_B must be configured with a priority higher than 190. Also Switch_B must have the “preempt” command configured to take over the active state -> C is correct.

Note: Answer A is not correct because Switch_B has the same priority value of Switch_A, but the Switch_B’s ip address on the HSRP interface is higher (10.10.10.2 is higher than 10.10.10.1) so Switch_B will take over the active state of Switch_A even when Switch_A is still operational.

Question 8

Which two statements about the HSRP priority are true? (Choose two)

A. To assign the HSRP router priority in a standby group, the standby group-number priority priority-value global configuration command must be used.
B. The default priority of a router is zero (0).
C. The no standby priority command assigns a priority of 100 to the router.
D. Assuming that preempting has also been configured, the router with the lowest priority in an HSRP group would become the active router.
E. When two routers in an HSRP standby group are configured with identical priorities, the router with the highest configured IP address will become the active router.


Answer: C E

Explanation

The “no standby priority” command will reset the priority to the default value (100) -> C is correct.

To understand answer E please read the explanation of Question 7.

Question 9

HSRP has been configured between two Company devices. Which of the following describe reasons for deploying HSRP? (Choose three)

A. HSRP provides redundancy and fault tolerance
B. HSRP allows one router to automatically assume the function of the second router if the second router fails
C. HSRP allows one router to automatically assume the function of the second router if the second router starts
D. HSRP provides redundancy and load balancing


Answer: A B D

Explanation

Answer A and B are correct because they are the functions of HSRP. I just want to mention about answer D. In fact answer D is not totally correct, in SWITCH only GLBP has the load-balancing feature. HSRP can only load-sharing by configuring some different HSRP groups. But answer D is the only choice left in this question so we have to choose it.

Question 10

Regarding high availability, with the MAC address 0000.0c07.ac03, what does the “03″ represent?

A. The GLBP group number
B. The type of encapsulation
C. The HSRP router number
D. The VRRP group number
E. The HSRP group number
F. The active router number


Answer: E

Explanation

The last two-digit hex value in the MAC address presents the HSRP group number.

Comments
  1. bandile
    June 21st, 2012

    Out of interest w.r.t Q7 answer D; If switch B had preemption enabled and Switch A’s tracked interface went down, would switch B assume the active role?

  2. certprepare
    June 23rd, 2012

    @bandile: Yes, if switch B had preemption enabled and Switch A’s tracked interface went down, switch B will take over the active role.

  3. engkattan
    June 24th, 2012

    Dear Admin,
    Q5, is there any effect of mis-matching of hold timer ?

  4. certprepare
    June 24th, 2012

    @engkattan: No, the hold time is only for local use.

  5. Mohammad Said
    June 24th, 2012

    Hi guys! I hope from you to visit my blog and I offer a free Cisco Learning Videos in CCNA and CCNP level. I cover many topics and Ideas to explain every thing about EIGRP,OSPF,RIP, Redistribution, Path control, and many topics it would be valuable for every one who wants to understand Cisco topics very well. Because passing the Exam is not every thing in Cisco, you need to understand what you are study!

    So I will be happy to visit my Blog to watch my videos and here is the Link:

    http://cisco-learning-video.blogspot.com/

    Every week I upload a new video with new Idea !

    Thank you :)

  6. engkattan
    June 24th, 2012

    @certprepare
    Hi, just now i did the test on cisco switches and i figure out that changing the timers (Hello and Hold) command will be accepted on all switches whatever their mode is (active, standby). but only the timers of the active device will be used.
    Example:
    SW-A: timers: Hello=5 sec, Hold=20 sec , mode standby
    SW-B: timers: Hello=7 sec, Hold=35 sec , mode active
    ==>>
    SW-B timers will be used even these timers are configued on both switches
    now if SW-A become Active then its timers will be used
    ============
    just test guys :)

  7. HungN
    July 20th, 2012

    Hi Guys,

    Seeing the answer right in front your eyes before making selection is annoying. So i grabs all of the questions on this site and put them into VCE file to make my life easier. Be sure to check back CertPrepare site regularly for updates.

    Here is the file: http://www.4shared.com/file/C5hmKPbb/CCNP_642-813_CertPrepare-by_Hu.html

    Best of luck !!!

  8. Ollie
    October 14th, 2012

    hello @Certprepare.
    I believe your note was meant to say.. Please see quotations were NOT should be added…
    Note: Answer A is not correct because Switch_B has the same priority value of Switch_A, but the Switch_B’s ip address on the HSRP interface is higher (10.10.10.2 is higher than 10.10.10.1) so Switch_B will “NOT” take over the active state of Switch_A even when Switch_A is still operational.

    Great work thanks.

  9. Toph
    October 23rd, 2012

    @Question 4: It says “After the two switches have finished rebooting”; so answer A would not appear to be correct. Correct answers I believe:

    D. premption is disabled
    E. incorrect standby timers

    The output shows that the default standby timers have been changed:

    standby 1 timers 1 5

    This switch sends hellos every 1 second will only wait 5 seconds before declaring the other switch dead. We dont know what the other router’s stanby timers are, but if the other Router’s ‘hello’ timer is >5 then, switch1 would be active; so incorrect timers could cause the issue – more likely than answer ‘A’, especially after the question says specifically that the switches have finished booting.

  10. Jozef
    October 23rd, 2012

    @Toph: regarding Question 4:

    No. The correct answers are A and D as marked above.

    The key is that the question does not say “After rebooting the Switch1 was Active and then changed status to Standby”. Instead, it simply says “After reboot the status was…”. And What might happen, that the Switch2 booted first, became Active and because of no preemt, it remained active. Exactly as said in the explanation.

    Another point of view: The timers are not incorrect, they are perfectly normal. They are the same on both Switches, as can bee seen in the configuration.

  11. Toph
    November 2nd, 2012

    Jozef – you are correct. Cisco wording got me again.

  12. bing
    December 24th, 2012

    In Question 8, why is the answer A is not choosen? I know C and E are the right answer but don’t know why A is wrong.

  13. Boone
    December 29th, 2012

    @bing
    I think A is wrong because of the word “global” in the answer.
    The command “standby group-number priority priority-value” is not a global command it is given in the interface-configuration.

  14. nati el mabhuh
    January 26th, 2013

    are those questions still valid? they do not appear in the latest vce file exams…

  15. Delios
    March 5th, 2013

    Q7: Why option D is not correct, also has preempt enable and priority is bigger than 190 (when A goes down).

  16. Zullu Jackson
    March 19th, 2013

    Delios,,,

    Answer D for Q7 cant be correct because its priority is 190 if switch A(priority 200) track interface down the priority(200-10=190) would be same for both switches

  17. Shadi
    April 9th, 2013

    guys regarding Question#7: I think answer A is better than C because it is suitable and work in the response of the question. the question is to make Switch_B the active, so with the configuration of answer A it will make it as Active, answer C is also correct. so, I think there are two answers to this Question as when i am practicing i answered this one and surprised with the answer C is correct with neglecting answer A. so please can you confirm?
    i am confused a little bit about this question.

  18. Shadi
    April 9th, 2013

    Hello again.. I tried the configuration of both answers A and C on GNS3and both worked for me, the difference was only when the down interface came up again, there will be a priority difference. so that when the priority is 195, Switch_A will regain the active state (priority will be 200) but when the priority used on Switch_B is 200, Switch_B will remain active because it has a higher IP address configured on its interface. but in the question case the interface kept in down state, so both answers will be correct.
    thanks…

  19. TechMom
    April 12th, 2013

    Nothing from this section was in test today.

  20. Anonymous
    April 17th, 2013

    Hi Guys, On question 5.
    I just saw on page 300 on the foundation book that the hello and hold timers must be identical on all the devices within the HSRP group.

  21. Bonner
    May 13th, 2013

    Hi Anonymous,

    I can also confirm you are right, Hello and hold timers must match.

  1. No trackbacks yet.
Add a Comment