CCNP Certification / BCMSN Test Tutorial: Getting Started With HSRP
Defined in RFC 2281, HSRP is really a Cisco-proprietary protocol in which routers are place into an HSRP router group. Together with dynamic routing protocols and STP, HSRP is considered a large-availability network company, given that all 3 have an Practically quick cutover to your secondary route when the key route is unavailable.
One of the routers might be picked as the primary (“Active”, in HSRP terminology), and that Major will handle the routing though the other routers are in standby, Prepared to manage the load if the main router turns into unavailable. Within this style, HSRP makes sure a high network uptime, as it routes IP website traffic devoid of counting on only one router.
The hosts using HSRP like a gateway don’t know the particular IP or MAC addresses of the routers inside the group. They’re communicating having a pseudorouter, a “Digital router” established by the HSRP configuration. This virtual router can have a Digital MAC and IP adddress as well.
The standby routers aren’t just destined to be sitting there, though! By configuring numerous HSRP groups on only one interface, HSRP load balancing is often reached.
Right before we get to the more Superior HSRP configuration, we superior have a primary one began! We’ll be using a two-router topology below, and Remember the fact that just one or equally of these routers may very well be multilayer switches in addition. For relieve of studying, I’m gonna make reference to them only as routers.
R2 and R3 will each be configured to become in standby group 5. The Digital router could have an IP handle of 172.twelve.23.ten /24. All hosts in VLAN one hundred should use this deal with as their default gateway.
R2(config)#interface ethernet0
R2(config-if)#standby five ip 172.twelve.23.ten
R3(config)#interface ethernet0
R3(config-if)#standby 5 ip 172.twelve.23.ten
The present command for HSRP is display standby, and it’s the main command you'll want to operate even though configuring and troubleshooting HSRP. Let’s run it on each routers and Look at final results.
R2#present standby
Ethernet0 – Group five
Local condition is Standby, precedence 100
Hellotime 3 sec, holdtime 10 sec
Upcoming hi there despatched in 0.776
Digital IP tackle is 172.twelve.23.ten configured
Energetic router is 172.12.23.three, priority one hundred expires in 9.568
Standby router is neighborhood
one condition adjustments, final condition modify 00:00:22
R3#clearly show standby
Regional state is Active, priority 100

Subsequent howdy sent in 2.592
Active router is regional
Standby router is 172.twelve.23.2 expires in eight.020
Virtual mac deal with is 0000.0c07.ac05
2 state modifications, past condition alter 00:02:08
We will see that R3 is picked because 토토사이트 the Lively router (“area point out is Lively”), the virtual router’s IP is 172.twelve.23.ten, and R2 may be the standby router.
There are a few HSRP values that you choose to’ll have to have to change every now and then. Let's say we want R2 for being the Lively router as an alternative? Can we alter the MAC handle of your Digital router? I’ll response those questions in the next part of this HSRP tutorial!