Cisco CCNP / BCMSN Exam Tutorial: Changing The Active Router In HSRP

 


Visitors: 367

To pass the BCMSN exam and earn your CCNP certification, you've got to know HSRP inside and out. While the operation and basic commands of HSRP are pretty simple, there are some important details that are easily overlooked but are vital in getting HSRP to work the way you want it to. Let's take a look at using the priority command correctly on both the exam and in production networks.

A key value in the show standby command is the priority. The default is 100, and the router with the highest priority will be the primary HSRP router. We'll raise the default priority on R2 and see the results. R3 is currently the Active router and R2 the standby, so let's raise the priority on R2 and see what happens.

R2(config)#interface ethernet0

R2(config-if)#standby 5 priority 150

R2#show standby

Ethernet0 - Group 5

Local state is Standby, priority 150

Hellotime 4 sec, holdtime 12 sec

Next hello sent in 0.896

Virtual IP address is 172.12.23.10 configured

Active router is 172.12.23.3, priority 100 expires in 8.072

Standby router is local

1 state changes, last state change 00:14:24

R2 now has a higher priority, but R3 is still the active router. R2 will not take over as the HSRP primary until R3 goes down - OR the preempt option is configured on R2.

R2(config-if)#standby 5 priority 150 preempt

1d11h: %STANDBY-6-STATECHANGE: Ethernet0 Group 5 state Standby -> Active

R2#show standby

Ethernet0 - Group 5

Local state is Active, priority 150, may preempt

Hellotime 4 sec, holdtime 12 sec

Next hello sent in 1.844

Virtual IP address is 172.12.23.10 configured

Active router is local

Standby router is 172.12.23.3 expires in 10.204

Virtual mac address is 0000.0c07. ac05

2 state changes, last state change 00:00:13

In just a few seconds, a message appears that the local state has changed from standby to active. Show standby confirms that R2, the local router, is now the active router - the primary. R3 is now the standby. So if anyone tells you that you have to take a router down to change the Active router, they're wrong - you just have to use the preempt option on the standby priority command.

Another vital part of HSRP configurations is knowing how to change the MAC address of the virtual router, as well as interface tracking. We'll look at those features in the next part of my HSRP tutorial!

Chris Bryant, CCIE #12933, is the owner of The Bryant Advantage, home of free CCNP and CCNA tutorials, The Ultimate CCNA Study Package, and Ultimate CCNP Study Packages.

You can also join his RSS feed and visit his blog, which is updated several times daily with new Cisco certification articles, free tutorials, and daily CCNA / CCNP exam questions! Details are on the website.

For a FREE copy of his latest e-books, “How To Pass The CCNA” and “How To Pass The CCNP”, just visit the website! You can also get FREE CCNA and CCNP exam questions every day! Get your CCNP certification with The Bryant Advantage!

(548)

Article Source:


 
Rate this Article: 
 
Cisco CCNP / BCMSN Exam Tutorial: Multicasting And Reserved Addresses
Rated 4 / 5
based on 5 votes
ArticleSlash

Related Articles:

Cisco CCNP / BCMSN Exam Tutorial: Changing Root Bridge Election Results

by: Chris Bryant (March 31, 2006) 
(Computers and Technology/Certification Tests)

CCNP Certification / BCMSN Exam Tutorial: Getting Started With HSRP

by: Chris Bryant (April 29, 2006) 
(Computers and Technology/Certification Tests)

Cisco CCNP / BCMSN Exam Tutorial: Switches, QoS, And Cisco's Networking Model

by: Chris Bryant (April 20, 2006) 
(Computers and Technology/Certification Tests)

Cisco CCNP / BCMSN Exam Tutorial: BPDU Skew Detection And Cisco Switches

by: Chris Bryant (April 07, 2006) 
(Computers and Technology/Certification Tests)

Cisco CCNP Certification / BSCI Exam Tutorial: Comparing IRDP And HSRP

by: Chris Bryant (April 24, 2006) 
(Computers and Technology/Certification Tests)

Cisco CCNP / BCMSN Exam Tutorial: Static VLANs

by: Chris Bryant (March 16, 2006) 
(Computers and Technology/Certification Tests)

Cisco CCNP Certification / BCMSN Exam Tutorial: Uplinkfast

by: Chris Bryant (April 08, 2006) 
(Computers and Technology/Certification Tests)

Cisco CCNP / BCMSN Exam Tutorial: Multicasting And The RPF Check

by: Chris Bryant (April 17, 2006) 
(Computers and Technology/Certification Tests)

Cisco CCNP / BCMSN Exam Tutorial: The Four (Or Five) STP Port States

by: Chris Bryant (April 03, 2006) 
(Computers and Technology/Certification Tests)

Cisco CCNP / BCMSN Exam Tutorial: Multicasting And Reserved Addresses

by: Chris Bryant (April 13, 2006) 
(Computers and Technology/Certification Tests)