CCNP Certification / BCMSN Test Tutorial: Getting going With HSRP
Outlined in RFC 2281, HSRP is a Cisco-proprietary protocol wherein routers are place into an HSRP router team. Together with dynamic routing protocols and STP, HSRP is considered a substantial-availability network support, due to the fact all 3 have an Just about immediate cutover to a secondary path when the main path is unavailable.
Among the routers will likely be selected as the main (“Active”, in HSRP terminology), Which primary will tackle the routing when the other routers are in standby, Completely ready to deal with the load if the key router will become unavailable. In this particular trend, HSRP assures a high network uptime, as it routes IP website traffic devoid of depending on an individual router.
The hosts making use of HSRP to be a gateway don’t know the particular IP or MAC addresses on the routers within the team. They’re speaking by using a pseudorouter, a “Digital router” created via the HSRP configuration. This virtual router should have a virtual MAC and IP adddress in addition.
The standby routers aren’t just gonna be sitting there, nevertheless! By configuring a number of HSRP groups on one interface, HSRP load balancing is usually realized.
Right before we reach the more Innovative HSRP configuration, we better receive a simple a single commenced! We’ll be utilizing a two-router topology listed here, and Remember the fact that 1 or the two of those routers may very well be multilayer switches also. For simplicity of reading through, I’m gonna confer with them only as routers.
R2 and R3 will both of those be configured to become in standby team 5. The virtual router may have an IP deal with of 172.twelve.23.10 /24. All hosts in VLAN a hundred should really use this tackle as their default gateway.
R2(config)#interface ethernet0
R2(config-if)#standby 5 ip 172.twelve.23.ten
R3(config)#interface ethernet0
R3(config-if)#standby 5 ip 172.12.23.ten
The demonstrate command for HSRP is present standby, and it’s the 1st command you need to operate even though configuring and troubleshooting HSRP. Allow’s operate it on equally routers and Review outcomes.
R2#display standby
Ethernet0 – Team 5
Neighborhood state is Standby, priority one hundred
Hellotime three sec, holdtime 10 sec
Future hi despatched in 0.776
Digital IP deal with is 172.twelve.23.10 configured
Energetic router is 172.12.23.three, precedence a hundred expires in 9.568
Standby router is regional
one state variations, very last condition change 00:00:22
R3#clearly show standby
Neighborhood point out is Energetic, precedence a hundred
Next hi sent in two.592
Energetic router is area
Standby router is 172.12.23.two expires in eight.020
Digital mac deal with is 0000.0c07.ac05
2 point out changes, last point out adjust 00:02:08
We could see that R3 has long been chosen as the Active router (“regional state is Energetic”), the virtual router’s IP is 172.12.23.ten, and R2 will be the standby router.
There are many HSRP values that you choose to’ll want to change on occasion. Let's say we wish R2 to become the Active router rather? Can we alter the MAC address in the Digital router? I’ll remedy Those people issues in another element of 토토검증 the HSRP tutorial!