QuestionQ96

Network

An engineer must configure HSRP redundancy using two Cisco Nexus Series Switches. HSRP must meet these requirements:

  • switch1 must retain the primary role if switch2 goes offline.
  • switch1 must retain the primary role until normal conditions are restored.
  • switch1 and switch2 must ensure that routing tables have converged before taking the active role.
  • switch2 must retain the primary role if the default gateway is unreachable.

The commands can be used more than once; not every command is used.

Drag & Drop
preempt delay minimum 30
track 100 decrement 200
track 200 decrement200
preempt sync 30
! switch1
track 100 ip route 0.0.0.0/0 reachability

interface ethernet 1/1
ip 209.165.200.226/27

hsrp 200
ip 209.165.200.225
priority 210


no shutdown

! switch2
track 100 ip route 0.0.0.0/0 reachability

interface ethernet 1/1
ip 209.165.200.227/27

hsrp 200
ip 209.165.200.225


no shutdown
Explanation

HSRP selects the member with the higher priority as active. Tracking the default route and decrementing priority by 200 makes a router with an unreachable default route lose the active role to its peer. The priority of 210 makes switch1 the normal active router. preempt delay minimum 30 enables preemption but delays it for 30 seconds, giving routing tables time to converge before the recovered, higher-priority router becomes active again. preempt sync instead controls the time that IP redundancy clients can block preemption.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!